Package | cc.cote.feathers.softkeyboard.layouts |
Class | public class Layout |
Inheritance | Layout ![]() |
Subclasses | Azerty, AzertyFr, AzertySwitch, AzertySwitchFr, EmailNumbersSymbolsSwitch, EmailSwitch, NumbersSymbols, NumbersSymbolsSwitch, NumPad, NumPadOperators, Qwerty, QwertyFr, QwertySwitch, QwertySwitchFr |
Layout
class is meant to be extended to create custom keyboard layouts. It
contains a few properties that all layouts shoud contain.
Property | Defined 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 |
Method | Defined By | ||
---|---|---|---|
Layout() Constructor | Layout |
capsLock | property |
public var capsLock:Boolean = false
Indicates whether the caps lock key is initially engaged (true) or not (false)
horizontalGap | property |
public var horizontalGap:Number = .1
Horizontal gap between keys (expressed as a ratio to the default key width)
rows | property |
public var rows:Vector.<Key>
Vector of rows defined for the layout. Each row is itself a vector of Key
objects.
spacer | property |
public var spacer:Key
Spacer key (fake key to leave space in a keyboard layout)
verticalGap | property |
public var verticalGap:Number = .1
Vertical gap between keys (expressed as a ratio to the default key height).
Layout | () | Constructor |
public function Layout()
Constructor