API Documentation | All Packages | All Classes | Index | Frames No Frames |
Class DrawingEvent

Package | org.openscales.core.events
Class | public class DrawingEvent
Inheritance | DrawingEvent OpenScalesEvent flash.events.Event

Event related to the drawing action : In order to not mix all handler (pan, drawing...), this event can determine when you're drawing. So if there are problems with control (like zoomBox or selectBox), you can easily manage all different handlers.

Public Methods

| Method | Defined by
--- | --- | ---
|  | DrawingEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false) | DrawingEvent

Public Constants

| Constant | Defined by
--- | --- | ---
|  | DISABLED : String = "openscales.drawing.disabled" [static] Drawing mode is disabled | DrawingEvent
|  | ENABLED : String = "openscales.drawing.enabled" [static] Drawing mode is enabled | DrawingEvent

Constructor detail

DrawingEvent | () | constructor

`public function DrawingEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)`Parameters

| `type:String`
| `bubbles:Boolean` (default = `false`)``
| `cancelable:Boolean` (default = `false`)``

Constant detail

DISABLED | constant

`public static const DISABLED:String = "openscales.drawing.disabled"`

Drawing mode is disabled

ENABLED | constant |

`public static const ENABLED:String = "openscales.drawing.enabled"`

Drawing mode is enabled