Class AbstractNode<T>

    • Field Detail

      • object

        protected final T object
        Business object behind this node (model)
      • id

        protected String id
        Business object id
      • className

        protected String className
        Business object class name
      • displayName

        protected String displayName
        Node's displayName. If null, the toString method of the business object will be used
      • name

        protected String name
        Business object name
      • selected

        protected boolean selected
      • expanded

        protected boolean expanded
      • iconUrl

        protected String iconUrl
        Used in nodes that use static images
    • Constructor Detail

      • AbstractNode

        public AbstractNode()
    • Method Detail

      • getActions

        public abstract AbstractAction[] getActions()
        Actions associated to this node
        Returns:
        An array of actions
      • refresh

        public abstract void refresh​(boolean recursive)
        What to do when commanded to refresh the node.
        Parameters:
        recursive - Refresh the children nodes.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object