Packagecc.cote.feathers.softkeyboard.layouts
Classpublic class QwertySwitch
InheritanceQwertySwitch Inheritance Layout Inheritance Object

The QwertySwitch class defines a basic qwerty-inspired keyboard layout. It also provides a SWITCH_LAYOUT key.



Public Properties
 PropertyDefined By
 InheritedcapsLock : Boolean = false
Indicates whether the caps lock key is initially engaged (true) or not (false)
Layout
 InheritedhorizontalGap : Number = .1
Horizontal gap between keys (expressed as a ratio to the default key width)
Layout
 Inheritedrows : Vector.<Key>
Vector of rows defined for the layout.
Layout
 Inheritedspacer : Key
Spacer key (fake key to leave space in a keyboard layout)
Layout
 InheritedverticalGap : Number = .1
Vertical gap between keys (expressed as a ratio to the default key height).
Layout
Public Methods
 MethodDefined By
  
QwertySwitch(switchKeyClass:Class)
Creates a new QwertySwitch object.
QwertySwitch
Public Constants
 ConstantDefined By
  SWITCH_KEY_LABEL : String = ABC
[static] The label to use on SWITCH_LAYOUT keys pointing to this layout.
QwertySwitch
Constructor Detail
QwertySwitch()Constructor
public function QwertySwitch(switchKeyClass:Class)

Creates a new QwertySwitch object.

Parameters
switchKeyClass:Class — The class to instantiate when the SWITCH_LAYOUT key is pressed.
Constant Detail
SWITCH_KEY_LABELConstant
public static const SWITCH_KEY_LABEL:String = ABC

The label to use on SWITCH_LAYOUT keys pointing to this layout.