Package xal.extension.bricks
Interface BrickListener
- All Known Subinterfaces:
ViewNodeContainer
,ViewNodeListener
public interface BrickListener
processor of view node events
-
Method Summary
Modifier and TypeMethodDescriptionvoid
nodesAdded
(Object source, Brick container, List<BeanNode<?>> nodes) Handle the event in which nodes have been added to a containervoid
nodesRemoved
(Object source, Brick container, List<BeanNode<?>> nodes) Handle the event in which nodes have been removed from a containervoid
propertyChanged
(BeanNode<?> node, PropertyDescriptor propertyDescriptor, Object value) Handle the event in which a bean's property has been changedvoid
treeNeedsRefresh
(Object source, Brick brick) Handle the event in which a brick's tree path needs refresh
-
Method Details
-
nodesAdded
Handle the event in which nodes have been added to a container- Parameters:
source
- the source of the eventcontainer
- the node to which nodes have been addednodes
- the nodes which have been added
-
nodesRemoved
Handle the event in which nodes have been removed from a container- Parameters:
source
- the source of the eventcontainer
- the node from which nodes have been removednodes
- the nodes which have been removed
-
propertyChanged
Handle the event in which a bean's property has been changed- Parameters:
node
- the node whose property has changedpropertyDescriptor
- the property which has changedvalue
- the new value
-
treeNeedsRefresh
Handle the event in which a brick's tree path needs refresh- Parameters:
source
- the source of the eventbrick
- the brick at which the refresh needs to be done
-