Class FWTreeNode

All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode
Direct Known Subclasses:
FWKeyWordTreeNode, FWResultTreeNode, FWSimComponentsTreeNode

public class FWTreeNode extends DefaultMutableTreeNode
Author:
Andreas Enders
See Also:
  • Constructor Details

    • FWTreeNode

      public FWTreeNode(String aID, String aIconID, String aFunction, String aUserGroup, String aPopupImageID)
      Parameters:
      aToolTipText -
      aText -
      aIconID -
    • FWTreeNode

      public FWTreeNode(String aID, String aCaption, String aToolTip, String aIconID, String aFunction, String aUserGroup, String aPopupImageID)
      Parameters:
      aToolTipText -
      aText -
      aIconID -
  • Method Details

    • getIcon

      public ImageIcon getIcon()
      Returns:
      the icon of the treenode
    • getText

      public String getText()
      Returns:
      the Text
    • getToolTipText

      public String getToolTipText()
      Returns:
      the toolTipText
    • getID

      public String getID()
      Returns:
      the id
    • getUserGroup

      public String getUserGroup()
      Returns:
      the Usergroup
    • getFunction

      public String getFunction()
      Returns:
      the function
    • isNodeStartable

      public boolean isNodeStartable()
      Returns:
      if node is startable
    • isPopupPossible

      public boolean isPopupPossible()
      Returns:
      if popup is allowed at this place.
    • getPopupImage

      public ImageIcon getPopupImage()
      Returns:
      Icon used for Popup
    • toString

      public String toString()
      Overrides:
      toString in class DefaultMutableTreeNode
    • insert

      public void insert(MutableTreeNode aNewChild, int aChildIndex)
      Specified by:
      insert in interface MutableTreeNode
      Overrides:
      insert in class DefaultMutableTreeNode