org.vishia.gral.swt

## Class SwtMng.SwtMngFocusListener

- java.lang.Object
- - org.vishia.gral.swt.SwtMng.SwtMngFocusListener

- All Implemented Interfaces:
    java.util.EventListener, org.eclipse.swt.events.FocusListener, org.eclipse.swt.internal.SWTEventListener
  Direct Known Subclasses:
    SwtTextFieldWrapper.TextFieldFocusListener
  Enclosing class:
    SwtMng

      protected class SwtMng.SwtMngFocusListener
      extends java.lang.Object
      implements org.eclipse.swt.events.FocusListener

  Universal focus listener to register which widgets were in focus in its order, to set htmlHelp and to invoke the `GralWidget.setActionFocused(GralUserAction)`.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `(package private) GralMng.GralMngFocusListener` | `gralFocus`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SwtMngFocusListener(GralMng mng)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `focusGained(org.eclipse.swt.events.FocusEvent ev)`
    `void` | `focusLost(org.eclipse.swt.events.FocusEvent ev)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### gralFocus

          GralMng.GralMngFocusListener gralFocus

  - ### Constructor Detail

    - #### SwtMngFocusListener

          SwtMngFocusListener(GralMng mng)

  - ### Method Detail

    - #### focusLost

          public void focusLost(org.eclipse.swt.events.FocusEvent ev)

      Specified by:
        `focusLost` in interface `org.eclipse.swt.events.FocusListener`

    - #### focusGained

          public void focusGained(org.eclipse.swt.events.FocusEvent ev)

      Specified by:
        `focusGained` in interface `org.eclipse.swt.events.FocusListener`