Packagecc.cote.feathers.softkeyboard.layouts
Classpublic class QwertyEnSingleSwitch
InheritanceQwertyEnSingleSwitch Inheritance Layout Inheritance Object

The QwertyEnSingleSwitch class defines a qwerty-based keyboard layout useful in an English-only context. It provides a single SWITCH_LAYOUT key to allow switching to the layout provided to the constructor.



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
  
QwertyEnSingleSwitch(switchKeyClass:*)
Creates a new QwertyEnSingleSwitch object.
QwertyEnSingleSwitch
Public Constants
 ConstantDefined By
  SWITCH_KEY_LABEL : String = ABC
[static] The label to use on SWITCH_LAYOUT keys pointing to this layout.
QwertyEnSingleSwitch
Constructor Detail
QwertyEnSingleSwitch()Constructor
public function QwertyEnSingleSwitch(switchKeyClass:*)

Creates a new QwertyEnSingleSwitch object.

Parameters
switchKeyClass:* — 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.