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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DefaultDisplayable
public DefaultDisplayable()
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()