Namespace for UI Widgets.
- Source:
Classes
- ActionOpenConfigWidget
- ActionOpenConfigWidget
- ArrayDataSet
- ArrayDataSet
- AutoLauncher
- AutoLauncher
- BaseTransition
- BaseTransition
- BaseWidget
- Button
- Button
- ButtonGroup
- ButtonTextBox
- CheckBox
- CheckBox
- CheckButton
- Clipboard
- ColorDropButton
- ColorDropButton
- ColorDropTextBox
- ColorDropTextBox
- ColorPicker
- ComboBox
- ComboTextBox
- ComboTextBox
- CompactButtonSet
- Container
- Css3GrowTransition
- Css3GrowTransition
- Css3OpacityTrans
- Css3SlideTransition
- Css3SlideTransition
- Css3TransformGrowTransition
- Css3TransformGrowTransition
- Css3TransformTrans
- Css3Transition
- Css3Transition
- Css3TransitionSimpleClassCreator
- DataPager
- DataTable
- DataTable
- Dialog
- Dialog
- DialogButtons
- DumbWidget
- DumbWidget
- DynamicEvokeHelper
- EvokeMode
- ExceptionHandler
- FontDetector
- FontEnumerator
- FormWidget
- GlobalManager
- Glyph
- Glyph
- InteractionController
- InteractionController
- Location
- Menu
- Menu
- MenuBar
- MenuItem
- MoveHelper
- MoveHelper
- MsgGroup
- MsgGroup
- MsgPanel
- MsgPanel
- MsgType
- NestedContainer
- ObjectInspector
- ObjectInspector
- ObjPropListEditor
- OperHistoryTreeView
- Panel
- PlaceHolder
- PlaceHolder
- PopupMenu
- PropEditorModifyOperation
- PropEditorModifyOperation
- RadioButton
- RadioButton
- ResizeGripper
- ResizeGripper
- SelectBox
- SelectBox
- ShowHideManager
- ShowHideTransitionSelector
- StyleResource
- StyleResource
- StyleResourceManager
- StyleResourceNames
- SysMsgGroup
- SysMsgGroup
- TabButtonGroup
- TabPage
- TabView
- TextArea
- TextArea
- TextBox
- TextBox
- TextEditor
- Toolbar
- TreeView
- Utils
- ValueListEditor
- WidgetGrid
- WidgetGroup
- WidgetsReady
Namespaces
Members
-
(static) createFromHash
-
Create widget from a definition hash object. The hash object may include the following fields: { 'widgetClass' or 'widget': widget class, class object or string, must have, 'htmlClass': string, HTML class name should be added to widget, 'children': array of child widget definition hash } Other fields will be set to properties of widget with the same names. If the field name starts with '#' and the value is a function, then the function will be set as an event handler.
- Source:
-
(static) DataTableColNames
-
Enumeration of predifined data table column names.
Properties:
Name Type Description OPER
CHECK
ALL
-
(static) Direction
-
Enumeration of directions. In some case, use can use the combination of directions, e.g. LTR | TTB.
- Source:
-
(static) Layout
-
Enumeration of layout of widget group.
- Source:
-
(static) Position
-
Enumeration of relative position of widget.
- Source:
-
(static) ShowHideType
-
Enumeration of mode of showing widget.
Properties:
Name Type Description DROPDOWN
POPUP
DIALOG
DEFAULT
- Source:
-
(static) State
-
Enumeration of state of widget.
Properties:
Name Type Description NORMAL
FOCUSED
HOVER
ACTIVE
DISABLED
- Source:
Methods
-
(static) getBelongedWidget(element) → {Kekule.Widget.BaseWidget}
-
Returns widget the element belonged to.
Parameters:
Name Type Description element
HTMLElement - Source:
Returns:
-
(static) getWidgetById(doc, id) → {Kekule.Widget.BaseWidget}
-
Returns an ID specified widget in document.
Parameters:
Name Type Description doc
HTMLDocument id
String - Source:
Returns:
-
(static) getWidgetOnElem(element) → {Kekule.Widget.BaseWidget}
-
Returns widget binding on element.
Parameters:
Name Type Description element
HTMLElement - Source:
Returns:
-
(static) ready(fn)
-
Invoked when widget system is constructed.
Parameters:
Name Type Description fn
Func Callback function.