oracle.ide.panels
Class DetailNavigable
java.lang.Object
oracle.ide.panels.MetaTraversable
oracle.ide.panels.Navigable
oracle.ide.panels.DetailNavigable
- All Implemented Interfaces:
- Copyable, Displayable
- public class DetailNavigable
- extends Navigable
Constructor Summary |
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)
|
Methods inherited from class oracle.ide.panels.Navigable |
addChildNavigable, appendChildNavigables, appendChildNodes, appendDetailNavigables, copyTo, copyToImpl, createDetailRootNode, createTreeNode, createTreeNodeImpl, getChildComparator, getDisplayStyle, getIcon, getLongLabel, getShortLabel, getToolTipText, mayHaveChildren, setChildComparator, setChildNavigables, setDataScope, setDisplayStyle, setShortLabel, sortNavigables, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DetailNavigable
protected DetailNavigable(java.lang.String shortLabel)
DetailNavigable
public DetailNavigable(java.lang.String shortLabel,
java.lang.Class traversableClass)
DetailNavigable
public DetailNavigable(java.lang.String shortLabel,
java.lang.Class traversableClass,
Navigable[] childNavigables)
DetailNavigable
public DetailNavigable(java.lang.String shortLabel,
java.lang.Class traversableClass,
java.lang.Class[] constructorArgTypes,
java.lang.Object[] constructorArgs,
Navigable[] childNavigables)
getChildNavigables
protected Navigable[] getChildNavigables()
- Description copied from class:
Navigable
- By default, this returns the child
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.
- Overrides:
getChildNavigables
in class Navigable
- Returns:
- The child
Navigable
s of this
Navigable
.
getDetailNavigables
protected Navigable[] getDetailNavigables()
- Description copied from class:
Navigable
- Returns
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.
- Overrides:
getDetailNavigables
in class Navigable
- Returns:
- An array of
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
.
Copyright © 1997, 2004, Oracle. All rights reserved.