Package org.openstreetmap.josm.gui.util
Class CellEditorSupport
java.lang.Object
org.openstreetmap.josm.gui.util.CellEditorSupport
Utility class used to ease implementation of
CellEditor interface,
or one of its sub-interfaces, for classes that cannot extend AbstractCellEditor.- Since:
- 6912
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidWorker forCellEditor.addCellEditorListener(CellEditorListener)method.final voidFires "editing canceled" event to listeners.final voidFires "editing stopped" event to listeners.protected List<CellEditorListener>final voidWorker forCellEditor.removeCellEditorListener(CellEditorListener)method.
-
Field Details
-
editor
-
listeners
-
-
Constructor Details
-
CellEditorSupport
Constructs a newCellEditorSupport.- Parameters:
editor- The cell editor backed by this
-
-
Method Details
-
getListeners
-
addCellEditorListener
Worker forCellEditor.addCellEditorListener(CellEditorListener)method.- Parameters:
l- the CellEditorListener
-
removeCellEditorListener
Worker forCellEditor.removeCellEditorListener(CellEditorListener)method.- Parameters:
l- the CellEditorListener
-
fireEditingCanceled
Fires "editing canceled" event to listeners. -
fireEditingStopped
Fires "editing stopped" event to listeners.
-