All Implemented Interfaces:
ItemAddedListener<Node>, ItemRemovedListener<Node>, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class NodeDetailView extends App implements ItemAddedListener<Node>, ItemRemovedListener<Node>
NodeDetailView is a panel that displays the details of a class that implements Node.
See Also:
  • Field Details

  • Constructor Details

    • NodeDetailView

      public NodeDetailView()
  • Method Details

    • selectionChanged

      public void selectionChanged(List<Node> selectedNodes)
      Called when the selection changes. See layout fix
      Parameters:
      selectedNodes - the list of nodes that are currently selected.
    • addNotify

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

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

      public void itemAdded(Object source, Node item)
      Description copied from interface: ItemAddedListener
      Called when an item is added to the list.
      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)
      Description copied from interface: ItemRemovedListener
      Called when an item is removed from the list.
      Specified by:
      itemRemoved in interface ItemRemovedListener<Node>
      Parameters:
      source - the list that was modified
      item - the item that was removed