public static class PlatformType.PlatformTypeDisplayable extends DefaultDisplayable
| Constructor and Description |
|---|
PlatformType.PlatformTypeDisplayable(java.lang.String shortLabel,
java.lang.String longLabel)
Create a Displayable using just a label for the Platform type.
|
PlatformType.PlatformTypeDisplayable(java.lang.String shortLabel,
java.lang.String longLabel,
javax.swing.Icon icon)
Allows a label and icon to be passed.
|
| Modifier and Type | Method and Description |
|---|---|
javax.swing.Icon |
getIcon()
This implementation returns a plain document icon.
|
java.lang.String |
getLongLabel()
This implementation delegates to
DefaultDisplayable.getShortLabel(). |
java.lang.String |
getShortLabel()
This implementation returns a place-holder
String. |
getToolTipText, toStringpublic PlatformType.PlatformTypeDisplayable(java.lang.String shortLabel,
java.lang.String longLabel)
shortLabel - public PlatformType.PlatformTypeDisplayable(java.lang.String shortLabel,
java.lang.String longLabel,
javax.swing.Icon icon)
shortLabel - short name for PlatformTypeicon - the icon to be used instead of the IDE defaultpublic java.lang.String getShortLabel()
DefaultDisplayableString.getShortLabel in interface DisplayablegetShortLabel in class DefaultDisplayableDisplayable
that can be shown to the user.Displayable.getShortLabel()public java.lang.String getLongLabel()
DefaultDisplayableDefaultDisplayable.getShortLabel().getLongLabel in interface DisplayablegetLongLabel in class DefaultDisplayableDisplayable that
can be shown to the user.Displayable.getLongLabel()public javax.swing.Icon getIcon()
DefaultDisplayablegetIcon in interface DisplayablegetIcon in class DefaultDisplayableIcon to be displayed for the
Displayable.Displayable.getIcon()