Class MenuNode
- java.lang.Object
- 
- com.inductiveautomation.factorypmi.application.script.MenuNode
 
- 
- All Implemented Interfaces:
- javax.swing.tree.TreeNode
 
 public class MenuNode extends java.lang.Object implements javax.swing.tree.TreeNode
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Enumerationchildren()KeystrokeKeygetAccelerator()booleangetAllowsChildren()javax.swing.tree.TreeNodegetChildAt(int index)intgetChildCount()java.util.List<MenuNode>getChildren()java.lang.StringgetDescription()java.lang.StringgetIconPath()intgetIndex(javax.swing.tree.TreeNode child)java.lang.StringgetMnemonic()java.lang.StringgetName()javax.swing.tree.TreeNodegetParent()java.lang.StringgetScript()voidinsertChild(int index, MenuNode child)booleanisLeaf()MenuNoderemoveChild(int index)voidsetAccelerator(KeystrokeKey accelerator)voidsetChildren(java.util.List<MenuNode> children)voidsetDescription(java.lang.String description)voidsetIconPath(java.lang.String iconPath)voidsetMnemonic(java.lang.String mnemonic)voidsetName(java.lang.String name)voidsetScript(java.lang.String script)
 
- 
- 
- 
Constructor Detail- 
MenuNodepublic MenuNode() 
 - 
MenuNodepublic MenuNode(java.lang.String name) 
 - 
MenuNodepublic MenuNode(MenuNode toCopy) 
 
- 
 - 
Method Detail- 
insertChildpublic void insertChild(int index, MenuNode child)
 - 
removeChildpublic MenuNode removeChild(int index) 
 - 
getChildrenpublic java.util.List<MenuNode> getChildren() 
 - 
setChildrenpublic void setChildren(java.util.List<MenuNode> children) 
 - 
getDescriptionpublic java.lang.String getDescription() 
 - 
setDescriptionpublic void setDescription(java.lang.String description) 
 - 
getIconPathpublic java.lang.String getIconPath() 
 - 
setIconPathpublic void setIconPath(java.lang.String iconPath) 
 - 
getNamepublic java.lang.String getName() 
 - 
setNamepublic void setName(java.lang.String name) 
 - 
getScriptpublic java.lang.String getScript() 
 - 
setScriptpublic void setScript(java.lang.String script) 
 - 
getMnemonicpublic java.lang.String getMnemonic() 
 - 
setMnemonicpublic void setMnemonic(java.lang.String mnemonic) 
 - 
getAcceleratorpublic KeystrokeKey getAccelerator() 
 - 
setAcceleratorpublic void setAccelerator(KeystrokeKey accelerator) 
 - 
isLeafpublic boolean isLeaf() - Specified by:
- isLeafin interface- javax.swing.tree.TreeNode
 
 - 
getChildAtpublic javax.swing.tree.TreeNode getChildAt(int index) - Specified by:
- getChildAtin interface- javax.swing.tree.TreeNode
 
 - 
getChildCountpublic int getChildCount() - Specified by:
- getChildCountin interface- javax.swing.tree.TreeNode
 
 - 
getParentpublic javax.swing.tree.TreeNode getParent() - Specified by:
- getParentin interface- javax.swing.tree.TreeNode
 
 - 
getIndexpublic int getIndex(javax.swing.tree.TreeNode child) - Specified by:
- getIndexin interface- javax.swing.tree.TreeNode
 
 - 
getAllowsChildrenpublic boolean getAllowsChildren() - Specified by:
- getAllowsChildrenin interface- javax.swing.tree.TreeNode
 
 - 
childrenpublic java.util.Enumeration children() - Specified by:
- childrenin interface- javax.swing.tree.TreeNode
 
 
- 
 
-