wt.clients.beans.explorer
Interface Identifiable

All Known Subinterfaces:
Explorable
All Known Implementing Classes:
ClassItem, PropertyItem, UnitUsageItem, UsageItem, UsageItem, UsageMasterItem, UsageMasterItem, WTBusinessObject

public interface Identifiable

Objects that implement the Identifiable interface may be used as WTNodes and displayed in the WTTree.

The WTNode will invoke the getStandardIcon() method to get the icon to display for the object in the treeview. The WTNode will invoke the getIdentity() method to display an identifying name for the object in the treeview.

Supported API: true

Extendable: false


Method Summary
 String getIdentity()
          Gets the identifying string display for this object.
 Image getOpenIcon()
          Gets the image to display for this object when its node is expanded in a tree.
 Image getStandardIcon()
          Gets the image to display for this object.
 String getUniqueIdentity()
          Gets the uniquely identifying string display for this object.
 

Method Detail

getStandardIcon

public Image getStandardIcon()
Gets the image to display for this object.

Returns:
the image to display for this object.

getOpenIcon

public Image getOpenIcon()
Gets the image to display for this object when its node is expanded in a tree.

Returns:
the image to display for this object when expanded.

getIdentity

public String getIdentity()
Gets the identifying string display for this object. This string is for display to the user in the application. It does not have to be unique.

Returns:
the string to display for this object .

getUniqueIdentity

public String getUniqueIdentity()
Gets the uniquely identifying string display for this object. This string should be unique for all objects. It is not meant for display, rather it is used internally for object identification.

Returns:
the uniquely identifying string to display for this object.