Navigable.NavigableComparator
BOLD, 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
Navigable s 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, toString
copyToImpl, findHelpID, getTraversableClass, isUsingTraversableDefaultConstructor, newTraversable, newTraversable, setHelpID, setNameLink
protected 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()
Navigable
Navigable
s 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 Navigable
Navigable
s of this
Navigable
.protected Navigable[] getDetailNavigables()
Navigable
null
by default. Subclasses should override
this method in order to specify a list of detail Navigable
s. The result of this method is used by Navigable.appendDetailNavigables(DefaultMutableTreeNode,
NavigableContext)
to append detail nodes.getDetailNavigables
in class Navigable
Navigables
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
.