EOTextColumnEditor
- Inherits from:
- EOColumnEditor
- Implements:
- java.awt.event.ActionListener
- java.awt.event.FocusListener
- javax.swing.table.TableCellEditor (EOColumnEditor)
- javax.swing.CellEditor (javax.swing.table.TableCellEditor)
- Package:
- com.apple.client.eointerface
Class Description
EOTextColumnEditor is a concrete subclass
of EOColumnEditor whose instances mediate
between EOTextColumnAssociations and EOTextFields (an EOTextColumnEditor's editorComponent
is
an EOTextField).
Note: This class doesn't exist in the com.apple.yellow.eointerface package. |
For more information on the purpose of EOTextColumnEditors, see the EOColumnEditor class specification.
Interfaces Implemented
java.awt.event.ActionListener
- actionPerformed
java.awt.event.FocusListener
focusGained
- focusLost
Method Types
- Instantiation
- createEditorComponent
- Handling events
- actionPerformed
- beginEditing
- endEditing
- Accessing the text field
- getCellEditorValue
- isCellEditable
- setCellEditorValue
Instance Methods
actionPerformed
public void
actionPerformed
(java.awt.event.ActionEvent event)
stopCellEditing
.See Also: stopCellEditing ( EOColumnEditor)
beginEditing
protected void
beginEditing
()
super
's
implementation.See Also: beginEditing ( EOColumnEditor)
createEditorComponent
protected abstract java.awt.Component
createEditorComponent
()
See Also: createEditorComponent ( EOColumnEditor)
endEditing
protected void
endEditing
()
super
's implementation.See Also: endEditing ( EOColumnEditor)
focusLost
public void
focusLost
(java.awt.event.FocusEvent event)
stopCellEditing
.See Also: stopCellEditing ( EOColumnEditor)
getCellEditorValue
public Object
getCellEditorValue
()
super
's
implementation to return the text value of the receiver's editorComponent
,
an EOTextField.isCellEditable
public boolean
isCellEditable
(java.util.EventObject event)
super
's
implementation to return true
as
long as event is not a java.awt.event.MouseEvent with
a click count of less than two.setCellEditorValue
public void
setCellEditorValue
(Object initialValue)
setText
.