Interface IUIFocusComp

All Superinterfaces:
IFocusComp, IGProp<GProp<?>[]>, IPropCnr
All Known Implementing Classes:
AbstractContentUIContainer, EMapMarkers, EMLGroup, EMList, EMLItemProp, EMUIHeading, EMUISimpleDialog, EMUISwitch, EMUITabBar, EUIAccordion, EUIButton, EUICalendar, EUICalendarList, EUICheckBox, EUIComboBox, EUIContainer, EUIContextMenu, EUIDateTime, EUIDialog, EUIGauge, EUIImage, EUIImage2, EUIMap, EUIMenu, EUIMenuBar, EUIOutput, EUIPanel, EUIPanelPart, EUIPanelPartCnr, EUIRadioButton, EUISlider, EUISpinner, EUISwapContainer, EUITabContainer, EUITable, EUIText, EUITextArea, EUITitlePane, MapMarkers, MLGroup, MList, MLItemProp, MUIHeading, MUISimpleDialog, MUISwitch, MUITabBar, UIAbstractListChoice, UIAccordion, UIButton, UICalendar, UICalendarList, UICheckBox, UIComboBox, UIContainer, UIContextMenu, UIDateTime, UIDialog, UIGauge, UIImage, UIImage2, UIMap, UIMenu, UIMenuBar, UIOutput, UIPanel, UIPanelBase, UIPanelPart, UIPanelPartCnr, UIRadioButton, UISlider, UISpinner, UISwapContainer, UITabContainer, UITable, UIText, UITextArea, UITitlePane

public interface IUIFocusComp extends IFocusComp
Focus component for the UI components.
Author:
Christopher Mindus
  • Method Details

    • onFocusLost

      default void onFocusLost(IFocusComp focusComp, IGProp<?> trigger, boolean isRemoteInduced)
      Called to the focused component when it loses focus.

      Focus components override this method if they need to process focus lost.

      This method invokes the method UIPanelBase.invokeOnUIFocusMethod(boolean, UIComp, UIComp, IGProp) by default so overriding the method must call super.onFocusLost(IFocusComp, IGProp, boolean).

      Specified by:
      onFocusLost in interface IFocusComp
      Parameters:
      focusComp - Component receiving focus, null for none.
      trigger - The component triggering the focus, null for none.
      isRemoteInduced - Flag indicating this event is due to a remote event.
    • onFocusGained

      default void onFocusGained(IFocusComp opposite, IGProp<?> trigger, boolean isRemoteInduced)
      Called to the component when it receives focus.

      Focus components override this method if they need to process focus gained.

      This method invokes the method UIPanelBase.invokeOnUIFocusMethod(boolean, UIComp, UIComp, IGProp) by default so overriding the method must call super.onFocusGained(IFocusComp, IGProp, boolean).

      Specified by:
      onFocusGained in interface IFocusComp
      Parameters:
      opposite - Component losing focus, null for none.
      trigger - The component triggering the focus, null for none.
      isRemoteInduced - Flag indicating this event is due to a remote event.