public class Grouping extends Control implements IContainer
Example render:
_Label________ | | | [X] Child | | [_Child_] | |______________|
Constructor and Description |
---|
Grouping()
Generic empty constructor.
|
Grouping(String ref)
Constructor with the reference of the Group to be used in response.
|
Grouping(String ref,
String label)
Constructor with the reference of the group to be used in response.
|
Grouping(String ref,
String label,
Resource root)
Constructor with the reference of the group to be used in response.
|
Modifier and Type | Method and Description |
---|---|
String[] |
add(Control ctrl)
Add the given Simple Control UI element to this container.
|
String[] |
create(Group group)
This method is for internal use of utils only.
|
getHelp, getHint, getLabel, getReference, setHelp, setHint, setLabel, setReference, setReference
public Grouping()
public Grouping(String ref)
ref
- The simple reference identifying the group. Set to null to
auto-generate.public Grouping(String ref, String label)
ref
- The simple reference identifying the group. Set to null to
auto-generate.label
- The label text that identifies the group to the user.public Grouping(String ref, String label, Resource root)
ref
- The simple reference identifying the group. Set to null to
auto-generate.label
- The label text that identifies the group to the user.root
- The root Resource for the child elements to be added to this
group.public String[] create(Group group)
Control
create
in class Control
group
- The UI group to which the control is being added.public String[] add(Control ctrl)
IContainer
add
in interface IContainer
ctrl
- The Simple Control UI element to be added.Copyright © 2018 universAAL Consortium. All rights reserved.