java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
repast.simphony.dataLoader.ui.wizard.builder.CheckNode
All Implemented Interfaces:
Serializable, Cloneable, Comparable, MutableTreeNode, TreeNode
Direct Known Subclasses:
AgentLayerCheckNode, NetworkCheckNode

public abstract class CheckNode extends DefaultMutableTreeNode implements Comparable
Tree node with a selected checkbox like quality.
Version:
$Revision: 1.1 $ $Date: 2006/01/06 22:24:11 $
Author:
Nick Collier
See Also:
  • Field Details

    • NO_CHILDREN

      public static final int NO_CHILDREN
      See Also:
    • ALL_SELECTED

      public static final int ALL_SELECTED
      See Also:
    • ALL_DESELECTED

      public static final int ALL_DESELECTED
      See Also:
    • MIXED

      public static final int MIXED
      See Also:
    • isSelected

      protected boolean isSelected
    • cascadeSelection

      protected boolean cascadeSelection
  • Constructor Details

    • CheckNode

      public CheckNode(String title, org.piccolo2d.PLayer layer, boolean isSelected)
  • Method Details

    • isCascadeSelection

      public boolean isCascadeSelection()
    • setCascadeSelection

      public void setCascadeSelection(boolean cascadeSelection)
    • isSelected

      public boolean isSelected()
    • getTreeState

      public CheckNode.State getTreeState()
    • setSelected

      public void setSelected(boolean selected)
    • sort

      public void sort(Comparator comparator)
    • compareTo

      public int compareTo(Object o)
      Specified by:
      compareTo in interface Comparable
    • getLayer

      public org.piccolo2d.PLayer getLayer()
    • getIcon

      public abstract Icon getIcon()