PATH |
- Inherits from:
- Object
- Implements:
- javax.swing.table.TableCellEditor
- Package:
- com.webobjects.eointerface.swing
EOColumnEditor is an abstract class that implements generalized cell editing management for javax.swing.JTables. Swing specifies that JTable cell editing is performed by an object implementing the javax.swing.table.TableCellEditor interface. EOColumnEditor implements this interface in a generalized way, and concrete subclasses such as EOTextColumnEditor perform component-specific instantiation and event communication.
The most important function of an EOColumnEditor instance is mediating between its Component and the EOTableColumnAssociation that's bound to the edited column. This mediation enables the validation of edited values that associations are required to perform.
Create a subclass of EOColumnEditor if you want to use a Component for JTable editing for which no EOColumnEditor is implemented.
- javax.swing.table.TableCellEditor
- addCellEditorListener
- cancelCellEditing
- getCellEditorValue
- getTableCellEditorComponent
- isCellEditable
- removeCellEditorListener
- shouldSelectCell
- stopCellEditing
- All methods
- EOColumnEditor
- beginEditing
- createEditorComponent
- editingTableColumnAssociation
- editorComponent
- endEditing
- fireEditingCanceled
- fireEditingStopped
- isCellEditable
- setCellEditorValue
- setEditorComponent
public EOColumnEditor()
public void addCellEditorListener(javax.swing.event.CellEditorListener aCellEditorListener)
protected void beginEditing()
public void cancelCellEditing()
protected abstract java.awt.Component createEditorComponent()
public com.webobjects.eointerface.EOTableColumnAssociation editingTableColumnAssociation()
public java.awt.Component editorComponent()
protected void endEditing()
protected void fireEditingCanceled()
protected void fireEditingStopped()
public Object getCellEditorValue()
null
, so subclasses must override this method.
public java.awt.Component getTableCellEditorComponent( javax.swing.JTable aJTable, Object initialValue, boolean isSelected, int rowIndex, int columnIndex)
public boolean isCellEditable(java.util.EventObject event)
public void removeCellEditorListener(javax.swing.event.CellEditorListener aCellEditorListener)
protected abstract void setCellEditorValue(Object value)
public void setEditorComponent(java.awt.Component editorComponent)
public boolean shouldSelectCell(java.util.EventObject event)
public boolean stopCellEditing()
© 2001 Apple Computer, Inc. (Last Published April 21, 2001)