Package | org.openzoom.flash.viewport.controllers |
Class | public final class KeyboardController |
Inheritance | KeyboardController org.openzoom.flash.viewport.controllers.ViewportControllerBase |
Implements | IViewportController |
Property | Defined by | ||
---|---|---|---|
booster : Boolean = true | KeyboardController | ||
boostFactor : Number = 12 | KeyboardController | ||
downKey : String
Key for panning the viewport down.
| KeyboardController | ||
end : Boolean = true | KeyboardController | ||
fullScreen : Boolean = true | KeyboardController | ||
fullScreenKey : String
Key for panning the viewport up.
| KeyboardController | ||
home : Boolean = true | KeyboardController | ||
leftKey : String
Key for panning the viewport to the left.
| KeyboardController | ||
pageDown : Boolean = true | KeyboardController | ||
pageUp : Boolean = true | KeyboardController | ||
panDown : Boolean = true | KeyboardController | ||
panFactor : Number
Factor for panning within the scene, e.g.
| KeyboardController | ||
panLeft : Boolean = true | KeyboardController | ||
panRight : Boolean = true | KeyboardController | ||
panUp : Boolean = true | KeyboardController | ||
rightKey : String
Key for panning the viewport to the right.
| KeyboardController | ||
showAll : Boolean = true | KeyboardController | ||
showAllKey : String
Key for fitting the entire scene into the viewport.
| KeyboardController | ||
upKey : String
Key for panning the viewport up.
| KeyboardController | ||
zoomIn : Boolean = true | KeyboardController | ||
zoomInFactor : Number
Factor for zooming into the scene.
| KeyboardController | ||
zoomInKey : String
Key for zooming into the scene.
| KeyboardController | ||
zoomOut : Boolean = true | KeyboardController | ||
zoomOutFactor : Number
Factor for zooming out of the scene.
| KeyboardController | ||
zoomOutKey : String
Key for zooming out of the scene.
| KeyboardController |
Method | Defined by | ||
---|---|---|---|
Constructor.
| KeyboardController |
booster | property |
public var booster:Boolean = true
boostFactor | property |
public var boostFactor:Number = 12
downKey | property |
downKey:String
[read-write]Key for panning the viewport down.
The default value is S
.
public function get downKey():String
public function set downKey(value:String):void
end | property |
public var end:Boolean = true
fullScreen | property |
public var fullScreen:Boolean = true
fullScreenKey | property |
fullScreenKey:String
[read-write]Key for panning the viewport up.
The default value is W
.
public function get fullScreenKey():String
public function set fullScreenKey(value:String):void
home | property |
public var home:Boolean = true
leftKey | property |
leftKey:String
[read-write]Key for panning the viewport to the left.
The default value is A
.
public function get leftKey():String
public function set leftKey(value:String):void
pageDown | property |
public var pageDown:Boolean = true
pageUp | property |
public var pageUp:Boolean = true
panDown | property |
public var panDown:Boolean = true
panFactor | property |
panFactor:Number
[read-write]Factor for panning within the scene, e.g. a factor of 0.15 means the viewport is panned by 15 percent upon each key stroke.
The default value is 0.1
.
public function get panFactor():Number
public function set panFactor(value:Number):void
panLeft | property |
public var panLeft:Boolean = true
panRight | property |
public var panRight:Boolean = true
panUp | property |
public var panUp:Boolean = true
rightKey | property |
rightKey:String
[read-write]Key for panning the viewport to the right.
The default value is D
.
public function get rightKey():String
public function set rightKey(value:String):void
showAll | property |
public var showAll:Boolean = true
showAllKey | property |
showAllKey:String
[read-write]Key for fitting the entire scene into the viewport.
The default value is H
.
public function get showAllKey():String
public function set showAllKey(value:String):void
upKey | property |
upKey:String
[read-write]Key for panning the viewport up.
The default value is W
.
public function get upKey():String
public function set upKey(value:String):void
zoomIn | property |
public var zoomIn:Boolean = true
zoomInFactor | property |
zoomInFactor:Number
[read-write]Factor for zooming into the scene.
The default value is 2.0
.
public function get zoomInFactor():Number
public function set zoomInFactor(value:Number):void
zoomInKey | property |
zoomInKey:String
[read-write]Key for zooming into the scene.
The default value is I
.
public function get zoomInKey():String
public function set zoomInKey(value:String):void
zoomOut | property |
public var zoomOut:Boolean = true
zoomOutFactor | property |
zoomOutFactor:Number
[read-write]Factor for zooming out of the scene.
The default value is 0.7
.
public function get zoomOutFactor():Number
public function set zoomOutFactor(value:Number):void
zoomOutKey | property |
zoomOutKey:String
[read-write]Key for zooming out of the scene.
The default value is 0
.
public function get zoomOutKey():String
public function set zoomOutKey(value:String):void
KeyboardController | () | constructor |
public function KeyboardController()
Constructor.