Class MenuNode
java.lang.Object
com.inductiveautomation.factorypmi.application.script.MenuNode
- All Implemented Interfaces:
TreeNode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchildren()
boolean
getChildAt
(int index) int
int
getName()
void
insertChild
(int index, MenuNode child) boolean
isLeaf()
removeChild
(int index) void
setAccelerator
(KeystrokeKey accelerator) void
setChildren
(List<MenuNode> children) void
setDescription
(String description) void
setIconPath
(String iconPath) void
setMnemonic
(String mnemonic) void
void
-
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:
getChildAt
in interfaceTreeNode
-
getChildCount
public int getChildCount()- Specified by:
getChildCount
in interfaceTreeNode
-
getParent
-
getIndex
-
getAllowsChildren
public boolean getAllowsChildren()- Specified by:
getAllowsChildren
in interfaceTreeNode
-
children
-