|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the attribute value type/bindingpublic interface Editor<T>
Attribute editor interface
Field Summary | |
---|---|
static String |
IS_VALID
Property name constant (value "editor_is_valid" ) to signal a
change in the validity of the value of this field editor. |
static String |
VALUE
Property name constant (value "editor_value" ) to signal a
change in the value of this field editor. |
Method Summary | |
---|---|
String |
getAsText()
Get the editor value as text |
org.eclipse.swt.widgets.Control |
getControl()
Get the editor control |
T |
getValue()
Get the editor value |
boolean |
isValid()
Determines if the user has entered a valid value |
void |
setAsText(String text)
Set the editor value as text |
void |
setPropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener)
Sets or removes the property change listener for this editor. |
void |
setValue(T value)
Set the editor value |
Field Detail |
---|
static final String IS_VALID
"editor_is_valid"
) to signal a
change in the validity of the value of this field editor.
static final String VALUE
"editor_value"
) to signal a
change in the value of this field editor.
Method Detail |
---|
org.eclipse.swt.widgets.Control getControl()
void setValue(T value)
value
- the valueT getValue()
void setAsText(String text)
text
- the value to set as textString getAsText()
boolean isValid()
void setPropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener)
Note that editors can support only a single listener.
listener
- a property change listener, or null
to
remove
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |