All Implemented Interfaces:
ItemAddedListener<Node>, ItemRemovedListener<Node>, NodeAttachListener, NodeDetachListener, NodeRenameListener, SceneChangeListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

NodeTreeView is a panel that displays the tree of nodes in the Registry scene.
See Also:
  • Constructor Details

    • NodeTreeView

      public NodeTreeView()
  • Method Details

    • addNotify

      public void addNotify()
      Overrides:
      addNotify in class JComponent
    • removeNotify

      public void removeNotify()
      Overrides:
      removeNotify in class JComponent
    • scanTree

      public void scanTree(Node toScan)
      Scan the tree for existing nodes.
      Parameters:
      toScan - the node to scan
    • nodeAttached

      public void nodeAttached(Node child)
      Description copied from interface: NodeAttachListener
      Called when parent gains a new child.
      Specified by:
      nodeAttached in interface NodeAttachListener
      Parameters:
      child - the Node that was attached
    • nodeDetached

      public void nodeDetached(Node child)
      Description copied from interface: NodeDetachListener
      Called when a parent node has a child removed.
      Specified by:
      nodeDetached in interface NodeDetachListener
      Parameters:
      child - the node that was removed
    • nodeRenamed

      public void nodeRenamed(Node source)
      Description copied from interface: NodeRenameListener
      Called when a node is renamed.
      Specified by:
      nodeRenamed in interface NodeRenameListener
      Parameters:
      source - the node that was renamed
    • beforeSceneChange

      public void beforeSceneChange(Node oldScene)
      Description copied from interface: SceneChangeListener
      Called before the scene changes. This is a good time to unregister listeners.
      Specified by:
      beforeSceneChange in interface SceneChangeListener
      Parameters:
      oldScene - the scene that is about to be replaced.
    • afterSceneChange

      public void afterSceneChange(Node newScene)
      Description copied from interface: SceneChangeListener
      Called after the scene changes. This is a good time to register listeners.
      Specified by:
      afterSceneChange in interface SceneChangeListener
      Parameters:
      newScene - the scene that has just been added.
    • itemAdded

      public void itemAdded(Object source, Node item)
      Called when an item is added to the selection.
      Specified by:
      itemAdded in interface ItemAddedListener<Node>
      Parameters:
      source - the list that was modified
      item - the item that was added
    • itemRemoved

      public void itemRemoved(Object source, Node item)
      Called when an item is removed from the selection.
      Specified by:
      itemRemoved in interface ItemRemovedListener<Node>
      Parameters:
      source - the list that was modified
      item - the item that was removed