Class IconTreeNode

java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
com.lowagie.rups.view.icons.IconTreeNode
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode
Direct Known Subclasses:
FormTreeNode, OutlineTreeNode, PdfObjectTreeNode, XdpTreeNode

public class IconTreeNode extends DefaultMutableTreeNode
A tree node with a specific icon.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      A Serial Version UID.
      See Also:
    • icon

      protected Icon icon
      The icon that has to be used for this TreeNode.
  • Constructor Details

    • IconTreeNode

      public IconTreeNode(String icon)
      Constructs an IconTreeNode.
      Parameters:
      icon - the filename of the icon to use for this node.
    • IconTreeNode

      public IconTreeNode(String icon, Object userobject)
      Constructs an IconTreeNode.
      Parameters:
      icon - the filename of the icon to use for this node.
      userobject - the userobject for this node
  • Method Details

    • getIcon

      public Icon getIcon()
      Getter for the icon.
      Returns:
      the icon