visidia.misc.property.cell
Class BooleanCell
java.lang.Object
javax.swing.AbstractCellEditor
visidia.misc.property.cell.CellViewer
visidia.misc.property.cell.BooleanCell
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor, javax.swing.table.TableCellRenderer
public class BooleanCell
- extends CellViewer
BooleanCell is the class for editing and rendering in a JTable a cell containing a boolean.
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractCellEditor |
changeEvent, listenerList |
Constructor Summary |
BooleanCell()
Instantiates a new boolean cell. |
BooleanCell(java.lang.Boolean oValue)
Instantiates a new boolean cell. |
BooleanCell(java.lang.Boolean value,
boolean isEditable)
Instantiates a new boolean cell. |
Methods inherited from class javax.swing.AbstractCellEditor |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.CellEditor |
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing |
BooleanCell
public BooleanCell()
- Instantiates a new boolean cell.
BooleanCell
public BooleanCell(java.lang.Boolean oValue)
- Instantiates a new boolean cell.
- Parameters:
oValue
- the o value
BooleanCell
public BooleanCell(java.lang.Boolean value,
boolean isEditable)
- Instantiates a new boolean cell.
- Parameters:
value
- the valueisEditable
- the editable status
getTableCellEditorComponent
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable arg0,
java.lang.Object arg1,
boolean arg2,
int iRow,
int iColumn)
getCellEditorValue
public java.lang.Object getCellEditorValue()
getTableCellRendererComponent
public java.awt.Component getTableCellRendererComponent(javax.swing.JTable arg0,
java.lang.Object oValue,
boolean arg2,
boolean arg3,
int arg4,
int arg5)
getEditor
public javax.swing.table.TableCellEditor getEditor()
- Description copied from class:
CellViewer
- Gets the editor.
- Specified by:
getEditor
in class CellViewer
- Returns:
- the editor
getRenderer
public javax.swing.table.TableCellRenderer getRenderer()
- Description copied from class:
CellViewer
- Gets the renderer.
- Specified by:
getRenderer
in class CellViewer
- Returns:
- the renderer