swingwtx.swing
Class DefaultCellEditor.SWTEditor

java.lang.Object
  extended byswingwtx.swing.DefaultCellEditor.SWTEditor
All Implemented Interfaces:
ChangeListener, EventListener, java.util.EventListener, FocusListener
Enclosing class:
DefaultCellEditor

protected abstract class DefaultCellEditor.SWTEditor
extends java.lang.Object
implements FocusListener, ChangeListener

Handling class that maps details of the widget being used for editing. Different component types override the setValue/getCellEditorValue methods to return the correct stuff.


Constructor Summary
protected DefaultCellEditor.SWTEditor()
           
 
Method Summary
 void cancelCellEditing()
           
 void focusGained(FocusEvent e)
           
 void focusLost(FocusEvent e)
           
abstract  java.lang.Object getCellEditorValue()
           
 boolean isCellEditable(java.util.EventObject anEvent)
           
abstract  void setValue(java.lang.Object value)
           
 boolean shouldSelectCell(java.util.EventObject anEvent)
           
 boolean startCellEditing(java.util.EventObject anEvent)
           
 void stateChanged(ChangeEvent e)
           
 boolean stopCellEditing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCellEditor.SWTEditor

protected DefaultCellEditor.SWTEditor()
Method Detail

getCellEditorValue

public abstract java.lang.Object getCellEditorValue()

setValue

public abstract void setValue(java.lang.Object value)

isCellEditable

public boolean isCellEditable(java.util.EventObject anEvent)

shouldSelectCell

public boolean shouldSelectCell(java.util.EventObject anEvent)

startCellEditing

public boolean startCellEditing(java.util.EventObject anEvent)

stopCellEditing

public boolean stopCellEditing()

cancelCellEditing

public void cancelCellEditing()

focusGained

public void focusGained(FocusEvent e)
Specified by:
focusGained in interface FocusListener

focusLost

public void focusLost(FocusEvent e)
Specified by:
focusLost in interface FocusListener

stateChanged

public void stateChanged(ChangeEvent e)
Specified by:
stateChanged in interface ChangeListener