ix.iface.ui.table
Class IXDefaultCellEditor
java.lang.Object
|
+--javax.swing.AbstractCellEditor
|
+--javax.swing.DefaultCellEditor
|
+--ix.iface.ui.table.IXDefaultCellEditor
- All Implemented Interfaces:
- java.awt.event.ActionListener, javax.swing.CellEditor, java.util.EventListener, java.awt.event.FocusListener, java.io.Serializable, javax.swing.table.TableCellEditor, javax.swing.tree.TreeCellEditor
- Direct Known Subclasses:
- HandlerActionEditor
- public class IXDefaultCellEditor
- extends javax.swing.DefaultCellEditor
- implements java.awt.event.FocusListener, java.awt.event.ActionListener
A TableCellEditor with a combo box that can re-select the same item.
- See Also:
- Serialized Form
Inner classes inherited from class javax.swing.DefaultCellEditor |
javax.swing.DefaultCellEditor.EditorDelegate |
Fields inherited from class javax.swing.DefaultCellEditor |
clickCountToStart, delegate, editorComponent |
Fields inherited from class javax.swing.AbstractCellEditor |
changeEvent, listenerList |
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
focusGained(java.awt.event.FocusEvent fe)
|
void |
focusLost(java.awt.event.FocusEvent fe)
|
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
Overwrite this with your own initialisation if needed, then call this as
the last thing you do. |
Methods inherited from class javax.swing.DefaultCellEditor |
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing |
Methods inherited from class javax.swing.AbstractCellEditor |
addCellEditorListener, fireEditingCanceled, fireEditingStopped, removeCellEditorListener |
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, removeCellEditorListener |
IXDefaultCellEditor
public IXDefaultCellEditor(IXComboBox cb)
getTableCellEditorComponent
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
- Overwrite this with your own initialisation if needed, then call this as
the last thing you do.
See HandlerActionEditor for an example.
- Overrides:
getTableCellEditorComponent
in class javax.swing.DefaultCellEditor
focusGained
public void focusGained(java.awt.event.FocusEvent fe)
- Specified by:
focusGained
in interface java.awt.event.FocusListener
focusLost
public void focusLost(java.awt.event.FocusEvent fe)
- Specified by:
focusLost
in interface java.awt.event.FocusListener
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener