public class BooleanEditor extends CustomEditor implements PropertyDBService
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
value |
propertyEditorSupportcellEditable, component, listeners, shouldSelectCell| Constructor and Description |
|---|
BooleanEditor() |
BooleanEditor(BooleanEditor sample) |
| Modifier and Type | Method and Description |
|---|---|
BooleanEditor |
clone() |
protected JComponent |
createComponent()
Создание графического компонента - редактора
|
String |
getAsText() |
String |
getJavaInitializationString() |
Object |
getValue() |
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 BooleanEditor()
public BooleanEditor(BooleanEditor sample)
public BooleanEditor 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 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.