Extension SDK 10.1.2


oracle.ide.panels
Class DetailNavigable

java.lang.Object
  extended byoracle.ide.panels.MetaTraversable
      extended byoracle.ide.panels.Navigable
          extended byoracle.ide.panels.DetailNavigable

All Implemented Interfaces:
Copyable, Displayable

public class DetailNavigable
extends Navigable

Nested Class Summary

Nested classes inherited from class oracle.ide.panels.Navigable
Navigable.NavigableComparator

Field Summary

Fields inherited from class oracle.ide.panels.Navigable
BOLD, DEFAULT_CHILD_COMPARATOR_KEY, ITALIC, NAVIGABLE_COMPARATOR, PLAIN

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)

Method Summary
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.

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 oracle.ide.panels.MetaTraversable
copyToImpl, getTraversableClass, isUsingTraversableDefaultConstructor, newTraversable, newTraversable, setHelpID, setNameLink

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

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)

Method Detail

getChildNavigables

protected Navigable[] getChildNavigables()
Description copied from class: Navigable
By default, this returns the child Navigables 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 Navigables 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 Navigables. 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.

Extension SDK


Copyright © 1997, 2004, Oracle. All rights reserved.