Class JDialogVOIHausdorffDistance.JPanelAddRemoveVOI

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, TreeSelectionListener
Enclosing class:
JDialogVOIHausdorffDistance

public class JDialogVOIHausdorffDistance.JPanelAddRemoveVOI extends JPanelTreeController
controllas the lists between left and right side.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Use serialVersionUID for interoperability.
      See Also:
  • Constructor Details

    • JPanelAddRemoveVOI

      JPanelAddRemoveVOI()
      Sets the Add/Remove VOI panel to Y-Axis layout and with images.
  • Method Details

    • copySelected

      protected void copySelected(JTree a, JTree b)
      Description copied from class: JPanelTreeController
      Copies the selected items in tree A and appends them to tree B. The selected items in tree A are then de-selected.
      Overrides:
      copySelected in class JPanelTreeController
      Parameters:
      a - the source tree.
      b - the destination tree.
    • deleteFrom

      protected void deleteFrom(JTree tree)
      Description copied from class: JPanelTreeController
      Removes all selected items in the given tree.
      Overrides:
      deleteFrom in class JPanelTreeController
      Parameters:
      tree - The tree of items.
    • copyAllToRight

      private void copyAllToRight()
    • actionPerformed

      public void actionPerformed(ActionEvent ae)
      Checks if all super's action commands are used, and ensures that the delete button removes items from listB, and that duplicate items in listB are not repeated.
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class JPanelTreeController
      Parameters:
      ae - DOCUMENT ME!