Interface RenderableTreeNode
-
- All Superinterfaces:
javax.swing.tree.TreeNode
- All Known Subinterfaces:
OPCTreeNode
- All Known Implementing Classes:
AbstractErrorNode,AbstractLoadingNode,AbstractOPCTreeNode,DefaultErrorNode,DefaultLoadingNode,ErrorNode,HistoricalProvidersNode.HistoricalBrowseResultNode,LoadingNode,OPCFolderNode
public interface RenderableTreeNode extends javax.swing.tree.TreeNodeA subinterface of TreeNode that adds some information to help it render. The main text of the node will be obtained through the toString() function. Note that the tree's renderer must be aBasicRendererin order for this to mean anything.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetFontStyle()A bitmask of Font.BOLD, Font.NORMAL, Font.ITALIC to specify the font style of the nodejava.lang.ObjectgetIconKey()Return a hashable key to specify this node's iconjava.lang.StringgetTooltipText()A tooltip (may be null) for the node
-
-
-
Method Detail
-
getIconKey
java.lang.Object getIconKey()
Return a hashable key to specify this node's icon
-
getFontStyle
int getFontStyle()
A bitmask of Font.BOLD, Font.NORMAL, Font.ITALIC to specify the font style of the node
-
getTooltipText
java.lang.String getTooltipText()
A tooltip (may be null) for the node
-
-