Java Gui Builder |
|
You are here: | Home > Documentation > JGB Elements Documentation > Constant Element |
Group membership: Property & method calls
Puts a constant on the stack ready for consumption by a methodCall, property or return element. The constant's value will be put on the JGB stack, and not the constant's name.
Name | Type | Required | Description |
---|---|---|---|
name | CDATA | Yes |
Must resolve to a fully qualified class name, followed by a period, and the name of a public, static and final field in the class. The class name will be resolved using the standard classpath. So, the class must be resolvable from the thread that is building the window. |
… <property name="backgroundColor"> <constant name="java.awt.Color.BLUE"/> </property> …
Hosted on SourceForge.net |
Valid XHTML 1.0 ! |
Valid CSS ! |
Code Coverage provided by Clover |