public class BooleanCellEditor extends AbstractCellEditor implements TableCellRenderer, TableCellEditor
| Modifier and Type | Field and Description |
|---|---|
protected TableCellEditor |
editorDelegate |
protected Icon |
icon |
protected TableCellRenderer |
rendererDelegate |
changeEvent, listenerList| Constructor and Description |
|---|
BooleanCellEditor(TableCellRenderer delegate) |
BooleanCellEditor(TableCellRenderer delegate,
Icon icon) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getCellEditorValue() |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
Component |
getTableCellRendererComponent(JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column) |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingprotected final TableCellRenderer rendererDelegate
protected final TableCellEditor editorDelegate
protected final Icon icon
public BooleanCellEditor(TableCellRenderer delegate)
public BooleanCellEditor(TableCellRenderer delegate, Icon icon)
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
getTableCellRendererComponent in interface TableCellRendererpublic Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent in interface TableCellEditorpublic Object getCellEditorValue()
getCellEditorValue in interface CellEditorCopyright © 2008–2017 Ultreia.io. All rights reserved.