Checkbox Borders XML Tutorial
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: setBorder

There are many borders available for Checkboxes: none, flat, squareraised, squarelowered, roundraised, roundlowered, roundraisedthin, roundloweredthin, squareraisedthin, squareloweredthin, text groove, ridge. In the applet shown on the left some of them are displayed: none, flat, squaredraised, squaredlowered, roundraised, roundlowered, groove, ridge, text. The Checkboxes are named based on their set border for you to be displayed. setBorder, setLabel and setShape are Checkbox's property that are used in the XML files.

On the left, the navigation tree is provided to easily search though Bamboo Suite controls (if the tree is not displayed click on the Tutorial link below). The tree represents the contents of the Tutorial for Bamboo Suite. The main topics appear under collapsed folder icon. Collapsed folder icon is also an indication that there are more files available under collapsed folder. The expanded folder implies that there are no more files under this item. Clicking on the collapsed/expanded folder icon will open/close items in the tree node. Clicking on the tree item will open the requested topic in the main window.

Most of the topics contain live applet examples along with the property description, HTML source and XML source.
Refer to Reference for complete list of Properties.

See complete XML source for this applet.

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

Checkbox_border.XML Source:

<Widget setSize="110,300" setBackground="cdc9ee">
<Checkbox setShape="10,10,90,25" setLabel="none" setBorder="none"/>
<Checkbox setShape="10,40,90,25" setLabel="flat" setBorder="flat"/>
<Checkbox setShape="10,70,90,25" setLabel="squareraised" setBorder="squareraised"/>
<Checkbox setShape="10,100,90,25" setLabel="squaredlowred" setBorder="squarelowered"/>
<Checkbox setShape="10,130,90,25" setLabel="roundraised" setBorder="roundraised"/>
<Checkbox setShape="10,160,90,25" setLabel="roundlowered" setBorder="roundlowered"/>
<Checkbox setShape="10,190,90,25" setLabel="groove" setBorder="groove"/>
<Checkbox setShape="10,220,90,25" setLabel="ridge" setBorder="ridge"/>
<Checkbox setShape="10,250,90,25" setLabel="text" setBorder="text"/>
</Widget>

[Home][Tutorial] [Demo]

Checkbox
Shape Borders Fonts & Colors Highlights Images Other