Parse basic attributes and advanced attributes of Group, and present it as described in the XML files.
Function | Function description | Default value | Sample in XML |
---|---|---|---|
background | Set background color for Group | OS | <Group background="240,0,0"/> |
foreground | Set foreground color for Group | OS | <Group foreground="240,0,0"/> |
font | Set font for Group | OS | <Group font = " Arial, 10, BOLD|ITALIC"/> |
bounds | Set margin bounds(X, Y, Width, Height) for Group | OS | <Group bounds="15, 15, 466, 18"/> |
text | Set text for Group, and you can’t set HTML special character directly(e.g. & if you want to set ‘&’, you must set it to & ) | "" | <Groupl text="Test Group"/> |
enabled | If it is true, the Group is enabled; If it is false, it is disabled. | TRUE | <Group enabled="TRUE"/> |
visible | If it is true, the Group is visible; If it is false, it is invisible. | TRUE | <Group visible="TRUE"/> |
tabIndex | Define tab focus sequences. | INFINITE | <Group tabIndex="1"/> |
dataName | Get data from data layer according to the dataName. | NULL | <Group dataName="dataname"/> |
helpID | helpId is defined in myHelpContexts.xml, when you click on the button, it will pop up help message about the Group | NULL | <Group bounds="28,60,150,260" > <Button bounds="58, 10, 80, 20" text="helpButton"> <list Injection="actions"> <com.ibm.btt.rcp.xui.action.HelpButtonAction helpId="messageGROUP"/> </list> </Button> </Group> |