|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PropertyEditor
Property editor interface. The UI designer uses property editors to allow people to change the property values for SWT widgets.
| 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). |
| Method Detail |
|---|
java.lang.String getTagName()
java.lang.String getDisplayName()
java.lang.String convertValueToString(java.lang.Object value)
value - The property's value.
java.lang.Object convertStringToValue(java.lang.String s)
s - The string representation of the property's value.
PropertyEditorWidget getWidget(Property property,
SwtWidget swtWidget,
SwtErrorStack errorStack)
property - 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 | |||||||||