Java Gui Builder |
|
You are here: | Home > Documentation > JGB Elements Documentation > Tab Element |
Group membership: Controls
Declares that a tab should be added to the enclosing sheet.
Name | Type | Required | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
alignment | CDATA | No |
Will try to set the alignment property on the layout manager. If the layout manager does not have a proper method, a parsing exception will be thrown. Literal values
|
||||||||
columns | CDATA | No |
Will try to set the columns property on the layout manager. If the layout manager does not have a proper method, a parsing exception will be thrown. |
||||||||
hgap | CDATA | No |
Will try to set the hgap property on the layout manager. If the layout manager does not have a proper method, a parsing exception will be thrown. |
||||||||
id | ID | No |
Identifies the name by which this control will be referenced by other parts of the JGB XML file or Java code. |
||||||||
layout | CDATA | No |
A fully qualified class name that declares which class to instantiate and add as a layout manager. As a shortcut, it is possible to not prefix the full package information in the attribute's value. If the class cannot be found using the fully qualified class name, JGB will prefix java.awt. to the attribute value and try again. |
||||||||
mnemonic | CDATA | No |
Identifies the character that will be used as this control's mnemonic. |
||||||||
refaction | IDREF | No |
More information forthcoming |
||||||||
rows | CDATA | No |
Will try to set the rows property on the layout manager. If the layout manager does not have a proper method, a parsing exception will be thrown. |
||||||||
text | CDATA | Yes |
Specifies the text that will appear on the control. Do not add an underline (_) or ampersand (&) to the text attribute to identify the mnemonic. Use this element's mnemonic attribute for that purpose. |
||||||||
vgap | CDATA | No |
Will try to set the vgap property on the layout manager. If the layout manager does not have a proper method, a parsing exception will be thrown. |
… <sheet> <tab text="Basic" layout="GridLayout" columns="3"> … </tab> <tab text="Advanced" mnemonic="d"> … </tab> </sheet> …
Hosted on SourceForge.net |
Valid XHTML 1.0 ! |
Valid CSS ! |
Code Coverage provided by Clover |