org.fopps.ui
Class EnumTableEditor

java.lang.Object
  |
  +--javax.swing.AbstractCellEditor
        |
        +--javax.swing.DefaultCellEditor
              |
              +--org.fopps.ui.EnumTableEditor
All Implemented Interfaces:
javax.swing.CellEditor, java.io.Serializable, javax.swing.table.TableCellEditor, javax.swing.tree.TreeCellEditor

public class EnumTableEditor
extends javax.swing.DefaultCellEditor

A EnumTableEditor is a special cell editor for enumeration types.

Author:
Oliver Wieland
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.DefaultCellEditor
clickCountToStart, delegate, editorComponent
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
EnumTableEditor(EnumComboBox comboBox)
          Constructs a DefaultCellEditor object that uses a combo box.
 
Method Summary
 java.lang.Object getCellEditorValue()
          Forwards the message from the CellEditor to the delegate.
 
Methods inherited from class javax.swing.DefaultCellEditor
cancelCellEditing, getClickCountToStart, getComponent, getTableCellEditorComponent, getTreeCellEditorComponent, isCellEditable, 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

EnumTableEditor

public EnumTableEditor(EnumComboBox comboBox)
Constructs a DefaultCellEditor object that uses a combo box.

Method Detail

getCellEditorValue

public java.lang.Object getCellEditorValue()
Forwards the message from the CellEditor to the delegate.

Specified by:
getCellEditorValue in interface javax.swing.CellEditor
Overrides:
getCellEditorValue in class javax.swing.DefaultCellEditor
See Also:
DefaultCellEditor.getCellEditorValue()


Fopps 0.19 - Copyright © 2002 Oliver Wieland. All Rights Reserved.