public class PresentationAdapter extends Object implements IPresentationSupport
IPresentationSupport aware objects.ATTR_DESCRIPTION, ATTR_ICON, ATTR_LABEL, ATTR_TIP| Constructor and Description |
|---|
PresentationAdapter(Object object,
String label) |
| Modifier and Type | Method and Description |
|---|---|
static IPresentationSupport |
create(Object object) |
static IPresentationSupport |
create(Object object,
String label) |
String |
getDescription()
A long, descriptive string representation.
|
String |
getIconName()
A name for an icon.
|
String |
getLabel()
A short string representation (suitable for example for use with an icon
or menu item).
|
Object |
getObject() |
String |
getTip()
An "intermediate" length description (suitable for example with a
tooltip).
|
String |
toString() |
public static IPresentationSupport create(Object object)
public static IPresentationSupport create(Object object, String label)
public String getDescription()
IPresentationSupportgetDescription in interface IPresentationSupportpublic String getIconName()
IPresentationSupportgetIconName in interface IPresentationSupportpublic String getLabel()
IPresentationSupportgetLabel in interface IPresentationSupportpublic Object getObject()
public String getTip()
IPresentationSupportgetTip in interface IPresentationSupportCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.