public class BooleanNullableEditor extends CustomEditor implements PropertyDBService
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
value |
propertyEditorSupportcellEditable, component, listeners, shouldSelectCell| Constructor and Description |
|---|
BooleanNullableEditor() |
BooleanNullableEditor(BooleanNullableEditor sample) |
| Modifier and Type | Method and Description |
|---|---|
BooleanNullableEditor |
clone() |
protected JComponent |
createComponent()
Создание графического компонента - редактора
|
String |
getAsText() |
Boolean |
getBooleanValue() |
String |
getJavaInitializationString() |
Object |
getValue() |
protected void |
listenComboBoxChanges() |
void |
register(PropertyDB pdb)
Регистрация редакторов в PropertyDB
|
void |
setAsText(String text) |
void |
setValue(Object value) |
void |
startEditing(Object value,
Object context) |
addPropertyChangeListener, firePropertyChanged, getCellEditorValue, getComponent, getCustomEditor, getTags, isPaintable, paintValue, parseEditOptions, removePropertyChangeListener, setTags, supportsCustomEditoraddCellEditorListener, cancelCellEditing, clearAllListeners, fireEditingCanceled, fireEditingStopped, getEditIcon, getNullIcon, getNullSelectedIcon, getNullUnSelectedIcon, isCellEditable, isShouldSelectCell, removeCellEditorListener, setCellEditable, setComponent, setShouldSelectCell, stopCellEditingprotected Boolean value
public BooleanNullableEditor()
public BooleanNullableEditor(BooleanNullableEditor sample)
protected void listenComboBoxChanges()
public BooleanNullableEditor clone()
clone in class CustomEditorpublic void register(PropertyDB pdb)
PropertyDBServiceregister in interface PropertyDBServicepdb - редакторы типовprotected JComponent createComponent()
CustomEditorcreateComponent in class CustomEditorpublic void setValue(Object value)
setValue in interface PropertyEditorpublic void startEditing(Object value, Object context)
startEditing in interface TreeTableNodeValueEditor.EditorstartEditing in class CustomEditorpublic Boolean getBooleanValue()
public Object getValue()
getValue in interface PropertyEditorpublic String getJavaInitializationString()
getJavaInitializationString in interface PropertyEditorpublic String getAsText()
getAsText in interface PropertyEditorpublic void setAsText(String text) throws IllegalArgumentException
setAsText in interface PropertyEditorIllegalArgumentExceptionCopyright © 2019. All rights reserved.