Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.ide.model
Class DefaultDisplayable

java.lang.Object
  extended by oracle.ide.model.DefaultDisplayable

All Implemented Interfaces:
Displayable
Direct Known Subclasses:
DefaultElement

public class DefaultDisplayable
extends java.lang.Object
implements Displayable

Default implementation of the Displayable interface.


Constructor Summary
DefaultDisplayable()
           

 

Method Summary
 javax.swing.Icon getIcon()
          This implementation returns a plain document icon.
 java.lang.String getLongLabel()
          This implementation delegates to getShortLabel().
 java.lang.String getShortLabel()
          This implementation returns a place-holder String.
 java.lang.String getToolTipText()
          This implementation delegates to getLongLabel().
 java.lang.String toString()
          This implementation delegates to getShortLabel().

 

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

 

Constructor Detail

DefaultDisplayable

public DefaultDisplayable()

Method Detail

getShortLabel

public java.lang.String getShortLabel()
This implementation returns a place-holder String.
Specified by:
getShortLabel in interface Displayable
Returns:
a short descriptive label of the Displayable that can be shown to the user.
See Also:
Displayable.getShortLabel()

getLongLabel

public java.lang.String getLongLabel()
This implementation delegates to getShortLabel().
Specified by:
getLongLabel in interface Displayable
Returns:
a long descriptive label of the Displayable that can be shown to the user.
See Also:
Displayable.getLongLabel()

getIcon

public javax.swing.Icon getIcon()
This implementation returns a plain document icon.
Specified by:
getIcon in interface Displayable
Returns:
the Icon to be displayed for the Displayable.
See Also:
Displayable.getIcon()

getToolTipText

public java.lang.String getToolTipText()
This implementation delegates to getLongLabel().
Specified by:
getToolTipText in interface Displayable
Returns:
the tooltip to show when the mouse pointer pauses over a UI component that represents this Displayable.
See Also:
Displayable.getToolTipText()

toString

public java.lang.String toString()
This implementation delegates to getShortLabel().
Specified by:
toString in interface Displayable
Overrides:
toString in class java.lang.Object
See Also:
Displayable.toString()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


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