public class ButtonEditor extends DefaultCellEditor
DefaultCellEditor.EditorDelegate
Modifier and Type | Field and Description |
---|---|
protected JButton |
button |
clickCountToStart, delegate, editorComponent
changeEvent, listenerList
Constructor and Description |
---|
ButtonEditor(JCheckBox checkBox,
Collection resources,
ChooseResourceDialogPanel dialog) |
Modifier and Type | Method and Description |
---|---|
protected void |
fireEditingStopped() |
Object |
getCellEditorValue() |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
boolean |
stopCellEditing() |
cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell
addCellEditorListener, fireEditingCanceled, getCellEditorListeners, removeCellEditorListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCellEditorListener, removeCellEditorListener
protected JButton button
public ButtonEditor(JCheckBox checkBox, Collection resources, ChooseResourceDialogPanel dialog)
checkBox
- resources
- dialog
- public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent
in interface TableCellEditor
getTableCellEditorComponent
in class DefaultCellEditor
table
- value
- isSelected
- row
- column
- public Object getCellEditorValue()
getCellEditorValue
in interface CellEditor
getCellEditorValue
in class DefaultCellEditor
public boolean stopCellEditing()
stopCellEditing
in interface CellEditor
stopCellEditing
in class DefaultCellEditor
protected void fireEditingStopped()
fireEditingStopped
in class AbstractCellEditor