Holger's
Java API

com.antelmann.util.table
Class ColorDialogCellEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by javax.swing.DefaultCellEditor
          extended by com.antelmann.util.table.AbstractDialogCellEditor<Color>
              extended by com.antelmann.util.table.ColorDialogCellEditor
All Implemented Interfaces:
ValueRetriever<Color>, ValueSetter<Color>, Serializable, CellEditor, TableCellEditor, TreeCellEditor

public class ColorDialogCellEditor
extends AbstractDialogCellEditor<Color>

provides a dialog to edit colors

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.DefaultCellEditor
DefaultCellEditor.EditorDelegate
 
Field Summary
 
Fields inherited from class com.antelmann.util.table.AbstractDialogCellEditor
column, columnName, dialogComponent, dialogTitle, expanded, isSelected, leaf, row, table, tree
 
Fields inherited from class javax.swing.DefaultCellEditor
clickCountToStart, delegate, editorComponent
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
ColorDialogCellEditor()
           
 
Method Summary
 Color getRelevantValue()
          returns the relevant value for this instance at the time of calling
 void setRelevantValue(Color c)
          sets the relevant value for this instance with the given value
 
Methods inherited from class com.antelmann.util.table.AbstractDialogCellEditor
getCellEditorValue, getDialogComponent, getRelevantComponent, getTableCellEditorComponent, getTreeCellEditorComponent, isCellEditable, isResizable, setResizable, showDialog, valueChanged
 
Methods inherited from class javax.swing.DefaultCellEditor
cancelCellEditing, getClickCountToStart, getComponent, setClickCountToStart, shouldSelectCell, stopCellEditing
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, 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
 

Constructor Detail

ColorDialogCellEditor

public ColorDialogCellEditor()
Method Detail

getRelevantValue

public Color getRelevantValue()
Description copied from interface: ValueRetriever
returns the relevant value for this instance at the time of calling


setRelevantValue

public void setRelevantValue(Color c)
                      throws Exception
Description copied from interface: ValueSetter
sets the relevant value for this instance with the given value

Throws:
Exception


(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads