public abstract class CustomEditor extends TreeTableNodeValueEditor.BaseEditor implements PropertyEditor
| Modifier and Type | Field and Description |
|---|---|
protected PropertyEditorSupport |
propertyEditorSupport |
cellEditable, component, listeners, shouldSelectCell| Constructor and Description |
|---|
CustomEditor() |
CustomEditor(CustomEditor sample) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener) |
abstract CustomEditor |
clone() |
protected abstract JComponent |
createComponent()
Создание графического компонента - редактора
|
void |
firePropertyChanged(String name,
Object oldValue,
Object newValue) |
Object |
getCellEditorValue() |
JComponent |
getComponent() |
Component |
getCustomEditor() |
String[] |
getTags() |
boolean |
isPaintable() |
void |
paintValue(Graphics gfx,
Rectangle box) |
protected void |
parseEditOptions(String opts) |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
void |
setTags(String[] tags) |
void |
startEditing(Object value,
Object context) |
boolean |
supportsCustomEditor() |
addCellEditorListener, cancelCellEditing, clearAllListeners, fireEditingCanceled, fireEditingStopped, getEditIcon, getNullIcon, getNullSelectedIcon, getNullUnSelectedIcon, isCellEditable, isShouldSelectCell, removeCellEditorListener, setCellEditable, setComponent, setShouldSelectCell, stopCellEditingequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsText, getJavaInitializationString, getValue, setAsText, setValueprotected final PropertyEditorSupport propertyEditorSupport
public CustomEditor()
public CustomEditor(CustomEditor sample)
public abstract CustomEditor clone()
public String[] getTags()
getTags in interface PropertyEditorpublic void setTags(String[] tags)
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener in interface PropertyEditorpublic void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener in interface PropertyEditorpublic Object getCellEditorValue()
getCellEditorValue in interface TreeTableNodeValueEditor.EditorgetCellEditorValue in class TreeTableNodeValueEditor.BaseEditorprotected void parseEditOptions(String opts)
public void startEditing(Object value, Object context)
startEditing in interface TreeTableNodeValueEditor.EditorstartEditing in class TreeTableNodeValueEditor.BaseEditorprotected abstract JComponent createComponent()
public JComponent getComponent()
getComponent in interface TreeTableNodeValueEditor.EditorgetComponent in class TreeTableNodeValueEditor.BaseEditorpublic boolean isPaintable()
isPaintable in interface PropertyEditorpublic void paintValue(Graphics gfx, Rectangle box)
paintValue in interface PropertyEditorpublic Component getCustomEditor()
getCustomEditor in interface PropertyEditorpublic boolean supportsCustomEditor()
supportsCustomEditor in interface PropertyEditorCopyright © 2019. All rights reserved.