ix.ip2
Class HandlerActionEditor

java.lang.Object
  |
  +--javax.swing.AbstractCellEditor
        |
        +--javax.swing.DefaultCellEditor
              |
              +--ix.iface.ui.table.IXDefaultCellEditor
                    |
                    +--ix.ip2.HandlerActionEditor
All Implemented Interfaces:
java.awt.event.ActionListener, javax.swing.CellEditor, java.util.EventListener, java.awt.event.FocusListener, java.io.Serializable, javax.swing.table.TableCellEditor, javax.swing.tree.TreeCellEditor

public class HandlerActionEditor
extends IXDefaultCellEditor

A TableCellEditor for HandlerActions of AgendaItems.

See Also:
Serialized Form

Inner classes inherited from class javax.swing.DefaultCellEditor
javax.swing.DefaultCellEditor.EditorDelegate
 
Field Summary
(package private)  HandlerAction currentAction
           
(package private)  java.util.List handlerActions
           
(package private)  AgendaItem item
           
(package private)  AgendaTableViewer viewer
           
 
Fields inherited from class javax.swing.DefaultCellEditor
clickCountToStart, delegate, editorComponent
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
HandlerActionEditor(AgendaTableViewer viewer, IXComboBox jcb)
           
 
Method Summary
 java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean selected, int row, int col)
          Overwrite this with your own initialisation if needed, then call this as the last thing you do.
 
Methods inherited from class ix.iface.ui.table.IXDefaultCellEditor
actionPerformed, focusGained, focusLost
 
Methods inherited from class javax.swing.DefaultCellEditor
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, fireEditingCanceled, fireEditingStopped, 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
 

Field Detail

handlerActions

java.util.List handlerActions

currentAction

HandlerAction currentAction

item

AgendaItem item

viewer

AgendaTableViewer viewer
Constructor Detail

HandlerActionEditor

public HandlerActionEditor(AgendaTableViewer viewer,
                           IXComboBox jcb)
Method Detail

getTableCellEditorComponent

public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
                                                      java.lang.Object value,
                                                      boolean selected,
                                                      int row,
                                                      int col)
Description copied from class: IXDefaultCellEditor
Overwrite this with your own initialisation if needed, then call this as the last thing you do. See HandlerActionEditor for an example.
Overrides:
getTableCellEditorComponent in class IXDefaultCellEditor