|
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<Boolean>
eu.esdihumboldt.hale.ui.common.editors.BooleanEditor
public class BooleanEditor
Attribute editor for boolean values
Field Summary |
---|
Fields inherited from interface eu.esdihumboldt.hale.ui.common.Editor |
---|
IS_VALID, VALUE |
Constructor Summary | |
---|---|
BooleanEditor(org.eclipse.swt.widgets.Composite parent)
Create a boolean attribute editor |
Method Summary | |
---|---|
String |
getAsText()
Get the editor value as text |
org.eclipse.swt.widgets.Control |
getControl()
Get the editor control |
Boolean |
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(Boolean 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 BooleanEditor(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 Boolean getValue()
Editor
Editor.getValue()
public void setAsText(String text)
Editor
text
- the value to set as textEditor.setAsText(String)
public void setValue(Boolean 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 |