| Package | com.afcomponents.umap.events |
| Class | public class OverlayEvent |
| Inheritance | OverlayEvent flash.events.Event |
OverlayEvent.ADDED: dispatched when overlay has been added to a MapObjectContainer, e.g. Layer.OverlayEvent.READY: dispatched when overlay enters ready state.OverlayEvent.HIDE: dispatched when overlay becomes invisible.OverlayEvent.SHOW: dispatched when overlay becomes visible.OverlayEvent.CHANGED: dispatched when overlay properties have been changed.OverlayEvent.BEFORE_REFRESH: dispatched when overlay position is about to be refrereshed.OverlayEvent.REFRESH: dispatched when overlay position has been refrereshed.OverlayEvent.BEFORE_REDRAW: dispatched when overlay is about to be redrawn.OverlayEvent.REDRAW: dispatched when overlay has been redrawn.OverlayEvent.CLICK: dispatched when overlay has been clicked.OverlayEvent.DOUBLE_CLICK: dispatched when overlay has been double clicked.OverlayEvent.MOUSE_DOWN: dispatched when user presses a mouse button over the overlay.OverlayEvent.MOUSE_UP: dispatched when user releases a mouse button over the overlay.OverlayEvent.MOUSE_MOVE: dispatched when user moves the mouse over the overlay.OverlayEvent.ROLL_OVER: dispatched when user rolls over the overlay.OverlayEvent.ROLL_OUT: dispatched when user rolls out the overlay.OverlayEvent.DRAG: dispatched when user drags the overlay.OverlayEvent.DRAG_START: dispatched when user starts dragging the overlay.OverlayEvent.DRAG_STOP: dispatched when user stops dragging the overlay.OverlayEvent.INFO_WINDOW_OPENED: dispatched when the InfoWindow has been opened with the overlay.OverlayEvent.INFO_WINDOW_CLOSED: dispatched when the InfoWindow has been closed with the overlay.| Property | Defined by | ||
|---|---|---|---|
| param : * [read-only]
Returns value of
param property. | OverlayEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
OverlayEvent(type:String, param:Boolean = null, bubbles:Boolean = false, cancelable:* = false)
Creates an OverlayEvent object that contains information about overlay events.
| OverlayEvent | ||
|
clone():Event
Clones the event.
| OverlayEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
| ADDED : String = "overlayAdded" [static]
The OverlayEvent.ADDED constant defines the value of the
type property of an
overlayAdded event object. | OverlayEvent | ||
| BEFORE_REDRAW : String = "overlayBeforeRedraw" [static]
The OverlayEvent.BEFORE_REDRAW constant defines the value of the
type property of an
overlayBeforeRedraw event object. | OverlayEvent | ||
| BEFORE_REFRESH : String = "overlayBeforeRefresh" [static]
The OverlayEvent.BEFORE_REFRESH constant defines the value of the
type property of an
overlayBeforeRefresh event object. | OverlayEvent | ||
| CHANGED : String = "overlayChanged" [static]
The OverlayEvent.CHANGED constant defines the value of the
type property of an
overlayChange event object. | OverlayEvent | ||
| CLICK : String = "overlayClick" [static]
The OverlayEvent.CLICK constant defines the value of the
type property of an
overlayClick event object. | OverlayEvent | ||
| DOUBLE_CLICK : String = "overlayDoubleClick" [static]
The OverlayEvent.DOUBLE_CLICK constant defines the value of the
type property of an
overlayDoubleClick event object. | OverlayEvent | ||
| DRAG : String = "overlayDrag" [static]
The OverlayEvent.DRAG constant defines the value of the
type property of an
overlayDrag event object. | OverlayEvent | ||
| DRAG_START : String = "overlayDragStart" [static]
The OverlayEvent.DRAG_START constant defines the value of the
type property of an
overlayDragStart event object. | OverlayEvent | ||
| DRAG_STOP : String = "overlayDragStop" [static]
The OverlayEvent.DRAG_STOP constant defines the value of the
type property of an
overlayDragStop event object. | OverlayEvent | ||
| HIDE : String = "overlayHide" [static]
The OverlayEvent.HIDE constant defines the value of the
type property of an
overlayHide event object. | OverlayEvent | ||
| INFO_WINDOW_CLOSED : String = "infoWindowClosed" [static]
The OverlayEvent.INFO_WINDOW_CLOSED constant defines the value of the
type property of an
infoWindowClosed event object. | OverlayEvent | ||
| INFO_WINDOW_OPENED : String = "infoWindowOpened" [static]
The OverlayEvent.INFO_WINDOW_OPENED constant defines the value of the
type property of an
infoWindowOpened event object. | OverlayEvent | ||
| MOUSE_DOWN : String = "overlayMouseDown" [static]
The OverlayEvent.MOUSE_DOWN constant defines the value of the
type property of an
overlayMouseDown event object. | OverlayEvent | ||
| MOUSE_MOVE : String = "overlayMouseMove" [static]
The OverlayEvent.MOUSE_MOVE constant defines the value of the
type property of an
overlayMouseMove event object. | OverlayEvent | ||
| MOUSE_UP : String = "overlayMouseUp" [static]
The OverlayEvent.MOUSE_UP constant defines the value of the
type property of an
overlayMouseUp event object. | OverlayEvent | ||
| READY : String = "overlayReady" [static]
The OverlayEvent.READY constant defines the value of the
type property of an
overlayReady event object. | OverlayEvent | ||
| REDRAW : String = "overlayRedraw" [static]
The OverlayEvent.REDRAW constant defines the value of the
type property of an
overlayRedraw event object. | OverlayEvent | ||
| REFRESH : String = "overlayRefresh" [static]
The OverlayEvent.REFRESH constant defines the value of the
type property of an
overlayRefresh event object. | OverlayEvent | ||
| ROLL_OUT : String = "overlayRollOut" [static]
The OverlayEvent.ROLL_OUT constant defines the value of the
type property of an
overlayRollOut event object. | OverlayEvent | ||
| ROLL_OVER : String = "overlayRollOver" [static]
The OverlayEvent.ROLL_OVER constant defines the value of the
type property of an
overlayRollOver event object. | OverlayEvent | ||
| SHOW : String = "overlayShow" [static]
The OverlayEvent.SHOW constant defines the value of the
type property of an
overlayShow event object. | OverlayEvent | ||
| param | property |
param:* [read-only]
Returns value of param property.
public function get param():*
| OverlayEvent | () | constructor |
public function OverlayEvent(type:String, param:Boolean = null, bubbles:Boolean = false, cancelable:* = false)Creates an OverlayEvent object that contains information about overlay events. Event objects are passed as parameters to event listeners.
Parameterstype:String — The type of the event.
Event listeners can access this information through the inherited type property.
|
|
param:Boolean (default = null) — Contains additional information associated with the event.
|
|
bubbles:Boolean (default = false) — Determines whether the Event object participates in the bubbling phase of the event flow.
Event listeners can access this information through the inherited bubbles property.
|
|
cancelable:* (default = false) — Determines whether the Event object can be canceled.
Event listeners can access this information through the inherited cancelable property.
|
| clone | () | method |
public override function clone():EventClones the event.
ReturnsEvent |
| ADDED | constant |
public static const ADDED:String = "overlayAdded"
The OverlayEvent.ADDED constant defines the value of the type property of an
overlayAdded event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance which has been added to MapObjectContainer. |
param | null |
| BEFORE_REDRAW | constant |
public static const BEFORE_REDRAW:String = "overlayBeforeRedraw"
The OverlayEvent.BEFORE_REDRAW constant defines the value of the type property of an
overlayBeforeRedraw event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance that is going to be invalidated. |
param | null |
| BEFORE_REFRESH | constant |
public static const BEFORE_REFRESH:String = "overlayBeforeRefresh"
The OverlayEvent.BEFORE_REFRESH constant defines the value of the type property of an
overlayBeforeRefresh event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance which position is about to be refreshed. |
param | A value of true if full refresh will be made; false if it will be not. |
| CHANGED | constant |
public static const CHANGED:String = "overlayChanged"
The OverlayEvent.CHANGED constant defines the value of the type property of an
overlayChange event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance that has been changed. |
param | Name of the property that has changed. |
| CLICK | constant |
public static const CLICK:String = "overlayClick"
The OverlayEvent.CLICK constant defines the value of the type property of an
overlayClick event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance that has been clicked. |
param | null |
| DOUBLE_CLICK | constant |
public static const DOUBLE_CLICK:String = "overlayDoubleClick"
The OverlayEvent.DOUBLE_CLICK constant defines the value of the type property of an
overlayDoubleClick event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance that has been double clicked. |
param | null |
| DRAG | constant |
public static const DRAG:String = "overlayDrag"
The OverlayEvent.DRAG constant defines the value of the type property of an
overlayDrag event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance which is being dragged. |
param | null |
| DRAG_START | constant |
public static const DRAG_START:String = "overlayDragStart"
The OverlayEvent.DRAG_START constant defines the value of the type property of an
overlayDragStart event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance which has started being dragged. |
param | null |
| DRAG_STOP | constant |
public static const DRAG_STOP:String = "overlayDragStop"
The OverlayEvent.DRAG_STOP constant defines the value of the type property of an
overlayDragStop event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance which has stopped being dragged. |
param | null |
| HIDE | constant |
public static const HIDE:String = "overlayHide"
The OverlayEvent.HIDE constant defines the value of the type property of an
overlayHide event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance that has become invisible. |
param | null |
| INFO_WINDOW_CLOSED | constant |
public static const INFO_WINDOW_CLOSED:String = "infoWindowClosed"
The OverlayEvent.INFO_WINDOW_CLOSED constant defines the value of the type property of an
infoWindowClosed event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance that has closed an InfoWindow. |
param | null |
| INFO_WINDOW_OPENED | constant |
public static const INFO_WINDOW_OPENED:String = "infoWindowOpened"
The OverlayEvent.INFO_WINDOW_OPENED constant defines the value of the type property of an
infoWindowOpened event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance that has opened an InfoWindow. |
param | null |
| MOUSE_DOWN | constant |
public static const MOUSE_DOWN:String = "overlayMouseDown"
The OverlayEvent.MOUSE_DOWN constant defines the value of the type property of an
overlayMouseDown event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance over which user pressed a mouse button. |
param | null |
| MOUSE_MOVE | constant |
public static const MOUSE_MOVE:String = "overlayMouseMove"
The OverlayEvent.MOUSE_MOVE constant defines the value of the type property of an
overlayMouseMove event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance over which mouse have been moved. |
param | null |
| MOUSE_UP | constant |
public static const MOUSE_UP:String = "overlayMouseUp"
The OverlayEvent.MOUSE_UP constant defines the value of the type property of an
overlayMouseUp event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance over which user released a mouse button. |
param | null |
| READY | constant |
public static const READY:String = "overlayReady"
The OverlayEvent.READY constant defines the value of the type property of an
overlayReady event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance that has entered ready state. |
param | null |
| REDRAW | constant |
public static const REDRAW:String = "overlayRedraw"
The OverlayEvent.REDRAW constant defines the value of the type property of an
overlayRedraw event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance that has been invalidated. |
param | null |
| REFRESH | constant |
public static const REFRESH:String = "overlayRefresh"
The OverlayEvent.REFRESH constant defines the value of the type property of an
overlayRefresh event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance which position has been refreshed. |
param | A value of true if full refresh has been made; false if it has not. |
| ROLL_OUT | constant |
public static const ROLL_OUT:String = "overlayRollOut"
The OverlayEvent.ROLL_OUT constant defines the value of the type property of an
overlayRollOut event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance over which roll out event occured. |
param | null |
| ROLL_OVER | constant |
public static const ROLL_OVER:String = "overlayRollOver"
The OverlayEvent.ROLL_OVER constant defines the value of the type property of an
overlayRollOver event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance over which a roll over event occured. |
param | null |
| SHOW | constant |
public static const SHOW:String = "overlayShow"
The OverlayEvent.SHOW constant defines the value of the type property of an
overlayShow event object.
This event has the following properties:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is no default behavior to cancel. |
currentTarget |
The object that is actively processing the OverlayEvent object with an event listener. |
target | The Overlay instance that has become visible. |
param | null |