Enabled/Disabled Opaque Align Checkbox
Version 1.6

This is the archives. For the latest Bambookit GUI 2.0, XML GUI Demos & Tutorials visit: www.bambookit.com/_demo.html

Checkbox's Property: setValue, setEnabled, setOpaque, setVisible, setAlign

setValue is used to display a selected state in the Checkbox. It can be set to False or True. Default is False. Opaque is used to set the Checkbox's transparency, if opaque is set to 'false', then the elements behind the Checkbox are visible (refer to the applet) and Foreground highlight is set automatically to white. You can use this feature set the transparency of your Checkboxes if you want the images on your background to be seen through this Checkbox. setVisible is used to show or hide a Checkbox. It can be set to False or True. Default is True. You may align your text as you may see fit in the Checkbox's labels: left aligned, centered and right aligned. Refer to Reference for complete list of Properties.

HTML Source:
<html>
<body>
<applet archive="bamboo_1_5.jar" codebase="tutorial_1_6/" code="Loader.class" width=110 height=400>
<param name="loadgui" value="tutorials_Checkbox_other.xml">
</applet>
</body>
</html>

tutorials_Checkbox_other.xml Source:

<Widget setSize="110,300" setBackground="cdc9ee">
<Checkbox setShape="10,10,90,25" setLabel="Check" setCheck="true" setAlign="right"/>
<Checkbox setShape="10,40,90,50" setLabel="disabled" setEnabled="false"/>
<Checkbox setShape="10,95,90,100" setLabel="opaque false" setOpaque="false"/>
</Widget>

[Home][Tutorial] [Demo]

Checkbox
Shape Borders Fonts & Colors Highlights Images Other