de.espirit.firstspirit.ui.gadgets.aspects.focus
Interface SwingFocusable
public interface SwingFocusable
Aspect for swing based gadgets that provide a focusable component.
- Since:
- 4.2.405
Nested Class Summary |
static interface |
SwingFocusable.Handler
Handler providing means to actually give the focus to a focusable. |
TYPE
static final AspectType<SwingFocusable> TYPE
- The aspect's technical type being used to request the aspect from a
Aspectable
.
- Since:
- 4.2.405
acceptFocus
void acceptFocus(@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
Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480