visidia.misc.property.cell
Class StringCell
java.lang.Object
javax.swing.AbstractCellEditor
visidia.misc.property.cell.CellViewer
visidia.misc.property.cell.StringCell
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor, javax.swing.table.TableCellRenderer
public class StringCell
- extends CellViewer
StringCell is the class for editing and rendering in a JTable a cell containing a single string.
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractCellEditor |
changeEvent, listenerList |
Constructor Summary |
StringCell()
Instantiates a new string cell. |
StringCell(java.lang.String oValue)
Instantiates a new string cell. |
StringCell(java.lang.String value,
boolean isEditable)
Instantiates a new string 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 |
StringCell
public StringCell()
- Instantiates a new string cell.
StringCell
public StringCell(java.lang.String oValue)
- Instantiates a new string cell.
- Parameters:
oValue
- the o value
StringCell
public StringCell(java.lang.String value,
boolean isEditable)
- Instantiates a new string cell.
- Parameters:
value
- the valueisEditable
- the editable status
getTableCellEditorComponent
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable oTable,
java.lang.Object oValue,
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