Class: PickerList

PickerList

PickerList

new GOWN.PickerList(theme)

PickerList allows the user to select an option from a list
Name Type Description
theme GOWN.Theme optional theme for the picker list

Extends

Members

static,readonlyGOWN.PickerList.SKIN_NAMEString

Default picker list skin name

dataProviderArray

Set the data provider for the GOWN.List

enabledBoolean

Enables/Disables the control. (not implemented yet)

itemRendererFactoryfunction

Set item renderer factory for the GOWN.List

popUpParentGOWN.PickerList

TODO
Default Value:
  • this

Methods

Closes the pop-up list, if it is open.
Destroy button and list and remove button listeners

inherited mousePos(){PIXI.Point}

Get the local mouse position from PIXI.InteractionData
Returns:
Type Description
PIXI.Point
Opens the pop-up list, if it isn't already open.

protectedredraw()

Update before draw call

inherited setTheme(theme)

Change the theme (every control can have a theme, even if it does not inherit Skinable, e.g. if there is only some color in the skin that will be taken or if it has some skinable components as children)
Name Type Description
theme GOWN.Theme the new theme