| Package | gs.display.view |
| Class | public class BaseView |
| Inheritance | BaseView GSClip flash.display.MovieClip |
| Subclasses | BaseFormView |
| Property | Defined by | ||
|---|---|---|---|
| controller : *
A controller for this view.
| BaseView | ||
![]() | stage : Stage
StageRef.stage (gs.util.StageRef)
| GSClip | |
| Method | Defined by | ||
|---|---|---|---|
|
BaseView()
Constructor for BaseView instances.
| BaseView | ||
|
dispose():void
Override this method and write your own dispose logic.
| BaseView | ||
![]() |
hide():void
Sets the visible property to false.
| GSClip | |
![]() |
show():void
Sets the visible property to true.
| GSClip | |
| Method | Defined by | ||
|---|---|---|---|
|
addEventHandlers():void
Override this method, and use the event manager to add event handlers
on your objects.
| BaseView | ||
|
init():void
Initialize this view - called from the constructor.
| BaseView | ||
|
onActivate():void
Override this method to hook into the activate event.
| BaseView | ||
|
onAddedToStage():void
Override this method to hook into the added to stage event.
| BaseView | ||
|
onDeactive():void
Override this method to hook into the deactivate event.
| BaseView | ||
|
onMouseLeave():void
A method you can override to hook into the mouse
leve event.
| BaseView | ||
|
onRemovedFromStage():void
Override this method to hook into the removed from stage event.
| BaseView | ||
|
onResize():void
Override this method to hook into resize events from the stage.
| BaseView | ||
|
removeEventHandlers():void
Override this method, and remove events from objects that were registered
with the event manager.
| BaseView | ||
| controller | property |
public var controller:*A controller for this view.
| BaseView | () | constructor |
public function BaseView()Constructor for BaseView instances.
| addEventHandlers | () | method |
protected function addEventHandlers():voidOverride this method, and use the event manager to add event handlers on your objects.
| dispose | () | method |
public override function dispose():voidOverride this method and write your own dispose logic.
| init | () | method |
protected function init():voidInitialize this view - called from the constructor.
| onActivate | () | method |
protected function onActivate():voidOverride this method to hook into the activate event.
| onAddedToStage | () | method |
protected function onAddedToStage():voidOverride this method to hook into the added to stage event.
This method calls addEventHandlers() and onResize().
| onDeactive | () | method |
protected function onDeactive():voidOverride this method to hook into the deactivate event.
| onMouseLeave | () | method |
protected function onMouseLeave():voidA method you can override to hook into the mouse leve event.
| onRemovedFromStage | () | method |
protected function onRemovedFromStage():voidOverride this method to hook into the removed from stage event.
This method also calls removeEventHandlers().
| onResize | () | method |
protected function onResize():voidOverride this method to hook into resize events from the stage.
| removeEventHandlers | () | method |
protected function removeEventHandlers():voidOverride this method, and remove events from objects that were registered with the event manager.