Interface SwingFocusable


public interface SwingFocusable
Aspect for swing based gadgets that provide a focusable component.
Since:
4.2.405
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Handler providing means to actually give the focus to a focusable.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The aspect's technical type being used to request the aspect from a Aspectable.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Hands a handler providing means to give focus.
  • Field Details

  • Method Details

    • acceptFocus

      void acceptFocus(@NotNull @NotNull SwingFocusable.Handler handler)
      Hands a handler providing means to give focus. Implementors should always apply the handler to focus and not use Swing mechanisms directly, as focus giving might be situation-dependent.
      Parameters:
      handler - The handler to be used for focusing on a component.
      Since:
      4.2.405