Java Gui Builder
You are here: Home   >   Documentation   >   JGB Elements Documentation   >   Sheet Element
JGB Element Navigation
tab
ref

Sheet Element

Group membership: Controls

Declares that a sheet control be added to the window.

Attributes

Name Type Required Description
id ID No

Identifies the name by which this control will be referenced by other parts of the JGB XML file or Java code.

tabplacement CDATA No

Determines where the tabs will be placed.

Literal values

Value Description
bottom

Asks for the tabs to be placed on the bottom of the sheet.

left

Asks for the tabs to be placed on the left of the sheet.

right

Asks for the tabs to be placed on the right side of the sheet.

top

Asks for the tabs to be placed on top of the sheet.

Example usage

        …
        <sheet>
            <tab text="Basic" layout="GridLayout" columns="3">
                …
            </tab>
            <tab text="Advanced" mnemonic="d">
                …
            </tab>
        </sheet>
        …
        

Parent element(s)

controls, control, panel, tab.

Child element(s)

constant, methodCall, null, property, ref, register, return, tab, value.
Back to top
SourceForge Logo
Hosted on SourceForge.net
Valid XHTML 1.0!
Valid XHTML 1.0 !
Valid CSS!
Valid CSS !
Code Coverage by Clover
Code Coverage provided by Clover
 |  Home |  License |  Downloads |  Documentation |  Developers |  Mailing Lists |  Dependencies |  Links |  Privacy Policy |  SF Project Home |