UI

ICE. UI

The ICE UI namespace.

Classes

Base
Box
Button
CategoryOne
Checkbox
Color
Command
DateTime
Dropdown
Form
Group
Image
Input
Layout
Link
Mouse
Nls
Number
Output
Output
Popup
RepositoryURI
Ribbon
RibbonList
SelectItems
SelectItemsList
SelectItemsListbox
SelectOne
SelectOneEx
Slider
SwitchButton
Tabs
TabsNls
Text
Textarea
Toolbar
Trail
URL

Members

(static) Box.Align :string

Properties:
Name Type Description
CENTER string
LEFT string
RIGHT string
The box content alignment.
Type:

(static, constant) Box.HORIZONTAL :Number

The horizontal layout.
Type:
  • Number

(static, constant) Box.VERTICAL :Number

The vertical layout.
Type:
  • Number

(static, constant) Button.MEDIUM :number

Medium button size.
Type:
  • number

(static, constant) Button.NORMAL :number

Normal button size.
Type:
  • number

(static, constant) Button.SMALL :number

Small button size.
Type:
  • number

(static, constant) Link.MEDIUM :number

Medium link size.
Type:
  • number

(static, constant) Link.NORMAL :number

Normal link size.
Type:
  • number

(static, constant) Link.SMALL :number

Small link size.
Type:
  • number

(static) SwitchButton.Style :string

Properties:
Name Type Description
OnOff string
Styles.
Type:

Methods

(static) Base.forEach(obj, type, func)

Executes callback for each descendant of UI instance or model of specified component type.
Parameters:
Name Type Description
obj ICE.UI.Base | ICE.UI.Model | ICE.UI.Content The UI object.
type ICE.UI.Base The UI component type.
func function The callback.

(static) Nls.isNls(value) → {Boolean}

Determines whether a value is NLS-aware. The value is NLS-aware if it's object containing (language tag, value) pairs.
Parameters:
Name Type Description
value * The value.
Returns:
true if it is NLS-aware, false otherwise.
Type
Boolean

(static) UI.fontFamilyItems(fonts, optionalnullable) → {Object}

Returns items from an array of fonts.
Parameters:
Name Type Attributes Description
fonts Object.<String, Object> An array of fonts.
optional Boolean <nullable>
The flag whether font is optional.
Returns:
The items.
Type
Object

ICE. UI

The ICE UI namespace.

Classes

Base
Box
Button
CategoryOne
Checkbox
Color
Command
DateTime
Dropdown
Form
Group
Image
Input
Layout
Link
Mouse
Nls
Number
Output
Output
Popup
RepositoryURI
Ribbon
RibbonList
SelectItems
SelectItemsList
SelectItemsListbox
SelectOne
SelectOneEx
Slider
SwitchButton
Tabs
TabsNls
Text
Textarea
Toolbar
Trail
URL

Members

(static) Box.Align :string

Properties:
Name Type Description
CENTER string
LEFT string
RIGHT string
The box content alignment.
Type:

(static, constant) Box.HORIZONTAL :Number

The horizontal layout.
Type:
  • Number

(static, constant) Box.VERTICAL :Number

The vertical layout.
Type:
  • Number

(static, constant) Button.MEDIUM :number

Medium button size.
Type:
  • number

(static, constant) Button.NORMAL :number

Normal button size.
Type:
  • number

(static, constant) Button.SMALL :number

Small button size.
Type:
  • number

(static, constant) Link.MEDIUM :number

Medium link size.
Type:
  • number

(static, constant) Link.NORMAL :number

Normal link size.
Type:
  • number

(static, constant) Link.SMALL :number

Small link size.
Type:
  • number

(static) SwitchButton.Style :string

Properties:
Name Type Description
OnOff string
Styles.
Type:

Methods

(static) Base.forEach(obj, type, func)

Executes callback for each descendant of UI instance or model of specified component type.
Parameters:
Name Type Description
obj ICE.UI.Base | ICE.UI.Model | ICE.UI.Content The UI object.
type ICE.UI.Base The UI component type.
func function The callback.

(static) Nls.isNls(value) → {Boolean}

Determines whether a value is NLS-aware. The value is NLS-aware if it's object containing (language tag, value) pairs.
Parameters:
Name Type Description
value * The value.
Returns:
true if it is NLS-aware, false otherwise.
Type
Boolean

(static) UI.fontFamilyItems(fonts, optionalnullable) → {Object}

Returns items from an array of fonts.
Parameters:
Name Type Attributes Description
fonts Object.<String, Object> An array of fonts.
optional Boolean <nullable>
The flag whether font is optional.
Returns:
The items.
Type
Object