Class MenuNode
java.lang.Object
com.inductiveautomation.factorypmi.application.script.MenuNode
- All Implemented Interfaces:
TreeNode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchildren()booleangetChildAt(int index) intintgetName()voidinsertChild(int index, MenuNode child) booleanisLeaf()removeChild(int index) voidsetAccelerator(KeystrokeKey accelerator) voidsetChildren(List<MenuNode> children) voidsetDescription(String description) voidsetIconPath(String iconPath) voidsetMnemonic(String mnemonic) voidvoid
-
Constructor Details
-
MenuNode
public MenuNode() -
MenuNode
-
MenuNode
-
-
Method Details
-
insertChild
-
removeChild
-
getChildren
-
setChildren
-
getDescription
-
setDescription
-
getIconPath
-
setIconPath
-
getName
-
setName
-
getScript
-
setScript
-
getMnemonic
-
setMnemonic
-
getAccelerator
-
setAccelerator
-
isLeaf
public boolean isLeaf() -
getChildAt
- Specified by:
getChildAtin interfaceTreeNode
-
getChildCount
public int getChildCount()- Specified by:
getChildCountin interfaceTreeNode
-
getParent
-
getIndex
-
getAllowsChildren
public boolean getAllowsChildren()- Specified by:
getAllowsChildrenin interfaceTreeNode
-
children
-