Index

Widgets

  1. General attributes
  2. Links
  3. Simple display
  4. Analogue display
  5. Digital control
  6. Analogue control
  7. Time controls
  8. Miscellaneous

The gateway user interface can use a number of widgets to provide the user interface, these generally are active components that are used to display date from the gateway and to issue commands to the gateway. They are put into the kid templates using custom xml tags, the reason for this is so that the user interface can degrade gracefully, i.e. if the browser does not support javascript they can be rendered using static data and the whole page refreshed. Some widgets are display only and some are input as well as display. See additional document on the flash interface for developers wishing to create there own flash assets.

General attributes

These attributes are all optional. The rowspan nd colspan attributes are likely to go as the td elements should not be held within the widget but be prt of the surrounding layout.

Links

This type of widget generally provides a link to another page.

simpleLink

This widget uses either a href or an onclick handler to provide the link.

Default Css class(s).

Simple display

A simple display element, i.e. indicator, only has a single interface variable a state variable. This is delivered by specification using the wbSource attribute in the KID template.

textDisplay

This type of widget displays text retrieved from the gateway.

Default Css class(s).

imageIndicator

This type of widget expects a single numeric value that is used to select one a small number of configured images to be displayed.

If the imageList is blank then use names based on wbSource value and assume png extension. If imageBase is missing then assume /static/images/indicators.

caption

This type of widget displays a pre configured text string. Default Css class(s).

Analogue display

An analogue display element, i.e. meter, has an interface variable that controls. This is delivered by specification using the wbSource attribute in the KID template.

numericDisplay

This type of widget formats and displays a numeric value retrieved from the gateway.

Default Css class(s).

flashMeter

This type of widget formats and displays a numeric value retrieved from the gateway using a small flash movie. See also section on creating flash assets.

Default Css class(s).

Digital control

A digital control element, i.e. button, has a state number and a trigger target. This is delivered by specification using the wbSource attribute in the KID template.

simpleButton

This widget optionally shows a simple state and enables the user to trigger a change.

Default Css class(s). Where baseClassName is used replace the string button by the baseClassName value. StateVals may change thesecond part of the CSS class name.

flashButton

This widget uses a small flash movie to enable the user to control.

Default Css class(s).

Analogue control

An analogue control element, i.e. volume control, has an interface variable that controls. This is delivered by specification using the wbSource attribute in the KID template.

numericEntry

This type of widget formats and displays a numeric value retrieved from the gateway, and enables the user to enter a new value that is sent to the gateway. This type of widget formats and displays a numeric value retrieved from the gateway.

Default Css class(s).

flashNumericEntry

This type of widget formats and displays a numeric value retrieved from the gateway, and enables the user to enter a new value that is sent to the gateway.

Time controls

These controls are used to display and manipulate time.

timeDisplay

This type of widget formats and displays a time value retrieved from the gateway.

Default Css class(s).

timeEntry

This type of widget formats and displays a time value retrieved from the gateway, and enables the user to enter a new time that is sent to the gateway.

Default Css class(s).

Miscellaneous

These controls are used to display and manipulate time.

onoffEntry

This widget is specific to a schedule and displays the action for a simple on off device and enables the user to enter a new setting.

Default Css class(s). Note class is calulated, if baseClassName provided replace WbOnOffEntry by baseClassName value.

dayEntry

This widget is specific to a schedule and displays the days of the week that a scheduled event occurs and enables the user to enter a new set of days.

Default Css class(s).