Class SelectFilesTreeCheckNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
org.gvsig.installer.swing.impl.creation.model.SelectFilesTreeCheckNode
- All Implemented Interfaces:
Serializable,Cloneable,MutableTreeNode,TreeNode
- Author:
- Jorge Piera Llodrá
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprotected booleanprotected intstatic final intFields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject -
Constructor Summary
ConstructorsConstructorDescriptionSelectFilesTreeCheckNode(File file) SelectFilesTreeCheckNode(File file, boolean allowsChildren, boolean isSelected) -
Method Summary
Modifier and TypeMethodDescriptiongetChildAt(int index) intgetFile()intbooleanisFile()booleanvoidsetSelected(boolean isSelected) voidsetSelectionMode(int mode) toString()Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
-
Field Details
-
SINGLE_SELECTION
public static final int SINGLE_SELECTION- See Also:
-
DIG_IN_SELECTION
public static final int DIG_IN_SELECTION- See Also:
-
selectionMode
protected int selectionMode -
isSelected
protected boolean isSelected
-
-
Constructor Details
-
SelectFilesTreeCheckNode
-
SelectFilesTreeCheckNode
-
-
Method Details
-
setSelectionMode
public void setSelectionMode(int mode) -
getSelectionMode
public int getSelectionMode() -
setSelected
public void setSelected(boolean isSelected) -
isSelected
public boolean isSelected() -
isFile
public boolean isFile() -
getChildAt
- Specified by:
getChildAtin interfaceTreeNode- Overrides:
getChildAtin classDefaultMutableTreeNode
-
getChildCount
public int getChildCount()- Specified by:
getChildCountin interfaceTreeNode- Overrides:
getChildCountin classDefaultMutableTreeNode
-
getFile
- Returns:
- the file
-
toString
- Overrides:
toStringin classDefaultMutableTreeNode
-