Interface CycleFocusProvider


public interface CycleFocusProvider
This interface provides an ability for switching focus.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Switches a focus to the next widget/object on a scene.
    boolean
    Switches a focus to the previous widget/object on a scene.
  • Method Details

    • switchPreviousFocus

      boolean switchPreviousFocus(Widget widget)
      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

      boolean switchNextFocus(Widget widget)
      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