|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sage.swt.client.customization.BooleanPropertyEditor
public class BooleanPropertyEditor
Base class for a property editor for properties with Boolean values.
| Constructor Summary | |
|---|---|
BooleanPropertyEditor(DesignerLanguageResources.WidgetPropertyContent content,
java.lang.String tagName)
Constructs an instance of the BooleanPropertyEditor class |
|
| 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. |
java.lang.String |
getDisplayName()
Gets the property's display name (such as "Read-Only"). |
java.lang.String |
getTagName()
Gets the property's tag name (such as "readOnly"). |
PropertyEditorWidget |
getWidget(Property property,
SwtWidget swtWidget,
SwtErrorStack errorStack)
Gets the property editor widget that will allow you to edit the properties for the specified property on the specified SWT widget (swtWidget). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BooleanPropertyEditor(DesignerLanguageResources.WidgetPropertyContent content,
java.lang.String tagName)
BooleanPropertyEditor class
content - the Designer content for the propertytagName - the tag name for the property| Method Detail |
|---|
public java.lang.String getDisplayName()
getDisplayName in interface PropertyEditorpublic java.lang.String getTagName()
getTagName in interface PropertyEditorpublic java.lang.Object convertStringToValue(java.lang.String s)
convertStringToValue in interface PropertyEditors - The string representation of the property's value.
public java.lang.String convertValueToString(java.lang.Object value)
convertValueToString in interface PropertyEditorvalue - The property's value.
public PropertyEditorWidget getWidget(Property property,
SwtWidget swtWidget,
SwtErrorStack errorStack)
getWidget in interface PropertyEditorproperty - The property whose value will be edited.swtWidget - The SWT widget whose property will be edited.errorStack - The UI designer's SWT error stack.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||