public interface AstObserver
Modifier and Type | Interface and Description |
---|---|
static class |
AstObserver.ListChangeType
Type of change occurring on a List
|
Modifier and Type | Method and Description |
---|---|
void |
listChange(NodeList<?> observedNode,
AstObserver.ListChangeType type,
int index,
Node nodeAddedOrRemoved)
A list is changed
|
void |
listReplacement(NodeList<?> observedNode,
int index,
Node oldNode,
Node newNode) |
void |
parentChange(Node observedNode,
Node previousParent,
Node newParent)
The parent of a node is changed
|
void |
propertyChange(Node observedNode,
ObservableProperty property,
Object oldValue,
Object newValue)
The value of a property is changed
|
void propertyChange(Node observedNode, ObservableProperty property, Object oldValue, Object newValue)
observedNode
- owner of the propertyproperty
- property changedoldValue
- value of the property before the changenewValue
- value of the property after the changevoid parentChange(Node observedNode, Node previousParent, Node newParent)
observedNode
- node of which the parent is changedpreviousParent
- previous parentnewParent
- new parentvoid listChange(NodeList<?> observedNode, AstObserver.ListChangeType type, int index, Node nodeAddedOrRemoved)
observedNode
- list changedtype
- type of changeindex
- position at which the changed occurrednodeAddedOrRemoved
- element added or removedCopyright © 2007–2020. All rights reserved.