Widget_Select
The widget_select offer a widget composed by select box to extend you input selection.
How to Initialize any Widgets?
To add a widgets call AddWidget function from GUIs members that own this function.
Class Details
Main Functions
Initialization & Main Functions
Name |
Arguments |
Return |
Description |
Init |
|
VOID |
This function Initialized every part of the viewer : HMTL, CSS, Data, Events, etc... It will be generated in the defined ID and all HTML IDs used for this will start by the RegistryName defined in arguments. |
Launch |
|
VOID |
Launch all systems required by the this and will call all children launch. |
Options Functions
Name |
Arguments |
Return |
Description |
AddOption |
|
THIS |
Add a new option to the select box. |
GetOption |
|
String |
Get the active option name. |
SetOption |
|
THIS |
Force to select a specified option. |
SetOnChange |
|
THIS |
This function set the event: "change" to detect when a selection has been made. |
Overrides / Inherited Functions:
Setters Functions
Name |
Arguments |
Return |
Description |
AddLayout |
|
Same as parent. |
|
AddWidget |
|
Same as parent. |
|
Destroy |
|
None |
Same as parent. |
Clear |
|
None |
Same as parent. |
Design functions
Positions and general design:
Name |
Arguments |
Return |
Description |
Visible |
|
This |
Same as parent. |
SetSizePosition |
|
This |
Same as parent. |
GetPosition |
|
@CSS String |
Same as parent. |
GetSize |
|
Class:
|
Same as parent. |
SetPadding |
|
This |
Same as parent. |
SetMargin |
|
This |
Same as parent. |
AddVerticalOverflow |
|
This |
Same as parent. |
AddHorizontalOverflow |
|
This |
Same as parent. |
SetRotation |
|
This |
Same as parent. |
Style:
Name |
Arguments |
Return |
Description |
SetBackgroundColor |
|
This |
Same as parent. |
SetBackgroundImage |
|
VOID |
Same as parent. |
SetBGImageRepeat |
|
This |
Same as parent. |
SetBGImageSizeAndPosition |
|
This |
Same as parent. |
SetOpacity |
|
None |
Same as parent. |
Contour:
Name |
Arguments |
Return |
Description |
SetBorder |
|
This |
Same as parent. |
RemoveOutline |
|
This |
Same as parent. |
Font:
Name |
Arguments |
Return |
Description |
SetFontSize |
|
This |
Same as parent. |
Interaction:
Name |
Arguments |
Return |
Description |
ForceInteraction |
|
This |
Same as parent. |
AddHoveredEvent |
|
VOID |
Same as parent. |
AddPressedEvent |
|
VOID |
Same as parent. |
Movable |
|
VOID |
Same as parent. |
trigger |
|
VOID |
Same as parent. |
Private Details
All private details are usable but its recommended to not use any of those. It might modify the proper functioning of the class.
Variables (Members):
Main Members
Name |
Type |
Default Value |
Description |
parent |
undefined |
Parent class of this widget |
|
id |
String |
undefined |
Global HMTL Id of the viewer (# + name). |
registryName |
String |
undefined |
Name of this widget. |
basedId |
String |
undefined |
Where it is located is the existing DOM (its parent). |
widgetType |
Hold the type of this widget. |
||
layout |
null |
Hold this widget layout (if created). |
Overrides / Inherited functions:
Name |
Arguments |
Return |
Description |
Shift |
|
None |
Same as parent. |
Compatibility
LANGUAGE CLASS: Not compatible.
Created with the Personal Edition of HelpNDoc: Full-featured Kindle eBooks generator