Package | flexlib.containers |
Class | public class DragScrollingCanvas |
Inheritance | DragScrollingCanvas ![]() |
Property | Defined By | ||
---|---|---|---|
childrenDoDrag : Boolean
Boolean to indicate whether the mouse events on the child components
should trigger the dragging. | DragScrollingCanvas | ||
undraggableChildren : Array
Array of child components that will not trigger the dragging. | DragScrollingCanvas | ||
undraggableClasses : Array
Array of Classes that will not trigger the dragging. | DragScrollingCanvas |
childrenDoDrag | property |
childrenDoDrag:Boolean
Boolean to indicate whether the mouse events on the child components should trigger the dragging. If true, any mouse down events will trigger dragging, even if these events happen on a child, like a Button. If set to false then only mouse down events directly on the canvas will trigger dragging.
The default value is true
.
public function get childrenDoDrag():Boolean
public function set childrenDoDrag(value:Boolean):void
undraggableChildren | property |
undraggableChildren:Array
Array of child components that will not trigger the dragging. Only applicable if <codeph>childrenDoDrag</codeph> is true.
public function get undraggableChildren():Array
public function set undraggableChildren(value:Array):void
undraggableClasses | property |
undraggableClasses:Array
Array of Classes that will not trigger the dragging. Only applicable if <codeph>childrenDoDrag</codeph> is true.
public function get undraggableClasses():Array
public function set undraggableClasses(value:Array):void