com.sage.swt.client.customization
Class VerticalAlignmentPropertyEditor

java.lang.Object
  extended by com.sage.swt.client.customization.EnumPropertyEditor
      extended by com.sage.swt.client.customization.VerticalAlignmentPropertyEditor
All Implemented Interfaces:
PropertyEditor

public class VerticalAlignmentPropertyEditor
extends EnumPropertyEditor

Base class for a property editor for properties related to vertical alignment.


Constructor Summary
VerticalAlignmentPropertyEditor(DesignerLanguageResources.WidgetPropertyContent content, java.lang.String tagName)
          Constructs an abstract property editor for properties related to vertical alignment (where those properties share the same enumerated set of vertical alignment possibilities).
 
Method Summary
 java.lang.Object convertStringToValue(java.lang.String s)
          Converts the string representation of the property's value to the actual value.
 java.lang.String convertValueToString(java.lang.Object value)
          Converts the property's value to the string representation of that value.
 
Methods inherited from class com.sage.swt.client.customization.EnumPropertyEditor
getDisplayName, getTagName, getWidget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerticalAlignmentPropertyEditor

public VerticalAlignmentPropertyEditor(DesignerLanguageResources.WidgetPropertyContent content,
                                       java.lang.String tagName)
Constructs an abstract property editor for properties related to vertical alignment (where those properties share the same enumerated set of vertical alignment possibilities).

Method Detail

convertStringToValue

public java.lang.Object convertStringToValue(java.lang.String s)
Converts the string representation of the property's value to the actual value.

Specified by:
convertStringToValue in interface PropertyEditor
Overrides:
convertStringToValue in class EnumPropertyEditor
Parameters:
s - The string representation of the property's value.
Returns:
The property's value.

convertValueToString

public java.lang.String convertValueToString(java.lang.Object value)
Converts the property's value to the string representation of that value.

Specified by:
convertValueToString in interface PropertyEditor
Overrides:
convertValueToString in class EnumPropertyEditor
Parameters:
value - The property's value.
Returns:
The string representation of the property's value.


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