Package io.jmix.flowui.component
Interface SupportsEnterPress<C extends com.vaadin.flow.component.Component>
- All Known Implementing Classes:
- DataGrid,- TreeDataGrid
public interface SupportsEnterPress<C extends com.vaadin.flow.component.Component>
A component that supports Enter key handling.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classSupportsEnterPress.EnterPressEvent<C extends com.vaadin.flow.component.Component>Event when Enter shortcut is detected.
- 
Method SummaryModifier and TypeMethodDescriptionvoidSets code to execute when Enter key is pressed.
- 
Method Details- 
setEnterPressHandlerSets code to execute when Enter key is pressed.- Parameters:
- handler- code to execute when Enter key is pressed or- nullto remove previously set.
 
 
-