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

Parameter Element

Group membership: Property & method calls

Describes a parameter to a method call or a constructor. The parameter's class is derived from the child used.

Attributes

Name Type Required Description
name CDATA No

Optional name of the parameter. This is for information purposes only. JGB does not use the value of this attribute.

Example usage

<object id="tableModel" class="javax.swing.DefaultTableModel">
    <constructor>
        <parameter name="columns">
            <value type="int" data="4"/>
        </parameter>
        <parameter name="rows">
            <value type="int" data="20"/>
        </parameter>
    </constructor>
</object>
        

Parent element(s)

constructor, methodCall.

Child element(s)

constant, null, ref, return, 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 |