public class SMYLDTreeNode extends SMYLDObject implements TreeNode, SMYLDMenuClass
| Modifier and Type | Field and Description |
|---|---|
boolean |
debug |
NEW_LINE, OS_NEW_LINE| Constructor and Description |
|---|
SMYLDTreeNode() |
SMYLDTreeNode(GUIAction itemAction) |
SMYLDTreeNode(GUIAction itemAction,
String ID) |
SMYLDTreeNode(GUIAction itemAction,
String ID,
String NodeLabel) |
SMYLDTreeNode(GUIAction itemAction,
String ID,
String NodeLabel,
ImageIcon NodeIcon) |
SMYLDTreeNode(String ID,
boolean AllowChildren,
String NodeLable) |
SMYLDTreeNode(String ID,
ImageIcon NodeIcon,
GUIAction itemAction) |
SMYLDTreeNode(String ID,
String NodeLable) |
SMYLDTreeNode(String ID,
String NodeLable,
ImageIcon NodeIcon) |
SMYLDTreeNode(String ID,
String NodeLable,
ImageIcon NodeIcon,
String Action) |
SMYLDTreeNode(String ID,
String NodeLable,
SMYLDObject UserObject) |
SMYLDTreeNode(String ID,
String NodeLable,
String tooltipText,
ImageIcon NodeIcon) |
debug, getLenName, insertInstanceValue, printInstanceValues, toStringpublic SMYLDTreeNode()
public SMYLDTreeNode(String ID, String NodeLable, SMYLDObject UserObject)
public SMYLDTreeNode(String ID, String NodeLable, String tooltipText, ImageIcon NodeIcon)
public SMYLDTreeNode(GUIAction itemAction)
public SMYLDTreeNode(GUIAction itemAction, String ID, String NodeLabel, ImageIcon NodeIcon)
public void add(SMYLDMenuClass menuClass)
public int add(SMYLDTreeNode newChildNode)
public void insertNodeInto(SMYLDTreeNode newChildNode, int index)
public TreeNode[] getPathToRoot()
public void setPopupMenu(SMYLDPopupMenu menu)
public TreeNode getChildAt(int childIndex)
getChildAt in interface TreeNodepublic int getChildCount()
getChildCount in interface TreeNodepublic boolean getAllowsChildren()
getAllowsChildren in interface TreeNodepublic ImageIcon getNodeImage()
public void setNodeImage(ImageIcon NodeIcon)
public String getText()
getText in interface SMYLDMenuClasspublic void setText(String newLabel)
setText in interface SMYLDMenuClasspublic void remove(int childIndex)
public void removeChildren()
public Enumeration<SMYLDTreeNode> children()
public String getNodeID()
public void setNodeID(String nodeID)
public SMYLDLabel getGuiItem()
public String getActionCommand()
public SMYLDPopupMenu getPopupMenu()
public void setActionCommand(String newActionCommand)
public boolean isVisible()
public void setVisible(boolean newVisible)
public void applyComponentOrientation(ComponentOrientation o)
applyComponentOrientation in interface SMYLDMenuClasspublic HashMap<String,SMYLDTreeNode> getChildrenByLabel()
public TreeNode getChildAt(int index, boolean filterIsActive)
public int getChildCount(boolean filterIsActive)
public GUIAction getGUIAction()
getGUIAction in interface ActionHandlegetGUIAction in interface SMYLDMenuClasspublic void setIcon(ImageIcon nodeIcon)
setIcon in interface SMYLDMenuClasspublic ImageIcon getIcon()
public boolean isEnabled()
public void setEnabled(boolean enabled)
setEnabled in interface SMYLDMenuClasspublic String getToolTipText()
public void setTooltipText(String toolTipText)
setTooltipText in interface SMYLDMenuClasspublic void setParent(SMYLDTreeNode parent)
public int getLevel()
public void setLevel(int level)
public Object getUserObject()
public void setUserObject(Object userObject)
public SMYLDTreeModel getModel()
public void setModel(SMYLDTreeModel model)
public void setGUIAction(GUIAction newAction)
setGUIAction in interface SMYLDMenuClasspublic JMenuItem getParentClass()
getParentClass in interface SMYLDMenuClasspublic SMYLDButton getToolbarButton()
getToolbarButton in interface SMYLDMenuClasspublic void setAccelerator(String newAccelerator)
setAccelerator in interface SMYLDMenuClasspublic void setActionListener(ActionHandler Handler)
setActionListener in interface ActionHandlesetActionListener in interface SMYLDMenuClasspublic void setToolbarButton(String lable, ImageIcon toolbarIcon)
setToolbarButton in interface SMYLDMenuClasspublic void setToolbarIcon(ImageIcon toolbarIcon)
setToolbarIcon in interface SMYLDMenuClassCopyright © 2019 com.github.mfjamil. All rights reserved.