public class BooleanEditor extends AbstractEditor<Boolean>
Constructor and Description |
---|
BooleanEditor(org.eclipse.swt.widgets.Composite parent)
Create a boolean attribute editor
|
Modifier and Type | Method and Description |
---|---|
String |
getAsText()
Get the editor value as text
|
org.eclipse.swt.widgets.Control |
getControl()
Get the editor control
|
Boolean |
getValue()
Get the editor value
|
String |
getValueType()
Returns the type of the value edited in this editor.
|
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
|
fireStateChanged, fireValueChanged, setPropertyChangeListener, setVariables
public BooleanEditor(org.eclipse.swt.widgets.Composite parent)
parent
- the parent compositepublic 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()
public String getValueType()
Editor
Editor.getValueType()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a