Package org.apache.uima.tools.stylemap
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 javax.swing.DefaultCellEditor
DefaultCellEditor.EditorDelegate -
Field Summary
FieldsModifier and TypeFieldDescription(package private) ColorThe current color.private static final longThe Constant serialVersionUID.Fields inherited from class javax.swing.DefaultCellEditor
clickCountToStart, delegate, editorComponentFields inherited from class javax.swing.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 javax.swing.DefaultCellEditor
cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditingMethods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, fireEditingCanceled, getCellEditorListeners, removeCellEditorListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.CellEditor
addCellEditorListener, removeCellEditorListener
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDThe Constant serialVersionUID.- See Also:
-
currentColor
Color currentColorThe current color.
-
-
Constructor Details
-
ColorEditor
Instantiates a new color editor.- Parameters:
button- the button
-
-
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
-