Class DefaultCellEditor.EditorDelegate
java.lang.Object
vaadinx.swing.DefaultCellEditor.EditorDelegate
- All Implemented Interfaces:
ActionListener, ItemListener, Serializable, EventListener
- Enclosing class:
DefaultCellEditor
protected class DefaultCellEditor.EditorDelegate
extends Object
implements ActionListener, ItemListener, Serializable
Handles the editor component's value marshalling and turns its action/item
events into
stopCellEditing. Ported from JDK's inner class; each ctor
subclasses it to bind the specific component's get/set.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanisCellEditable(EventObject anEvent) voidvoidbooleanshouldSelectCell(EventObject anEvent) booleanstartCellEditing(EventObject anEvent) boolean
-
Field Details
-
value
The delegate's cached value (base impl; type-specific subclasses read the component live).
-
-
Constructor Details
-
EditorDelegate
protected EditorDelegate()
-
-
Method Details
-
getCellEditorValue
-
setValue
-
isCellEditable
-
shouldSelectCell
-
startCellEditing
-
stopCellEditing
public boolean stopCellEditing() -
cancelCellEditing
public void cancelCellEditing() -
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
itemStateChanged
- Specified by:
itemStateChangedin interfaceItemListener
-