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

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

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

The "DeclarativeLayout" property, which lets you specify the key pieces of information needed retrieve a declarative UI definition (layout) that describes the contents of a widget (such as a layout portlet).


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 DeclarativeLayoutProperty 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 DeclarativeLayoutProperty 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.