Class NatCombo.FocusListenerWrapper

All Implemented Interfaces:
EventListener,, org.eclipse.swt.internal.SWTEventListener
Enclosing class:

public class NatCombo.FocusListenerWrapper extends Object implements
FocusListener that is used to ensure that the Text control and the dropdown table control are sharing the same focus. If either of both controls looses focus, the local focus flag is set to false and a delayed background thread for focus lost is started. If the other control gains focus, the local focus flag is set to true which skips the execution of the delayed background thread. This means the NatCombo hasn't lost focus.
  • Constructor Details

    • FocusListenerWrapper

      public FocusListenerWrapper()
  • Method Details

    • focusLost

      public void focusLost( e)
      Specified by:
      focusLost in interface
    • focusGained

      public void focusGained( e)
      Specified by:
      focusGained in interface