public static class TreeTableNodeValueEditor.BaseEditor extends Object implements TreeTableNodeValueEditor.Editor
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
cellEditable |
protected JComponent |
component |
protected TreeTableNodeValueEditor.CellEditorListenerSupport |
listeners |
protected boolean |
shouldSelectCell |
| Constructor and Description |
|---|
BaseEditor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCellEditorListener(CellEditorListener l) |
void |
cancelCellEditing() |
void |
clearAllListeners() |
void |
fireEditingCanceled(Object src) |
void |
fireEditingStopped(Object src) |
Object |
getCellEditorValue() |
JComponent |
getComponent() |
static Icon |
getEditIcon()
Возвращает иконку edit
|
static Icon |
getNullIcon()
Возвращает иконку null
|
static Icon |
getNullSelectedIcon()
Возвращает иконку null selected
|
static Icon |
getNullUnSelectedIcon()
Возвращает иконку null unselected
|
boolean |
isCellEditable() |
boolean |
isShouldSelectCell() |
void |
removeCellEditorListener(CellEditorListener l) |
void |
setCellEditable(boolean v) |
void |
setComponent(JComponent component) |
void |
setShouldSelectCell(boolean shouldSelectCell) |
void |
startEditing(Object value,
Object context) |
boolean |
stopCellEditing() |
protected JComponent component
protected boolean cellEditable
protected boolean shouldSelectCell
protected final TreeTableNodeValueEditor.CellEditorListenerSupport listeners
public JComponent getComponent()
getComponent in interface TreeTableNodeValueEditor.Editorpublic void setComponent(JComponent component)
public void startEditing(Object value, Object context)
startEditing in interface TreeTableNodeValueEditor.Editorpublic boolean stopCellEditing()
stopCellEditing in interface TreeTableNodeValueEditor.Editorpublic void cancelCellEditing()
cancelCellEditing in interface TreeTableNodeValueEditor.Editorpublic Object getCellEditorValue()
getCellEditorValue in interface TreeTableNodeValueEditor.Editorpublic void setCellEditable(boolean v)
public boolean isCellEditable()
isCellEditable in interface TreeTableNodeValueEditor.Editorpublic boolean isShouldSelectCell()
isShouldSelectCell in interface TreeTableNodeValueEditor.Editorpublic void setShouldSelectCell(boolean shouldSelectCell)
public void clearAllListeners()
clearAllListeners in interface TreeTableNodeValueEditor.Editorpublic void addCellEditorListener(CellEditorListener l)
addCellEditorListener in interface TreeTableNodeValueEditor.Editorpublic void removeCellEditorListener(CellEditorListener l)
removeCellEditorListener in interface TreeTableNodeValueEditor.Editorpublic void fireEditingCanceled(Object src)
fireEditingCanceled in interface TreeTableNodeValueEditor.Editorpublic void fireEditingStopped(Object src)
fireEditingStopped in interface TreeTableNodeValueEditor.Editorpublic static Icon getEditIcon()
public static Icon getNullIcon()
public static Icon getNullSelectedIcon()
public static Icon getNullUnSelectedIcon()
Copyright © 2019. All rights reserved.