Package | sekati.views |
Class | public class AbstractInteractiveView |
Inheritance | AbstractInteractiveView InteractiveSprite CoreSprite flash.display.Sprite |
The purpose pf the views
package is to offer view abstracts of the core display
package
DisplayObjects
to encourate initializing code in configUI()
to gain the boost of the JIT
which is not available within the constructor
and give a simple method for initializing view-type
container / controller classes.
Method | Defined by | ||
---|---|---|---|
AbstractInteractiveView Constructor
| AbstractInteractiveView | ||
addChildren(... args):void
Add multiple child
DisplayObject 's. | CoreSprite | ||
destroy():void
Clean up after thy self.
| InteractiveSprite | ||
toString():String
Return reflective output.
| CoreSprite |
Method | Defined by | ||
---|---|---|---|
click(e:MouseEvent = null):void
Stub: click event handler.
| InteractiveSprite | ||
configListeners(isAdd:Boolean = false):void
Event listener management.
| InteractiveSprite | ||
configUI():void
Configure View Elements: We do this to gain JIT which is unavailable in the constructor.
| AbstractInteractiveView | ||
invalidate():void
Request a redraw, use for deferred rendering.
| CoreSprite | ||
offStage(e:Event = null):void
Remove the listeners when removed from the stage.
| InteractiveSprite | ||
onStage(e:Event = null):void
Add listeners when added to stage.
| InteractiveSprite | ||
out(e:MouseEvent = null):void
Stub: mouse out event handler.
| InteractiveSprite | ||
over(e:MouseEvent = null):void
Stub: mouse over event handler.
| InteractiveSprite | ||
press(e:MouseEvent = null):void
Stub: press event handler.
| InteractiveSprite | ||
release(e:MouseEvent = null):void
Stub: release event handler.
| InteractiveSprite | ||
releaseOutside(e:Event = null):void
Stub: release outside event handler.
| InteractiveSprite |
AbstractInteractiveView | () | constructor |
public function AbstractInteractiveView()
AbstractInteractiveView Constructor
configUI | () | method |
protected function configUI():void
Configure View Elements: We do this to gain JIT which is unavailable in the constructor.