Packageorg.openzoom.flash.viewport.controllers
Classpublic final class KeyboardController
InheritanceKeyboardController Inheritance org.openzoom.flash.viewport.controllers.ViewportControllerBase
ImplementsIViewportController

Keyboard controller for viewports.



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined by
  
Constructor.
KeyboardController
Property detail
boosterproperty
public var booster:Boolean = true
boostFactorproperty 
public var boostFactor:Number = 12
downKeyproperty 
downKey:String  [read-write]

Key for panning the viewport down.

The default value is S.

Implementation
    public function get downKey():String
    public function set downKey(value:String):void
endproperty 
public var end:Boolean = true
fullScreenproperty 
public var fullScreen:Boolean = true
fullScreenKeyproperty 
fullScreenKey:String  [read-write]

Key for panning the viewport up.

The default value is W.

Implementation
    public function get fullScreenKey():String
    public function set fullScreenKey(value:String):void
homeproperty 
public var home:Boolean = true
leftKeyproperty 
leftKey:String  [read-write]

Key for panning the viewport to the left.

The default value is A.

Implementation
    public function get leftKey():String
    public function set leftKey(value:String):void
pageDownproperty 
public var pageDown:Boolean = true
pageUpproperty 
public var pageUp:Boolean = true
panDownproperty 
public var panDown:Boolean = true
panFactorproperty 
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.

Implementation
    public function get panFactor():Number
    public function set panFactor(value:Number):void
panLeftproperty 
public var panLeft:Boolean = true
panRightproperty 
public var panRight:Boolean = true
panUpproperty 
public var panUp:Boolean = true
rightKeyproperty 
rightKey:String  [read-write]

Key for panning the viewport to the right.

The default value is D.

Implementation
    public function get rightKey():String
    public function set rightKey(value:String):void
showAllproperty 
public var showAll:Boolean = true
showAllKeyproperty 
showAllKey:String  [read-write]

Key for fitting the entire scene into the viewport.

The default value is H.

Implementation
    public function get showAllKey():String
    public function set showAllKey(value:String):void
upKeyproperty 
upKey:String  [read-write]

Key for panning the viewport up.

The default value is W.

Implementation
    public function get upKey():String
    public function set upKey(value:String):void
zoomInproperty 
public var zoomIn:Boolean = true
zoomInFactorproperty 
zoomInFactor:Number  [read-write]

Factor for zooming into the scene.

The default value is 2.0.

Implementation
    public function get zoomInFactor():Number
    public function set zoomInFactor(value:Number):void
zoomInKeyproperty 
zoomInKey:String  [read-write]

Key for zooming into the scene.

The default value is I.

Implementation
    public function get zoomInKey():String
    public function set zoomInKey(value:String):void
zoomOutproperty 
public var zoomOut:Boolean = true
zoomOutFactorproperty 
zoomOutFactor:Number  [read-write]

Factor for zooming out of the scene.

The default value is 0.7.

Implementation
    public function get zoomOutFactor():Number
    public function set zoomOutFactor(value:Number):void
zoomOutKeyproperty 
zoomOutKey:String  [read-write]

Key for zooming out of the scene.

The default value is 0.

Implementation
    public function get zoomOutKey():String
    public function set zoomOutKey(value:String):void
Constructor detail
KeyboardController()constructor
public function KeyboardController()

Constructor.