Class CustomEditorEventListener
java.lang.Object
com.vaadin.addon.spreadsheet.client.CustomEditorEventListener
- All Implemented Interfaces:
com.google.gwt.user.client.EventListener
public class CustomEditorEventListener
extends Object
implements com.google.gwt.user.client.EventListener
Custom editor event listener for handling keyboard events and focus changes
in a custom editor slot within a spreadsheet.
This class listens for keydown events to handle tab and escape keys, focus
events to update the selected cell. The focus/blur events is also used to
store the focused state of the assigned element in the slot.
It is designed to work with a
Slot that represents a custom editor
and a SpreadsheetWidget that provides the context of the spreadsheet.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidonBrowserEvent(com.google.gwt.user.client.Event event) voidsetCellAddress(String cellAddress) void
-
Constructor Details
-
CustomEditorEventListener
public CustomEditorEventListener()
-
-
Method Details
-
init
-
setCellAddress
-
getCellAddress
-
onBrowserEvent
public void onBrowserEvent(com.google.gwt.user.client.Event event) - Specified by:
onBrowserEventin interfacecom.google.gwt.user.client.EventListener
-
setSpreadsheetWidget
-