Interface CycleFocusProvider
public interface CycleFocusProvider
This interface provides an ability for switching focus.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
switchNextFocus
(Widget widget) Switches a focus to the next widget/object on a scene.boolean
switchPreviousFocus
(Widget widget) Switches a focus to the previous widget/object on a scene.
-
Method Details
-
switchPreviousFocus
Switches a focus to the previous widget/object on a scene.- Parameters:
widget
- the widget where the action was invoked- Returns:
- true, if switching was successful
-
switchNextFocus
Switches a focus to the next widget/object on a scene.- Parameters:
widget
- the widget where the action was invoked- Returns:
- true, if switching was successful
-