Package | cc.cote.feathers.softkeyboard |
Class | public class KeyRow |
Inheritance | KeyRow ![]() |
KeyRow
class contains all the keys in a single keyboard row. It basically
acts as a DisplayObjectContainer
with a few extra properties.
See also
Property | Defined By | ||
---|---|---|---|
keys : Vector.<Key> A vector of all Key objects in the KeyRow. | KeyRow | ||
length : uint [read-only] Number of keys in the key row. | KeyRow | ||
relativeWidth : Number = 0 Relative width of the KeyRow in arbitraty units. | KeyRow |
Method | Defined By | ||
---|---|---|---|
Creates a new KeyRow object. | KeyRow |
keys | property |
public var keys:Vector.<Key>
A vector of all Key
objects in the KeyRow
.
length | property |
length:uint
[read-only] Number of keys in the key row.
public function get length():uint
relativeWidth | property |
public var relativeWidth:Number = 0
Relative width of the KeyRow
in arbitraty units.
KeyRow | () | Constructor |
public function KeyRow(keys:Vector.<Key>, gap:Number)
Creates a new KeyRow
object.
keys:Vector.<Key> — Vector of Key objects to add to the KeyRow .
| |
gap:Number — Gap to leave between keys (in arbitraty units).
|