com.alee.utils.swing
Class WebDefaultCellEditor.EditorDelegate<T>

java.lang.Object
  extended by com.alee.utils.swing.WebDefaultCellEditor.EditorDelegate<T>
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.ItemListener, java.io.Serializable, java.util.EventListener
Direct Known Subclasses:
WebFileTableCellEditor.FileNameEditorDelegate, WebFileTreeCellEditor.FileNameEditorDelegate
Enclosing class:
WebDefaultCellEditor<C extends javax.swing.JComponent>

protected class WebDefaultCellEditor.EditorDelegate<T>
extends java.lang.Object
implements java.awt.event.ActionListener, java.awt.event.ItemListener, java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  T value
           
 
Constructor Summary
protected WebDefaultCellEditor.EditorDelegate()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void cancelCellEditing()
           
 T getCellEditorValue()
           
 boolean isCellEditable(java.util.EventObject anEvent)
           
 void itemStateChanged(java.awt.event.ItemEvent e)
           
 void setValue(T value)
           
 boolean shouldSelectCell(java.util.EventObject anEvent)
           
 boolean stopCellEditing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected T value
Constructor Detail

WebDefaultCellEditor.EditorDelegate

protected WebDefaultCellEditor.EditorDelegate()
Method Detail

getCellEditorValue

public T getCellEditorValue()

setValue

public void setValue(T value)

isCellEditable

public boolean isCellEditable(java.util.EventObject anEvent)

shouldSelectCell

public boolean shouldSelectCell(java.util.EventObject anEvent)

stopCellEditing

public boolean stopCellEditing()

cancelCellEditing

public void cancelCellEditing()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
Specified by:
itemStateChanged in interface java.awt.event.ItemListener