Class: $.RectangleFactory
- Inherits:
-
WatchUi.PickerFactory
-
WatchUi.PickerFactory
-
Overview
Factory for creating rectangles
Instance Member Summary collapse
- _color as Graphics.ColorType
Instance Method Summary collapse
-
getDrawable(index as Lang.Number, selected as Lang.Boolean) as WatchUi.Drawable or Null
Generate a Drawable instance for an item.
-
getSize() as Lang.Number
Get the number of picker items.
-
getValue(index as Lang.Number) as Lang.Object or Null
Get the value of the item at the given index.
-
initialize(color as Graphics.ColorType)
Constructor.
Instance Attribute Details
var _color as Graphics.ColorType
Instance Method Details
getDrawable(index as Lang.Number, selected as Lang.Boolean) as WatchUi.Drawable or Null
Generate a Drawable instance for an item
getSize() as Lang.Number
Get the number of picker items
getValue(index as Lang.Number) as Lang.Object or Null
Get the value of the item at the given index
initialize(color as Graphics.ColorType)
Constructor