Interface BrickListener

All Known Subinterfaces:
ViewNodeContainer, ViewNodeListener
All Known Implementing Classes:
RootBrick, ViewNode

public interface BrickListener
processor of view node events
  • Method Details

    • nodesAdded

      void nodesAdded(Object source, Brick container, List<BeanNode<?>> nodes)
      Handle the event in which nodes have been added to a container
      Parameters:
      source - the source of the event
      container - the node to which nodes have been added
      nodes - the nodes which have been added
    • nodesRemoved

      void nodesRemoved(Object source, Brick container, List<BeanNode<?>> nodes)
      Handle the event in which nodes have been removed from a container
      Parameters:
      source - the source of the event
      container - the node from which nodes have been removed
      nodes - the nodes which have been removed
    • propertyChanged

      void propertyChanged(BeanNode<?> node, PropertyDescriptor propertyDescriptor, Object value)
      Handle the event in which a bean's property has been changed
      Parameters:
      node - the node whose property has changed
      propertyDescriptor - the property which has changed
      value - the new value
    • treeNeedsRefresh

      void treeNeedsRefresh(Object source, Brick brick)
      Handle the event in which a brick's tree path needs refresh
      Parameters:
      source - the source of the event
      brick - the brick at which the refresh needs to be done