Web Calendar XML Tutorials
Version 1.6

Calendar's property setEnabled.

The Bamboo Suite Web Calendar allows to configure enabled property. Enabled set to False is used to disabled a Calendar.

As it is demonstrated on the left, the bottom Calendar is disabled. setFontStyle, setFontSize are Calendar properties that are used in the XML files to render the text. The font types and colors in Calendars can be configured. The Fontname can be configured as Serif, Sanssserif, or monospaced. Fontstyle can be configured as Bold, Italic, Plain, Bolditalic, Underline. The point size can be set from 6 tp 120.

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" codebase="tutorial_1_6/" code="Loader.class" width=150 height=320>
<param name="loadgui" value="tutorials_calendar_disable.xml">
</applet>
</body>
</html>

tutorials_calendar_disable.XML Source:

<Widget setShape="0,0,150,400" setBackground="d8d0bb" setBorder="none">
<Widget setShape="10,5,120,15" setLabel="2004-06-08" setFontStyle="bold"/>
<Calendar setLocation="10,20" setBorder="flat" setBackground="f8f4db" setBackgroundHighlight="d8d0bb" setYear="2004" setMonth="06" setDate="08"/>
<Widget setShape="10,165,120,15" setLabel="2000-04-15" setFontStyle="bold"/>
<Calendar setLocation="10,180" setBorder="flat" setBackground="f8f4db" setBackgroundHighlight="d8d0bb" setYear="2000" setMonth="04" setDate="15" setEnabled="false"/>
</Widget>

[Home][Tutorial] [Demo]

Calendar
Today's date Set date Disable