public abstract class ServerSideFeature extends NodeFeature
For internal use only. May be renamed or removed in a future release.
| Constructor and Description |
|---|
ServerSideFeature(StateNode node)
Creates a new feature for the given node.
|
| Modifier and Type | Method and Description |
|---|---|
void |
collectChanges(Consumer<NodeChange> collector)
Collects all changes that are recorded for this feature.
|
void |
forEachChild(Consumer<StateNode> action)
Passes each child node instance to the given consumer.
|
void |
generateChangesFromEmpty()
Generates all changes that would be needed to take this node from its
initial empty state to its current state.
|
allowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttach, onDetachpublic ServerSideFeature(StateNode node)
node - the node which supports the featurepublic void collectChanges(Consumer<NodeChange> collector)
NodeFeaturecollectChanges in class NodeFeaturecollector - a consumer accepting node changespublic void generateChangesFromEmpty()
NodeFeaturegenerateChangesFromEmpty in class NodeFeaturepublic void forEachChild(Consumer<StateNode> action)
NodeFeatureforEachChild in class NodeFeatureaction - the consumer that accepts each childCopyright © 2025. All rights reserved.