wt.clients.beans.explorer
Interface Explorable

All Superinterfaces:
Identifiable, ReferenceHolder
All Known Implementing Classes:
ClassItem, PropertyItem, UnitUsageItem, UsageItem, UsageItem, UsageMasterItem, UsageMasterItem, WTBusinessObject

public interface Explorable
extends Identifiable, ReferenceHolder

Objects that implement the Explorable interface may be displayed and navigated in the WTExplorer.

The WTExplorer will invoke the getUses() method to display the children of the object in the treeview. The WTExplorer will invoke the getContents() method to display the contents of the object in the listview.

Supported API: true

Extendable: false

See Also:
WTExplorer, Identifiable, ReferenceHolder

Method Summary
 Explorable[] getContents()
          Gets the contained objects for this object.
 Explorable[] getUses()
          Gets the children objects for this object.
 
Methods inherited from interface wt.clients.beans.explorer.Identifiable
getIdentity, getOpenIcon, getStandardIcon, getUniqueIdentity
 
Methods inherited from interface wt.clients.util.ReferenceHolder
getObject, setObject
 

Method Detail

getUses

public Explorable[] getUses()
                     throws WTException
Gets the children objects for this object.

Returns:
an array of the children for this object.
Throws:
WTException
See Also:
WTException

getContents

public Explorable[] getContents()
                         throws WTException
Gets the contained objects for this object.

Returns:
an array of the contained objects for this object.
Throws:
WTException
See Also:
WTException