public class ColorEditor extends CustomEditor implements PropertyDBService
| Modifier and Type | Field and Description |
|---|---|
protected Color |
color |
protected JLabel |
nameColor |
protected JPanel |
panel |
protected JLabel |
selectColor |
protected JLabel |
selectNull |
propertyEditorSupportcellEditable, component, listeners, shouldSelectCell| Constructor and Description |
|---|
ColorEditor() |
ColorEditor(ColorEditor sample) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildUI() |
ColorEditor |
clone() |
protected JComponent |
createComponent()
Создание графического компонента - редактора
|
String |
getAsText() |
String |
getJavaInitializationString() |
Object |
getValue() |
void |
register(PropertyDB pdb)
Регистрация редакторов в PropertyDB
|
void |
setAsText(String text) |
void |
setValue(Object value) |
addPropertyChangeListener, firePropertyChanged, getCellEditorValue, getComponent, getCustomEditor, getTags, isPaintable, paintValue, parseEditOptions, removePropertyChangeListener, setTags, startEditing, supportsCustomEditoraddCellEditorListener, cancelCellEditing, clearAllListeners, fireEditingCanceled, fireEditingStopped, getEditIcon, getNullIcon, getNullSelectedIcon, getNullUnSelectedIcon, isCellEditable, isShouldSelectCell, removeCellEditorListener, setCellEditable, setComponent, setShouldSelectCell, stopCellEditingprotected final JPanel panel
protected final JLabel selectColor
protected final JLabel nameColor
protected final JLabel selectNull
protected Color color
public ColorEditor()
public ColorEditor(ColorEditor sample)
public void register(PropertyDB pdb)
PropertyDBServiceregister in interface PropertyDBServicepdb - редакторы типовprotected void buildUI()
public ColorEditor clone()
clone in class CustomEditorprotected JComponent createComponent()
CustomEditorcreateComponent in class CustomEditorpublic void setValue(Object value)
setValue in interface PropertyEditorpublic 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.