| Package | com.yworks.canvas.input.snapLines |
| Class | public class SnapContextEvent |
| Inheritance | SnapContextEvent flash.events.Event |
| Subclasses | CollectSnapLinesEvent, CollectSnapResultEvent |
SnapContextEvent class represents the event object passed to the event listener for events
dispatched by the SnapContext.
See also
| Method | Defined By | ||
|---|---|---|---|
SnapContextEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new instance of the SnapContextEvent class. | SnapContextEvent | ||
clone():Event [override] | SnapContextEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| CLEANED_UP : String = cleanedUp [static]
Dispatched when the SnapContext has cleaned up itself. | SnapContextEvent | ||
| INITIALIZED : String = initialized [static]
Dispatched when a drag in the SnapContext has been initialized. | SnapContextEvent | ||
| INITIALIZING : String = initializing [static]
Dispatched when the SnapContext has started to initialize a drag. | SnapContextEvent | ||
| SnapContextEvent | () | Constructor |
public function SnapContextEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new instance of the SnapContextEvent class.
type:String — The event type.
| |
bubbles:Boolean (default = false) — Whether the event bubbles.
| |
cancelable:Boolean (default = false) — Whether the event is cancelable.
|
| clone | () | method |
override public function clone():EventReturnsEvent |
| CLEANED_UP | Constant |
public static const CLEANED_UP:String = cleanedUp
Dispatched when the SnapContext has cleaned up itself.
| INITIALIZED | Constant |
public static const INITIALIZED:String = initialized
Dispatched when a drag in the SnapContext has been initialized.
| INITIALIZING | Constant |
public static const INITIALIZING:String = initializing
Dispatched when the SnapContext has started to initialize a drag.