common
Class ColorEditor
java.lang.Object
javax.swing.AbstractCellEditor
common.ColorEditor
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.util.EventListener, javax.swing.CellEditor, javax.swing.table.TableCellEditor
public class ColorEditor
- extends javax.swing.AbstractCellEditor
- implements javax.swing.table.TableCellEditor, java.awt.event.ActionListener
- See Also:
- Serialized Form
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
Handles events from the editor button and from
the dialog's OK button. |
java.lang.Object |
getCellEditorValue()
|
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
|
Methods inherited from class javax.swing.AbstractCellEditor |
addCellEditorListener, cancelCellEditing, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.CellEditor |
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing |
ColorEditor
public ColorEditor()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Handles events from the editor button and from
the dialog's OK button.
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
getCellEditorValue
public java.lang.Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interface javax.swing.CellEditor
getTableCellEditorComponent
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
- Specified by:
getTableCellEditorComponent
in interface javax.swing.table.TableCellEditor