Navigable.NavigableComparatorBOLD, DEFAULT_CHILD_COMPARATOR_KEY, ITALIC, NAVIGABLE_COMPARATOR, PLAIN| Modifier | Constructor and Description |
|---|---|
protected |
DetailNavigable(java.lang.String shortLabel) |
|
DetailNavigable(java.lang.String shortLabel,
java.lang.Class traversableClass) |
|
DetailNavigable(java.lang.String shortLabel,
java.lang.Class traversableClass,
java.lang.Class[] constructorArgTypes,
java.lang.Object[] constructorArgs,
Navigable[] childNavigables) |
|
DetailNavigable(java.lang.String shortLabel,
java.lang.Class traversableClass,
Navigable[] childNavigables) |
| Modifier and Type | Method and Description |
|---|---|
protected Navigable[] |
getChildNavigables()
By default, this returns the child
Navigables that were
set when this DefaultNavigable was constructed. |
protected Navigable[] |
getDetailNavigables()
Returns
null by default. |
addChildNavigable, appendChildNavigables, appendChildNodes, appendDetailNavigables, copyTo, copyToImpl, createDetailRootNode, createTreeNode, createTreeNodeImpl, getChildComparator, getChildren, getDisplayStyle, getIcon, getLongLabel, getRawShortLabel, getShortLabel, getToolTipText, includeInDefault, mayHaveChildren, setChildComparator, setChildNavigables, setDataScope, setDisplayStyle, setShortLabel, sortNavigables, toStringcopyToImpl, findHelpID, getTraversableClass, isUsingTraversableDefaultConstructor, newTraversable, newTraversable, setHelpID, setNameLinkprotected DetailNavigable(java.lang.String shortLabel)
public DetailNavigable(java.lang.String shortLabel,
java.lang.Class traversableClass)
public DetailNavigable(java.lang.String shortLabel,
java.lang.Class traversableClass,
Navigable[] childNavigables)
public DetailNavigable(java.lang.String shortLabel,
java.lang.Class traversableClass,
java.lang.Class[] constructorArgTypes,
java.lang.Object[] constructorArgs,
Navigable[] childNavigables)
protected Navigable[] getChildNavigables()
NavigableNavigables that were
set when this DefaultNavigable was constructed.
Subclasses can override this method to specify a custom list of
children. The result of this method is used by
appendChildNavigables(...) to append
child nodes.getChildNavigables in class NavigableNavigables of this
Navigable.protected Navigable[] getDetailNavigables()
Navigablenull by default. Subclasses should override
this method in order to specify a list of detail Navigables. The result of this method is used by Navigable.appendDetailNavigables(DefaultMutableTreeNode,
NavigableContext) to append detail nodes.getDetailNavigables in class NavigableNavigables representing the
detail for this Navigable. Detail nodes are
uncommonly used, so in order to specify detail nodes, a subclass
must override this method's implementation in order to provide
a return value other than null.