Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

Desk Phone API features described in this section are deprecated and supported only on the following models: D40, d45, d50, d60, d62, d65, d70

Widget that contains other widgets and acts as a container. For example, this widget is useful for showing and hiding many widgets at one time. Groups can have any number of widgets attached to them; e.g., Group widgets, Text widgets, and Input widgets.

...

Constructs a new Group Object. A Group acts as a container for other widgets.

Code Block
var groupObj = new Group(x, y, width, height);

Initialization Parameters

Name

Required

Type

Default

Description

x

Yes

integer

x coordinate value for top left corner.

y

Yes

integer

y coordinate value for top left corner.

width

Yes

integer

Width in pixels.

height

Yes

integer

Height in pixels.

This Class inherits methods and properties from the Widget Base Class. See  Widget Base Class  for more information about setting your Object's x, y, w, and h properties or adding children to it.

Methods

Name 

Description 

add

Adds one or more widgets to the group.

clear

Removes all child elements from the group or removes all content from the list.

remove

Removes one or more widgets from a group.