Packagecc.cote.feathers.softkeyboard.layouts
Classpublic class NumbersAndSymbols
InheritanceNumbersAndSymbols Inheritance Layout Inheritance Object

The NumbersAndSymbols class defines a keyboard layout containing all 10 digits and the most useful symbol characters (including many key variants).



Public Properties
 PropertyDefined By
 InheritedcapsLock : Boolean = false
Indicates whether the caps lock key is initially engaged (true) or not (false)
Layout
 InheriteddefaultLayoutToSwitchTo : Class
The default layout to switch to (expressed by its class) if the SWITCH_LAYOUT key is pressed and does not have any key-specific switch layout defined.
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
 InheritedswitchLayoutLabel : String
The label of the special SWITCH_LAYOUT key (if present).
Layout
 InheritedverticalGap : Number = .1
Vertical gap between keys (expressed as a ratio to the default key height)
Layout
Public Methods
 MethodDefined By
  
NumbersAndSymbols(switchLayoutLabel:String, defaultLayoutToSwitchTo:Class = null)
Creates a new NumbersAndSymbols object.
NumbersAndSymbols
Constructor Detail
NumbersAndSymbols()Constructor
public function NumbersAndSymbols(switchLayoutLabel:String, defaultLayoutToSwitchTo:Class = null)

Creates a new NumbersAndSymbols object.

Parameters
switchLayoutLabel:String — The label of the special SWITCH_LAYOUT key.
 
defaultLayoutToSwitchTo:Class (default = null) — The layout to switch to when the SWITCH_LAYOUT key is pressed and doesn't have a switchLayout defined.