Module flower.widget
Flower Extentions Library for widget.
Info:
- Release: V3.0.0
- Author: Makoto
Functions
showDialog (...) | This class is an native dialog or IOS and Android. |
showDialogBox (scene, params) | This class is an DialogBox |
setTheme (theme) | Set the theme of widget. |
getTheme () | Return the theme of widget. |
getThemeMgr () | Return the singlton instance of ThemeMgr. |
getFocusMgr () | Return the singlton instance of FocusMgr. |
getLayoutMgr () | Return the singlton instance of LayoutMgr. |
Classes
BaseTheme | BaseTheme Class. |
ThemeMgr | ThemeMgr Class. |
FocusMgr | FocusMgr Class. |
LayoutMgr | LayoutMgr Class. |
TextAlign | TextAlign Class. |
UIEvent | UIEvent Class. |
UIComponent | UIComponent Class. |
UILayer | UILayer Class. |
UIGroup | UIGroup Class. |
UIView | UIView Class. |
UILayout | UILayout Class. |
UILabel | UILabel Class. |
BoxLayout | BoxLayout Class. |
Button | Button Class. |
ImageButton | ImageButton Class. |
SheetButton | SheetButton Class. |
CheckBox | CheckBox Class. |
Joystick | Joystick Class. |
Panel | Panel Class. |
TextLabel | TextLabel Class. |
TextBox | TextBox Class. |
TextInput | TextInput Class. |
MsgBox | MsgBox Class. |
DialogBox | DialogBox Class. |
ListBox | ListBox Class. |
ListItem | ListItem Class. |
Slider | Slider Class. |
Spacer | Spacer Class. |
ScrollGroup | ScrollGroup Class. |
ScrollView | ScrollView Class. |
PanelView | PanelView Class. |
TextView | TextView Class. |
ListView | ListView Class. |
ListViewLayout | ListViewLayout Class. |
BaseItemRenderer | BaseItemRenderer Class. |
LabelItemRenderer | LabelItemRenderer Class. |
ImageLabelItemRenderer | ImageLabelItemRenderer Class. |
SheetImageLabelItemRenderer | SheetImageLabelItemRenderer Class. |
CheckBoxItemRenderer | CheckBoxItemRenderer Class. |
Functions
- showDialog (...)
-
This class is an native dialog or IOS and Android.
Parameters:
- ... title, message, positive, neutral, negative, cancelable, callback
- showDialogBox (scene, params)
-
This class is an DialogBox
Parameters:
- scene scene
- params params
- setTheme (theme)
-
Set the theme of widget.
TODO:Theme can be changed dynamically
Parameters:
- theme theme of widget
- getTheme ()
-
Return the theme of widget.
Returns:
-
theme
- getThemeMgr ()
-
Return the singlton instance of ThemeMgr.
Returns:
-
themeMgr
- getFocusMgr ()
-
Return the singlton instance of FocusMgr.
TODO:Delete
Returns:
-
focusMgr
- getLayoutMgr ()
-
Return the singlton instance of LayoutMgr.
Returns:
-
LayoutMgr
Classes
- BaseTheme
-
BaseTheme Class.
see also:
- ThemeMgr
-
ThemeMgr Class.
see also:
- FocusMgr
-
FocusMgr Class.
see also:
- LayoutMgr
-
LayoutMgr Class.
see also:
- TextAlign
-
TextAlign Class.
see also:
- UIEvent
-
UIEvent Class.
see also:
- UIComponent
-
UIComponent Class.
see also:
- UILayer
-
UILayer Class.
see also:
- UIGroup
-
UIGroup Class.
see also:
- UIView
-
UIView Class.
see also:
- UILayout
-
UILayout Class.
see also:
- UILabel
-
UILabel Class.
see also:
- BoxLayout
-
BoxLayout Class.
see also:
- Button
-
Button Class.
see also:
- ImageButton
-
ImageButton Class.
see also:
- SheetButton
-
SheetButton Class.
see also:
- CheckBox
-
CheckBox Class.
see also:
- Joystick
-
Joystick Class.
see also:
- Panel
-
Panel Class.
see also:
- TextLabel
-
TextLabel Class.
see also:
- TextBox
-
TextBox Class.
see also:
- TextInput
-
TextInput Class.
see also:
- MsgBox
-
MsgBox Class.
see also:
- DialogBox
-
DialogBox Class.
see also:
- ListBox
-
ListBox Class.
see also:
- ListItem
-
ListItem Class.
see also:
- Slider
-
Slider Class.
see also:
- Spacer
-
Spacer Class.
see also:
- ScrollGroup
-
ScrollGroup Class.
see also:
- ScrollView
-
ScrollView Class.
see also:
- PanelView
-
PanelView Class.
see also:
- TextView
-
TextView Class.
see also:
- ListView
-
ListView Class.
see also:
- ListViewLayout
-
ListViewLayout Class.
see also:
- BaseItemRenderer
-
BaseItemRenderer Class.
see also:
- LabelItemRenderer
-
LabelItemRenderer Class.
see also:
- ImageLabelItemRenderer
-
ImageLabelItemRenderer Class.
see also:
- SheetImageLabelItemRenderer
-
SheetImageLabelItemRenderer Class.
see also:
- CheckBoxItemRenderer
-
CheckBoxItemRenderer Class.
see also: