Packagefeathers.controls
Classpublic class ScrollInteractionMode
InheritanceScrollInteractionMode Inheritance Object

Product Version : Feathers 3.0.0

Different ways that the user can interact with a scrolling container to control its scroll position.



Public Constants
 ConstantDefined By
  MOUSE : String = "mouse"
[static] The user may only interact with the scroll bars to scroll.
ScrollInteractionMode
  TOUCH : String = "touch"
[static] The user may touch anywhere on the scroller and drag to scroll.
ScrollInteractionMode
  TOUCH_AND_SCROLL_BARS : String = "touchAndScrollBars"
[static] The user may touch anywhere on the scroller and drag to scroll, and the scroll bars may be dragged separately.
ScrollInteractionMode
Constant Detail
MOUSEConstant
public static const MOUSE:String = "mouse"

Product Version : Feathers 3.0.0

The user may only interact with the scroll bars to scroll. The user cannot touch anywhere in the scroller's content and drag like a touch interface.

TOUCHConstant 
public static const TOUCH:String = "touch"

Product Version : Feathers 3.0.0

The user may touch anywhere on the scroller and drag to scroll. The scroll bars will be visual indicator of position, but they will not be interactive.

TOUCH_AND_SCROLL_BARSConstant 
public static const TOUCH_AND_SCROLL_BARS:String = "touchAndScrollBars"

Product Version : Feathers 3.0.0

The user may touch anywhere on the scroller and drag to scroll, and the scroll bars may be dragged separately. For most touch interfaces, this is not a common behavior. The scroll bar on touch interfaces is often simply a visual indicator and non-interactive.

One case where this mode might be used is a "scroll bar" that displays a tappable alphabetical index to navigate a GroupedList with alphabetical categories.