Package xal.tools.apputils.pvselection
Class PVTreeNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
xal.tools.apputils.pvselection.PVTreeNode
- All Implemented Interfaces:
Serializable,Cloneable,MutableTreeNode,TreeNode
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final Stringstatic final intstatic final Stringstatic final intstatic final Stringstatic final intstatic final Stringstatic final intstatic final StringFields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetColor()static IntegergetName()static intintstatic PVTreeNodebooleanbooleanisPVName()booleanbooleanbooleanvoidvoidsetAsPVName(boolean itIsPVName) voidsetChannel(Channel channel) voidsetCheckBoxVisible(boolean showCheckBox) voidvoidsetCreateRemoveListener(ActionListener createRemoveListener) voidvoidsetPVNamesAllowed(boolean pvNamesAllowed) voidsetPVNumberLimit(int limit) voidsetRenameListener(ActionListener renameListener) voidsetSelected(boolean itIsSelected) voidsetSwitchedOn(boolean itIsSwitchedOn) voidsetSwitchedOnOffListener(ActionListener switchOnOffListener) Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, 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, toString
-
Field Details
-
SWITCHED_ON
public static final int SWITCHED_ON- See Also:
-
SWITCHED_OFF
public static final int SWITCHED_OFF- See Also:
-
SWITCHED_ON_COMMAND
- See Also:
-
SWITCHED_OFF_COMMAND
- See Also:
-
CREATE_PV
public static final int CREATE_PV- See Also:
-
REMOVE_PV
public static final int REMOVE_PV- See Also:
-
CREATE_PV_COMMAND
- See Also:
-
REMOVE_PV_COMMAND
- See Also:
-
RENAME_PV
public static final int RENAME_PV- See Also:
-
RENAME_PV_COMMAND
- See Also:
-
-
Constructor Details
-
PVTreeNode
public PVTreeNode() -
PVTreeNode
-
-
Method Details
-
setName
-
getOldName
-
getName
-
setColor
-
getColor
-
isPVName
public boolean isPVName() -
setAsPVName
public void setAsPVName(boolean itIsPVName) -
isPVNamesAllowed
public boolean isPVNamesAllowed() -
setPVNamesAllowed
public void setPVNamesAllowed(boolean pvNamesAllowed) -
setPVNumberLimit
public void setPVNumberLimit(int limit) -
getPVNumberLimit
public int getPVNumberLimit() -
isSwitchedOn
public boolean isSwitchedOn() -
setSwitchedOnOffListener
-
getSwitchedOnOffListener
-
setSwitchedOn
public void setSwitchedOn(boolean itIsSwitchedOn) -
setCheckBoxVisible
public void setCheckBoxVisible(boolean showCheckBox) -
isCheckBoxVisible
public boolean isCheckBoxVisible() -
setCreateRemoveListener
-
getCreateRemoveListener
-
creatingOccurred
public void creatingOccurred() -
removingOccurred
public void removingOccurred() -
setRenameListener
-
getRenameListener
-
isSelected
public boolean isSelected() -
setSelected
public void setSelected(boolean itIsSelected) -
getNumberOfSelectedNodes
-
getIndexOfSelectedNode
-
getSelectedPVTreeNode
-
getChannel
-
setChannel
-