jist.runtime.guilog
Class GuiLog.ChildrenCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
jist.runtime.guilog.GuiLog.ChildrenCellEditor
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.util.EventListener, javax.swing.CellEditor, javax.swing.table.TableCellEditor
- Enclosing class:
- GuiLog
public static class GuiLog.ChildrenCellEditor
- extends javax.swing.AbstractCellEditor
- implements javax.swing.table.TableCellEditor, java.awt.event.ActionListener
ChildrenCellEditor is a customized TableCellEditor for JiST Events.
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractCellEditor |
changeEvent, listenerList |
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
Defines how JComboBox selections on the Children column are handled. |
java.lang.Object |
getCellEditorValue()
Overloaded to satisfy the CellEditor interface. |
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
Returns the Component that edits the TableCell. |
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 |
GuiLog.ChildrenCellEditor
public GuiLog.ChildrenCellEditor(javax.swing.JTable t,
GuiLog.EventTableModel m)
- The ChildrenCellEditorConstructor.
- Parameters:
t
- JTable The table that the ChildrenCellEditor edits.m
- EventTableModel The table's data model.
getTableCellEditorComponent
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
- Returns the Component that edits the TableCell. Parameters are the same as those in the
getTableCellEditorComponent() method in interface TableCellEditor.
- Specified by:
getTableCellEditorComponent
in interface javax.swing.table.TableCellEditor
- Parameters:
table
- JTablevalue
- ObjectisSelected
- booleanrow
- intcolumn
- int
- Returns:
- Component
getCellEditorValue
public java.lang.Object getCellEditorValue()
- Overloaded to satisfy the CellEditor interface.
- Specified by:
getCellEditorValue
in interface javax.swing.CellEditor
- Returns:
- Object
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Defines how JComboBox selections on the Children column are handled.
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
- Parameters:
e
- ActionEvent