com.sage.swt.client.widget.property
Class SelectableItemsProperty

java.lang.Object
  extended by com.sage.swt.client.widget.property.SelectableItemsProperty
All Implemented Interfaces:
Property

public final class SelectableItemsProperty
extends java.lang.Object
implements Property

The "Selectable Items" property, which lets you the items that will be displayed in a list box widget. Each item consists of its actual value (which will depend on the data type of the list box) and its display value (how it is displayed in the list box).


Method Summary
 PropertyResolver createResolver()
          Creates a new instance of the property resolver for this property.
 java.lang.String getDesignerTooltip()
          Gets a string that describes this property and that is shown as a tooltip in the UI Designer.
 PropertyDOMConverter getDOMConverter()
          Gets the DOM converter for this property.
 PropertyEditor getEditor()
          Gets the property editor for this property.
static SelectableItemsProperty getInstance()
          Gets the singleton instance of this property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SelectableItemsProperty getInstance()
Gets the singleton instance of this property.

Returns:
The singleton instance of this property.

createResolver

public PropertyResolver createResolver()
Creates a new instance of the property resolver for this property. This resolver is used to determine a property's value when multiple property providers (e.g. the default UI's code, customizations) want to set potentially different values for that property.

Specified by:
createResolver in interface Property
Returns:
The newly created property resolver.

getDOMConverter

public PropertyDOMConverter getDOMConverter()
Gets the DOM converter for this property. The DOM converter converts between the actual property value and DOM representation of the property's value.

Specified by:
getDOMConverter in interface Property
Returns:
The DOM converter for this property.

getEditor

public PropertyEditor getEditor()
Gets the property editor for this property. The property editor is used by the UI designer to allow a widget's properties to be set without needing to do that programmatically.

Specified by:
getEditor in interface Property
Returns:
The editor for this property.

getDesignerTooltip

public java.lang.String getDesignerTooltip()
Gets a string that describes this property and that is shown as a tooltip in the UI Designer.

Specified by:
getDesignerTooltip in interface Property
Returns:
The tooltip string that describes is property.


Copyright © 2011 Sage Software, Inc. All rights reserved.