Packagecc.cote.feathers.softkeyboard.layouts
Classpublic class Layout
InheritanceLayout Inheritance Object
Subclasses Azerty, AzertyFr, AzertySwitch, AzertySwitchFr, EmailNumbersSymbolsSwitch, EmailSwitch, NumbersSymbols, NumbersSymbolsSwitch, NumPad, NumPadOperators, Qwerty, QwertyFr, QwertySwitch, QwertySwitchFr

The Layout class is meant to be extended to create custom keyboard layouts. It contains a few properties that all layouts shoud contain.



Public Properties
 PropertyDefined By
  capsLock : Boolean = false
Indicates whether the caps lock key is initially engaged (true) or not (false)
Layout
  horizontalGap : Number = .1
Horizontal gap between keys (expressed as a ratio to the default key width)
Layout
  rows : Vector.<Key>
Vector of rows defined for the layout.
Layout
  spacer : Key
Spacer key (fake key to leave space in a keyboard layout)
Layout
  verticalGap : Number = .1
Vertical gap between keys (expressed as a ratio to the default key height).
Layout
Public Methods
 MethodDefined By
  
Constructor
Layout
Property Detail
capsLockproperty
public var capsLock:Boolean = false

Indicates whether the caps lock key is initially engaged (true) or not (false)

horizontalGapproperty 
public var horizontalGap:Number = .1

Horizontal gap between keys (expressed as a ratio to the default key width)

rowsproperty 
public var rows:Vector.<Key>

Vector of rows defined for the layout. Each row is itself a vector of Key objects.

spacerproperty 
public var spacer:Key

Spacer key (fake key to leave space in a keyboard layout)

verticalGapproperty 
public var verticalGap:Number = .1

Vertical gap between keys (expressed as a ratio to the default key height).

Constructor Detail
Layout()Constructor
public function Layout()

Constructor