public class BooleanEditor extends PropertyEditorSupport
Constructor and Description |
---|
BooleanEditor() |
BooleanEditor(boolean withNullOption) |
Modifier and Type | Method and Description |
---|---|
protected void |
customize() |
String |
getAsText() |
Component |
getCustomEditor() |
static String |
getNameOfCreation() |
static String |
getNameOfNull() |
static boolean |
isAllowNullByDefault() |
static void |
setAllowNullByDefault(boolean allowNullByDefault) |
void |
setAsText(String text) |
static void |
setNameOfCreation(String nameOfCreation) |
static void |
setNameOfNull(String nameOfNull) |
void |
setValue(Object value) |
boolean |
supportsCustomEditor() |
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource
public BooleanEditor()
public BooleanEditor(boolean withNullOption)
protected void customize()
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
public Component getCustomEditor()
getCustomEditor
in interface PropertyEditor
getCustomEditor
in class PropertyEditorSupport
public static String getNameOfCreation()
public static String getNameOfNull()
public static boolean isAllowNullByDefault()
public static void setAllowNullByDefault(boolean allowNullByDefault)
public void setAsText(String text)
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
public static void setNameOfCreation(String nameOfCreation)
public static void setNameOfNull(String nameOfNull)
public void setValue(Object value)
setValue
in interface PropertyEditor
setValue
in class PropertyEditorSupport
public boolean supportsCustomEditor()
supportsCustomEditor
in interface PropertyEditor
supportsCustomEditor
in class PropertyEditorSupport