Schnittstelle UiHasFocusEvents<T,C extends UiComponent<T,?>>

Alle bekannten Implementierungsklassen:
UiButton, UiButtonControl, UiButtonGroup, UiCalendar, UiCheckBox, UiCheckBoxes, UiComboBox, UiControl, UiDataTable, UiDateField, UiDateInputField, UiDecimalField, UiDropDown, UiFileUpload, UiIconButton, UiInputField, UiIntegerField, UiLink, UiList, UiListControl, UiMultiSelectionButtonGroup, UiMultiSelectionList, UiNumberInputField, UiPasswordField, UiPhoneNumberField, UiPushButtons, UiQueryTable, UiRadioButtons, UiSearchField, UiSingleSelectionList, UiTableControl, UiTextArea, UiTextField, UiTextInputField, UiToggleButtons

public interface UiHasFocusEvents<T,C extends UiComponent<T,?>>
Indicates that a component can provide input focus events.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    onFocusLost(Consumer<T> eventHandler)
    Registers an event handler that will be invoked if a interactive component loses the input focus.
  • Methodendetails

    • onFocusLost

      C onFocusLost(Consumer<T> eventHandler)
      Registers an event handler that will be invoked if a interactive component loses the input focus.
      Parameter:
      eventHandler - The event handler to be invoked
      Gibt zurück:
      The component the handler has been registered on