Interface SwingFocusable
public interface SwingFocusable
Aspect for swing based gadgets that provide a focusable component.
- Since:
- 4.2.405
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Handler providing means to actually give the focus to a focusable. -
Field Summary
Modifier and TypeFieldDescriptionstatic final AspectType<SwingFocusable>
The aspect's technical type being used to request the aspect from aAspectable
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptFocus
(@NotNull SwingFocusable.Handler handler) Hands a handler providing means to give focus.
-
Field Details
-
TYPE
The aspect's technical type being used to request the aspect from aAspectable
.- Since:
- 4.2.405
-
-
Method Details
-
acceptFocus
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
-