public class TreeTableWrapEditor extends Object implements TreeTableNodeValueEditor.Editor
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
cellEditable |
protected TreeTableNodeValueEditor.CellEditorListenerSupport |
listeners |
protected PropertyEditor |
pe |
protected boolean |
shouldSelectCell |
protected JTextField |
textField |
| Constructor and Description |
|---|
TreeTableWrapEditor(PropertyEditor pe) |
| 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() |
boolean |
isCellEditable() |
boolean |
isShouldSelectCell() |
void |
removeCellEditorListener(CellEditorListener l) |
void |
setCellEditable(boolean v) |
void |
setShouldSelectCell(boolean shouldSelectCell) |
void |
startEditing(Object value,
Object context) |
boolean |
stopCellEditing() |
protected PropertyEditor pe
protected JTextField textField
protected boolean cellEditable
protected boolean shouldSelectCell
protected final TreeTableNodeValueEditor.CellEditorListenerSupport listeners
public TreeTableWrapEditor(PropertyEditor pe)
public JComponent getComponent()
getComponent in interface TreeTableNodeValueEditor.Editorpublic 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.EditorCopyright © 2019. All rights reserved.