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 int
static final String
static final int
static final String
static final int
static final String
static final int
static final String
static final int
static final String
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getColor()
static Integer
getName()
static int
int
static PVTreeNode
boolean
boolean
isPVName()
boolean
boolean
boolean
void
void
setAsPVName
(boolean itIsPVName) void
setChannel
(Channel channel) void
setCheckBoxVisible
(boolean showCheckBox) void
void
setCreateRemoveListener
(ActionListener createRemoveListener) void
void
setPVNamesAllowed
(boolean pvNamesAllowed) void
setPVNumberLimit
(int limit) void
setRenameListener
(ActionListener renameListener) void
setSelected
(boolean itIsSelected) void
setSwitchedOn
(boolean itIsSwitchedOn) void
setSwitchedOnOffListener
(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
-