A Rich UI grouping widget displays one or more widgets
inside a box. In addition to those widgets, you specify text that
is embedded in the topmost border of the box.
The grouping widget supports these properties:
- text, which holds a string for display
in the topmost border of the box.
- contents, which represents a Div tag.
You can set the children by assigning widgets to contents.children:
import com.ibm.egl.rui.widgets.CheckBox;
import com.ibm.egl.rui.widgets.Grouping;
handler MyOne type RUIHandler{initialUI =[myGrouping]}
myCheckbox checkbox{};
myGrouping Grouping {text = "Test", backgroundColor = "yellow", width = 100,
contents.children = [myCheckbox]};
end
For more information about supported properties and functions,
see "Widget properties and functions."
If you use this widget, you must use the following statement:
import com.ibm.egl.rui.widgets.Grouping;