|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.ui.common.editors.AbstractEditor<String>
eu.esdihumboldt.hale.ui.common.editors.StringEditor
public class StringEditor
Simple attribute editor for string values.
Field Summary |
---|
Fields inherited from interface eu.esdihumboldt.hale.ui.common.Editor |
---|
IS_VALID, VALUE |
Constructor Summary | |
---|---|
StringEditor(org.eclipse.swt.widgets.Composite parent)
Create a string attribute editor. |
Method Summary | |
---|---|
String |
getAsText()
Get the editor value as text |
org.eclipse.swt.widgets.Control |
getControl()
Get the editor control |
String |
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 |
setValue(String value)
Set the editor value |
Methods inherited from class eu.esdihumboldt.hale.ui.common.editors.AbstractEditor |
---|
fireStateChanged, fireValueChanged, setPropertyChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringEditor(org.eclipse.swt.widgets.Composite parent)
parent
- the parent compositeMethod Detail |
---|
public String getAsText()
Editor
Editor.getAsText()
public org.eclipse.swt.widgets.Control getControl()
Editor
Editor.getControl()
public String getValue()
Editor
Editor.getValue()
public void setAsText(String text)
Editor
text
- the value to set as textEditor.setAsText(String)
public void setValue(String value)
Editor
value
- the valueEditor.setValue(Object)
public boolean isValid()
Editor
Editor.isValid()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |