public class DefaultTreeTableCellEditor extends DefaultCellEditor implements ITreeTableCellEditor
TreeTable.setCellEditor(Class, ITreeTableCellEditor),
Serialized FormDefaultCellEditor.EditorDelegateclickCountToStart, delegate, editorComponentchangeEvent, listenerList| Constructor and Description |
|---|
DefaultTreeTableCellEditor(JCheckBox checkBox)
Constructs a new cell editor.
|
DefaultTreeTableCellEditor(JComboBox comboBox)
Constructs a new cell editor.
|
DefaultTreeTableCellEditor(JTextField textField)
Constructs a new cell editor.
|
| Modifier and Type | Method and Description |
|---|---|
Component |
getTreeTableCellEditorComponent(TreeTable tree,
Object value,
boolean selected,
int row,
int column)
Returns the editor component that will be placed inside the cell so that
the user can edit the cell's value.
|
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTableCellEditorComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditingaddCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, cancelCellEditing, getCellEditorValue, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingpublic DefaultTreeTableCellEditor(JTextField textField)
textField - the text field that will be used for editing the cell valuepublic DefaultTreeTableCellEditor(JCheckBox checkBox)
checkBox - the checkbox that will be used for editing the cell valuepublic DefaultTreeTableCellEditor(JComboBox comboBox)
comboBox - the combo box that will be used for editing the cell valuepublic Component getTreeTableCellEditorComponent(TreeTable tree, Object value, boolean selected, int row, int column)
ITreeTableCellEditorgetTreeTableCellEditorComponent in interface ITreeTableCellEditortree - the tree table component to which the editor component will be
addedvalue - the current value shown in the tree table cellselected - a flag that signals whether the row in which the cell is
located is currently selectedrow - the row in which the cell is locatedcolumn - the column in which the cell is locatedCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.