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

Separator Element

Group membership: Menu & items

Adds a separator bar to the parent menu or item.

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.

Example usage

…
<menu id="viewMenu" text="View">
    …
    <item text="Status Bar" type="check" selected="true"/>
    <separator/>
    <item text="Sort By" mnemonic="s">
    …
    </item>
</menu>
…
        

Parent element(s)

menu, popupmenu.

Child element(s)

methodCall, property, register.
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 |