Extension SDK

oracle.ide.model
Class DefaultDisplayable

java.lang.Object
  |
  +--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
See Also:
Displayable.getShortLabel()

getLongLabel

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

getIcon

public javax.swing.Icon getIcon()
This implementation returns a plain document icon.
Specified by:
getIcon in interface Displayable
See Also:
Displayable.getIcon()

getToolTipText

public java.lang.String getToolTipText()
This implementation delegates to getLongLabel().
Specified by:
getToolTipText in interface 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()

Extension SDK