intarsys runtime library

de.intarsys.tools.presentation
Class PropertyPresentation

java.lang.Object
  extended by de.intarsys.tools.presentation.PropertyPresentation
All Implemented Interfaces:
IPresentationSupport
Direct Known Subclasses:
PropertyPresentationGroup, PropertyPresentationItem

public abstract class PropertyPresentation
extends Object
implements IPresentationSupport

Common superclass for the PropertyPresentation implementation.

This implementation summarizes all methods for representing the "field" (meta) part of the presentation.


Field Summary
 
Fields inherited from interface de.intarsys.tools.presentation.IPresentationSupport
ATTR_DESCRIPTION, ATTR_ICON, ATTR_LABEL, ATTR_TIP
 
Method Summary
 String getDescription()
          A long, descriptive string representation.
 IPresentationSupport getFieldPresentation()
           
 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).
 IPresentationSupport getValuePresentation()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDescription

public String getDescription()
Description copied from interface: IPresentationSupport
A long, descriptive string representation.

Specified by:
getDescription in interface IPresentationSupport
Returns:
A long, descriptive string representation.

getFieldPresentation

public IPresentationSupport getFieldPresentation()

getIconName

public String getIconName()
Description copied from interface: IPresentationSupport
A name for an icon.

Specified by:
getIconName in interface IPresentationSupport
Returns:
A name for an icon.

getLabel

public String getLabel()
Description copied from interface: IPresentationSupport
A short string representation (suitable for example for use with an icon or menu item).

Specified by:
getLabel in interface IPresentationSupport
Returns:
A short string representation (suitable for example for use with an icon or menu item).

getObject

public Object getObject()

getTip

public String getTip()
Description copied from interface: IPresentationSupport
An "intermediate" length description (suitable for example with a tooltip).

Specified by:
getTip in interface IPresentationSupport
Returns:
An "intermediate" length description (suitable for example with a tooltip).

getValuePresentation

public IPresentationSupport getValuePresentation()

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.