Package | com.yworks.canvas |
Class | public class CanvasEvent |
Inheritance | CanvasEvent flash.events.Event |
CanvasComponent
.
Property | Defined By | ||
---|---|---|---|
canvas : CanvasComponent [read-only]
Returns the CanvasComponent that dispatched this event. | CanvasEvent |
Method | Defined By | ||
---|---|---|---|
CanvasEvent(type:String, canvas:CanvasComponent) | CanvasEvent | ||
clone():Event [override] | CanvasEvent |
Constant | Defined By | ||
---|---|---|---|
UPDATE_TREE : String = updateTree [static]
Dispatched when the canvas object tree is repainted
| CanvasEvent | ||
VIEWPOINT_CHANGED : String = viewPointChanged Deprecated: Please Use VIEW_POINT_CHANGED [static]
Constant for "viewPointChanged". | CanvasEvent | ||
VIEW_POINT_CHANGED : String = viewPointChanged [static]
Dispatched when the view point of a CanvasComponent changes. | CanvasEvent | ||
VIEWPORT_CHANGED : String = viewPortChanged Deprecated: Please Use VIEW_PORT_CHANGED [static]
Constant for "viewPortChanged"
| CanvasEvent | ||
VIEW_PORT_CHANGED : String = viewPortChanged [static]
Dispatched when the viewport of a CanvasComponent changes. | CanvasEvent | ||
ZOOM_CHANGED : String = zoomChanged [static]
Dispatched when the zoom of a CanvasComponent changes. | CanvasEvent |
canvas | property |
canvas:CanvasComponent
[read-only]
Returns the CanvasComponent
that dispatched this event.
public function get canvas():CanvasComponent
CanvasEvent | () | Constructor |
public function CanvasEvent(type:String, canvas:CanvasComponent)
type:String | |
canvas:CanvasComponent |
clone | () | method |
override public function clone():Event
ReturnsEvent |
UPDATE_TREE | Constant |
public static const UPDATE_TREE:String = updateTree
Dispatched when the canvas object tree is repainted
VIEW_POINT_CHANGED | Constant |
public static const VIEW_POINT_CHANGED:String = viewPointChanged
Dispatched when the view point of a CanvasComponent
changes.
VIEW_PORT_CHANGED | Constant |
public static const VIEW_PORT_CHANGED:String = viewPortChanged
Dispatched when the viewport of a CanvasComponent
changes.
VIEWPOINT_CHANGED | Constant |
public static const VIEWPOINT_CHANGED:String = viewPointChanged
Constant for "viewPointChanged".
VIEWPORT_CHANGED | Constant |
public static const VIEWPORT_CHANGED:String = viewPortChanged
Constant for "viewPortChanged"
ZOOM_CHANGED | Constant |
public static const ZOOM_CHANGED:String = zoomChanged
Dispatched when the zoom of a CanvasComponent
changes.