Class ColorEditor
java.lang.Object
javax.swing.AbstractCellEditor
javax.swing.DefaultCellEditor
org.apache.uima.tools.stylemap.ColorEditor
- All Implemented Interfaces:
Serializable, CellEditor, TableCellEditor, TreeCellEditor
The Class ColorEditor.
-
Nested Class Summary
Nested classes/interfaces inherited from class DefaultCellEditor
DefaultCellEditor.EditorDelegate -
Field Summary
FieldsModifier and TypeFieldDescription(package private) ColorThe current color.private static final longThe Constant serialVersionUID.Fields inherited from class DefaultCellEditor
clickCountToStart, delegate, editorComponentFields inherited from class AbstractCellEditor
changeEvent, listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) Methods inherited from class DefaultCellEditor
cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditingMethods inherited from class AbstractCellEditor
addCellEditorListener, fireEditingCanceled, getCellEditorListeners, removeCellEditorListenerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CellEditor
addCellEditorListener, removeCellEditorListener
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDThe Constant serialVersionUID.- See Also:
-
currentColor
Color currentColorThe current color.
-
-
Constructor Details
-
ColorEditor
-
-
Method Details
-
fireEditingStopped
public void fireEditingStopped()- Overrides:
fireEditingStoppedin classAbstractCellEditor
-
getCellEditorValue
- Specified by:
getCellEditorValuein interfaceCellEditor- Overrides:
getCellEditorValuein classDefaultCellEditor
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) - Specified by:
getTableCellEditorComponentin interfaceTableCellEditor- Overrides:
getTableCellEditorComponentin classDefaultCellEditor
-