PageRenderTime 58ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 1ms

/lib/docs/api/com/toedter/calendar/JCalendar.html

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
HTML | 1544 lines | 1371 code | 148 blank | 25 comment | 0 complexity | 04e1beab89a8c2deb785887330d2f0bb MD5 | raw file
Possible License(s): LGPL-3.0, Apache-2.0, GPL-3.0, GPL-2.0, AGPL-3.0, JSON, BSD-3-Clause
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.5.0_06) on Sun Jun 04 15:41:05 CEST 2006 -->
  6. <TITLE>
  7. JCalendar (JCalendar API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="com.toedter.calendar.JCalendar class">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. parent.document.title="JCalendar (JCalendar API)";
  15. }
  16. </SCRIPT>
  17. <NOSCRIPT>
  18. </NOSCRIPT>
  19. </HEAD>
  20. <BODY BGCOLOR="white" onload="windowTitle();">
  21. <!-- ========= START OF TOP NAVBAR ======= -->
  22. <A NAME="navbar_top"><!-- --></A>
  23. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  24. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  25. <TR>
  26. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  27. <A NAME="navbar_top_firstrow"><!-- --></A>
  28. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  29. <TR ALIGN="center" VALIGN="top">
  30. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  31. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  32. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  37. </TR>
  38. </TABLE>
  39. </TD>
  40. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  41. </EM>
  42. </TD>
  43. </TR>
  44. <TR>
  45. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  46. &nbsp;<A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar"><B>PREV CLASS</B></A>&nbsp;
  47. &nbsp;<A HREF="../../../com/toedter/calendar/JCalendarBeanInfo.html" title="class in com.toedter.calendar"><B>NEXT CLASS</B></A></FONT></TD>
  48. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  49. <A HREF="../../../index.html?com/toedter/calendar/JCalendar.html" target="_top"><B>FRAMES</B></A> &nbsp;
  50. &nbsp;<A HREF="JCalendar.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  51. &nbsp;<SCRIPT type="text/javascript">
  52. <!--
  53. if(window==top) {
  54. document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  55. }
  56. //-->
  57. </SCRIPT>
  58. <NOSCRIPT>
  59. <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  60. </NOSCRIPT>
  61. </FONT></TD>
  62. </TR>
  63. <TR>
  64. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  65. SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_javax.swing.JPanel">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  66. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  67. DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  68. </TR>
  69. </TABLE>
  70. <A NAME="skip-navbar_top"></A>
  71. <!-- ========= END OF TOP NAVBAR ========= -->
  72. <HR>
  73. <!-- ======== START OF CLASS DATA ======== -->
  74. <H2>
  75. <FONT SIZE="-1">
  76. com.toedter.calendar</FONT>
  77. <BR>
  78. Class JCalendar</H2>
  79. <PRE>
  80. java.lang.Object
  81. <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.awt.Component
  82. <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.awt.Container
  83. <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">javax.swing.JComponent
  84. <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">javax.swing.JPanel
  85. <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.toedter.calendar.JCalendar</B>
  86. </PRE>
  87. <DL>
  88. <DT><B>All Implemented Interfaces:</B> <DD>java.awt.image.ImageObserver, java.awt.MenuContainer, java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible</DD>
  89. </DL>
  90. <HR>
  91. <DL>
  92. <DT><PRE>public class <B>JCalendar</B><DT>extends javax.swing.JPanel<DT>implements java.beans.PropertyChangeListener</DL>
  93. </PRE>
  94. <P>
  95. JCalendar is a bean for entering a date by choosing the year, month and day.
  96. <P>
  97. <P>
  98. <DL>
  99. <DT><B>Version:</B></DT>
  100. <DD>$LastChangedRevision: 95 $, $LastChangedDate: 2006-05-05 18:43:15 +0200 (Fr, 05 Mai 2006) $</DD>
  101. <DT><B>Author:</B></DT>
  102. <DD>Kai Toedter</DD>
  103. <DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#com.toedter.calendar.JCalendar">Serialized Form</A></DL>
  104. <HR>
  105. <P>
  106. <!-- ======== NESTED CLASS SUMMARY ======== -->
  107. <A NAME="nested_class_summary"><!-- --></A>
  108. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  109. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  110. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  111. <B>Nested Class Summary</B></FONT></TH>
  112. </TR>
  113. </TABLE>
  114. &nbsp;<A NAME="nested_classes_inherited_from_class_javax.swing.JPanel"><!-- --></A>
  115. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  116. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  117. <TH ALIGN="left"><B>Nested classes/interfaces inherited from class javax.swing.JPanel</B></TH>
  118. </TR>
  119. <TR BGCOLOR="white" CLASS="TableRowColor">
  120. <TD><CODE>javax.swing.JPanel.AccessibleJPanel</CODE></TD>
  121. </TR>
  122. </TABLE>
  123. &nbsp;
  124. <A NAME="nested_classes_inherited_from_class_javax.swing.JComponent"><!-- --></A>
  125. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  126. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  127. <TH ALIGN="left"><B>Nested classes/interfaces inherited from class javax.swing.JComponent</B></TH>
  128. </TR>
  129. <TR BGCOLOR="white" CLASS="TableRowColor">
  130. <TD><CODE>javax.swing.JComponent.AccessibleJComponent</CODE></TD>
  131. </TR>
  132. </TABLE>
  133. &nbsp;
  134. <A NAME="nested_classes_inherited_from_class_java.awt.Container"><!-- --></A>
  135. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  136. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  137. <TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Container</B></TH>
  138. </TR>
  139. <TR BGCOLOR="white" CLASS="TableRowColor">
  140. <TD><CODE>java.awt.Container.AccessibleAWTContainer</CODE></TD>
  141. </TR>
  142. </TABLE>
  143. &nbsp;
  144. <A NAME="nested_classes_inherited_from_class_java.awt.Component"><!-- --></A>
  145. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  146. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  147. <TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Component</B></TH>
  148. </TR>
  149. <TR BGCOLOR="white" CLASS="TableRowColor">
  150. <TD><CODE>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</CODE></TD>
  151. </TR>
  152. </TABLE>
  153. &nbsp;
  154. <!-- =========== FIELD SUMMARY =========== -->
  155. <A NAME="field_summary"><!-- --></A>
  156. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  157. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  158. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  159. <B>Field Summary</B></FONT></TH>
  160. </TR>
  161. <TR BGCOLOR="white" CLASS="TableRowColor">
  162. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  163. <CODE>protected &nbsp;<A HREF="../../../com/toedter/calendar/JDayChooser.html" title="class in com.toedter.calendar">JDayChooser</A></CODE></FONT></TD>
  164. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#dayChooser">dayChooser</A></B></CODE>
  165. <BR>
  166. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the day chooser</TD>
  167. </TR>
  168. <TR BGCOLOR="white" CLASS="TableRowColor">
  169. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  170. <CODE>protected &nbsp;java.util.Locale</CODE></FONT></TD>
  171. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#locale">locale</A></B></CODE>
  172. <BR>
  173. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the locale</TD>
  174. </TR>
  175. <TR BGCOLOR="white" CLASS="TableRowColor">
  176. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  177. <CODE>protected &nbsp;java.util.Date</CODE></FONT></TD>
  178. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#maxSelectableDate">maxSelectableDate</A></B></CODE>
  179. <BR>
  180. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  181. </TR>
  182. <TR BGCOLOR="white" CLASS="TableRowColor">
  183. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  184. <CODE>protected &nbsp;java.util.Date</CODE></FONT></TD>
  185. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#minSelectableDate">minSelectableDate</A></B></CODE>
  186. <BR>
  187. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  188. </TR>
  189. <TR BGCOLOR="white" CLASS="TableRowColor">
  190. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  191. <CODE>protected &nbsp;<A HREF="../../../com/toedter/calendar/JMonthChooser.html" title="class in com.toedter.calendar">JMonthChooser</A></CODE></FONT></TD>
  192. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#monthChooser">monthChooser</A></B></CODE>
  193. <BR>
  194. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the month chooser</TD>
  195. </TR>
  196. <TR BGCOLOR="white" CLASS="TableRowColor">
  197. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  198. <CODE>protected &nbsp;boolean</CODE></FONT></TD>
  199. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#weekOfYearVisible">weekOfYearVisible</A></B></CODE>
  200. <BR>
  201. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;indicates if weeks of year shall be visible</TD>
  202. </TR>
  203. <TR BGCOLOR="white" CLASS="TableRowColor">
  204. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  205. <CODE>protected &nbsp;<A HREF="../../../com/toedter/calendar/JYearChooser.html" title="class in com.toedter.calendar">JYearChooser</A></CODE></FONT></TD>
  206. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#yearChooser">yearChooser</A></B></CODE>
  207. <BR>
  208. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the year chhoser</TD>
  209. </TR>
  210. </TABLE>
  211. &nbsp;<A NAME="fields_inherited_from_class_javax.swing.JComponent"><!-- --></A>
  212. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  213. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  214. <TH ALIGN="left"><B>Fields inherited from class javax.swing.JComponent</B></TH>
  215. </TR>
  216. <TR BGCOLOR="white" CLASS="TableRowColor">
  217. <TD><CODE>accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW</CODE></TD>
  218. </TR>
  219. </TABLE>
  220. &nbsp;<A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A>
  221. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  222. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  223. <TH ALIGN="left"><B>Fields inherited from class java.awt.Component</B></TH>
  224. </TR>
  225. <TR BGCOLOR="white" CLASS="TableRowColor">
  226. <TD><CODE>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</CODE></TD>
  227. </TR>
  228. </TABLE>
  229. &nbsp;<A NAME="fields_inherited_from_class_java.awt.image.ImageObserver"><!-- --></A>
  230. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  231. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  232. <TH ALIGN="left"><B>Fields inherited from interface java.awt.image.ImageObserver</B></TH>
  233. </TR>
  234. <TR BGCOLOR="white" CLASS="TableRowColor">
  235. <TD><CODE>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</CODE></TD>
  236. </TR>
  237. </TABLE>
  238. &nbsp;
  239. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  240. <A NAME="constructor_summary"><!-- --></A>
  241. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  242. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  243. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  244. <B>Constructor Summary</B></FONT></TH>
  245. </TR>
  246. <TR BGCOLOR="white" CLASS="TableRowColor">
  247. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#JCalendar()">JCalendar</A></B>()</CODE>
  248. <BR>
  249. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default JCalendar constructor.</TD>
  250. </TR>
  251. <TR BGCOLOR="white" CLASS="TableRowColor">
  252. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#JCalendar(boolean)">JCalendar</A></B>(boolean&nbsp;monthSpinner)</CODE>
  253. <BR>
  254. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;JCalendar constructor specifying the month spinner type.</TD>
  255. </TR>
  256. <TR BGCOLOR="white" CLASS="TableRowColor">
  257. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#JCalendar(java.util.Calendar)">JCalendar</A></B>(java.util.Calendar&nbsp;calendar)</CODE>
  258. <BR>
  259. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;JCalendar constructor which allows the initial calendar to be set.</TD>
  260. </TR>
  261. <TR BGCOLOR="white" CLASS="TableRowColor">
  262. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#JCalendar(java.util.Date)">JCalendar</A></B>(java.util.Date&nbsp;date)</CODE>
  263. <BR>
  264. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;JCalendar constructor which allows the initial date to be set.</TD>
  265. </TR>
  266. <TR BGCOLOR="white" CLASS="TableRowColor">
  267. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#JCalendar(java.util.Date, boolean)">JCalendar</A></B>(java.util.Date&nbsp;date,
  268. boolean&nbsp;monthSpinner)</CODE>
  269. <BR>
  270. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;JCalendar constructor specifying both the initial date and the month
  271. spinner type.</TD>
  272. </TR>
  273. <TR BGCOLOR="white" CLASS="TableRowColor">
  274. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#JCalendar(java.util.Date, java.util.Locale)">JCalendar</A></B>(java.util.Date&nbsp;date,
  275. java.util.Locale&nbsp;locale)</CODE>
  276. <BR>
  277. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;JCalendar constructor specifying both the initial date and locale.</TD>
  278. </TR>
  279. <TR BGCOLOR="white" CLASS="TableRowColor">
  280. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#JCalendar(java.util.Date, java.util.Locale, boolean, boolean)">JCalendar</A></B>(java.util.Date&nbsp;date,
  281. java.util.Locale&nbsp;locale,
  282. boolean&nbsp;monthSpinner,
  283. boolean&nbsp;weekOfYearVisible)</CODE>
  284. <BR>
  285. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;JCalendar constructor with month spinner parameter.</TD>
  286. </TR>
  287. <TR BGCOLOR="white" CLASS="TableRowColor">
  288. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#JCalendar(java.util.Locale)">JCalendar</A></B>(java.util.Locale&nbsp;locale)</CODE>
  289. <BR>
  290. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;JCalendar constructor allowing the initial locale to be set.</TD>
  291. </TR>
  292. <TR BGCOLOR="white" CLASS="TableRowColor">
  293. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#JCalendar(java.util.Locale, boolean)">JCalendar</A></B>(java.util.Locale&nbsp;locale,
  294. boolean&nbsp;monthSpinner)</CODE>
  295. <BR>
  296. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;JCalendar constructor specifying both the locale and the month spinner.</TD>
  297. </TR>
  298. </TABLE>
  299. &nbsp;
  300. <!-- ========== METHOD SUMMARY =========== -->
  301. <A NAME="method_summary"><!-- --></A>
  302. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  303. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  304. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  305. <B>Method Summary</B></FONT></TH>
  306. </TR>
  307. <TR BGCOLOR="white" CLASS="TableRowColor">
  308. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  309. <CODE>&nbsp;java.util.Calendar</CODE></FONT></TD>
  310. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#getCalendar()">getCalendar</A></B>()</CODE>
  311. <BR>
  312. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the calendar property.</TD>
  313. </TR>
  314. <TR BGCOLOR="white" CLASS="TableRowColor">
  315. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  316. <CODE>&nbsp;java.util.Date</CODE></FONT></TD>
  317. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#getDate()">getDate</A></B>()</CODE>
  318. <BR>
  319. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a Date object.</TD>
  320. </TR>
  321. <TR BGCOLOR="white" CLASS="TableRowColor">
  322. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  323. <CODE>&nbsp;<A HREF="../../../com/toedter/calendar/JDayChooser.html" title="class in com.toedter.calendar">JDayChooser</A></CODE></FONT></TD>
  324. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#getDayChooser()">getDayChooser</A></B>()</CODE>
  325. <BR>
  326. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the dayChooser attribute of the JCalendar object</TD>
  327. </TR>
  328. <TR BGCOLOR="white" CLASS="TableRowColor">
  329. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  330. <CODE>&nbsp;java.awt.Color</CODE></FONT></TD>
  331. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#getDecorationBackgroundColor()">getDecorationBackgroundColor</A></B>()</CODE>
  332. <BR>
  333. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the color of the decoration (day names and weeks).</TD>
  334. </TR>
  335. <TR BGCOLOR="white" CLASS="TableRowColor">
  336. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  337. <CODE>&nbsp;java.util.Locale</CODE></FONT></TD>
  338. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#getLocale()">getLocale</A></B>()</CODE>
  339. <BR>
  340. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the locale.</TD>
  341. </TR>
  342. <TR BGCOLOR="white" CLASS="TableRowColor">
  343. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  344. <CODE>&nbsp;int</CODE></FONT></TD>
  345. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#getMaxDayCharacters()">getMaxDayCharacters</A></B>()</CODE>
  346. <BR>
  347. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the maximum number of characters of a day name or 0.</TD>
  348. </TR>
  349. <TR BGCOLOR="white" CLASS="TableRowColor">
  350. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  351. <CODE>&nbsp;java.util.Date</CODE></FONT></TD>
  352. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#getMaxSelectableDate()">getMaxSelectableDate</A></B>()</CODE>
  353. <BR>
  354. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the minimum selectable date.</TD>
  355. </TR>
  356. <TR BGCOLOR="white" CLASS="TableRowColor">
  357. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  358. <CODE>&nbsp;java.util.Date</CODE></FONT></TD>
  359. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#getMinSelectableDate()">getMinSelectableDate</A></B>()</CODE>
  360. <BR>
  361. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the maximum selectable date.</TD>
  362. </TR>
  363. <TR BGCOLOR="white" CLASS="TableRowColor">
  364. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  365. <CODE>&nbsp;<A HREF="../../../com/toedter/calendar/JMonthChooser.html" title="class in com.toedter.calendar">JMonthChooser</A></CODE></FONT></TD>
  366. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#getMonthChooser()">getMonthChooser</A></B>()</CODE>
  367. <BR>
  368. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the monthChooser attribute of the JCalendar object</TD>
  369. </TR>
  370. <TR BGCOLOR="white" CLASS="TableRowColor">
  371. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  372. <CODE>&nbsp;java.awt.Color</CODE></FONT></TD>
  373. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#getSundayForeground()">getSundayForeground</A></B>()</CODE>
  374. <BR>
  375. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the Sunday foreground.</TD>
  376. </TR>
  377. <TR BGCOLOR="white" CLASS="TableRowColor">
  378. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  379. <CODE>&nbsp;java.awt.Color</CODE></FONT></TD>
  380. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#getWeekdayForeground()">getWeekdayForeground</A></B>()</CODE>
  381. <BR>
  382. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the weekday foreground.</TD>
  383. </TR>
  384. <TR BGCOLOR="white" CLASS="TableRowColor">
  385. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  386. <CODE>&nbsp;<A HREF="../../../com/toedter/calendar/JYearChooser.html" title="class in com.toedter.calendar">JYearChooser</A></CODE></FONT></TD>
  387. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#getYearChooser()">getYearChooser</A></B>()</CODE>
  388. <BR>
  389. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the yearChooser attribute of the JCalendar object</TD>
  390. </TR>
  391. <TR BGCOLOR="white" CLASS="TableRowColor">
  392. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  393. <CODE>&nbsp;boolean</CODE></FONT></TD>
  394. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#isDecorationBackgroundVisible()">isDecorationBackgroundVisible</A></B>()</CODE>
  395. <BR>
  396. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the visibility of the decoration background.</TD>
  397. </TR>
  398. <TR BGCOLOR="white" CLASS="TableRowColor">
  399. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  400. <CODE>&nbsp;boolean</CODE></FONT></TD>
  401. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#isDecorationBordersVisible()">isDecorationBordersVisible</A></B>()</CODE>
  402. <BR>
  403. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the visibility of the decoration border.</TD>
  404. </TR>
  405. <TR BGCOLOR="white" CLASS="TableRowColor">
  406. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  407. <CODE>&nbsp;boolean</CODE></FONT></TD>
  408. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#isEnabled()">isEnabled</A></B>()</CODE>
  409. <BR>
  410. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true, if enabled.</TD>
  411. </TR>
  412. <TR BGCOLOR="white" CLASS="TableRowColor">
  413. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  414. <CODE>&nbsp;boolean</CODE></FONT></TD>
  415. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#isWeekOfYearVisible()">isWeekOfYearVisible</A></B>()</CODE>
  416. <BR>
  417. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates if the weeks of year are visible..</TD>
  418. </TR>
  419. <TR BGCOLOR="white" CLASS="TableRowColor">
  420. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  421. <CODE>static&nbsp;void</CODE></FONT></TD>
  422. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#main(java.lang.String[])">main</A></B>(java.lang.String[]&nbsp;s)</CODE>
  423. <BR>
  424. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a JFrame with a JCalendar inside and can be used for testing.</TD>
  425. </TR>
  426. <TR BGCOLOR="white" CLASS="TableRowColor">
  427. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  428. <CODE>&nbsp;void</CODE></FONT></TD>
  429. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#propertyChange(java.beans.PropertyChangeEvent)">propertyChange</A></B>(java.beans.PropertyChangeEvent&nbsp;evt)</CODE>
  430. <BR>
  431. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;JCalendar is a PropertyChangeListener, for its day, month and year
  432. chooser.</TD>
  433. </TR>
  434. <TR BGCOLOR="white" CLASS="TableRowColor">
  435. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  436. <CODE>&nbsp;void</CODE></FONT></TD>
  437. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#setBackground(java.awt.Color)">setBackground</A></B>(java.awt.Color&nbsp;bg)</CODE>
  438. <BR>
  439. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the background color.</TD>
  440. </TR>
  441. <TR BGCOLOR="white" CLASS="TableRowColor">
  442. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  443. <CODE>&nbsp;void</CODE></FONT></TD>
  444. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#setCalendar(java.util.Calendar)">setCalendar</A></B>(java.util.Calendar&nbsp;c)</CODE>
  445. <BR>
  446. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the calendar property.</TD>
  447. </TR>
  448. <TR BGCOLOR="white" CLASS="TableRowColor">
  449. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  450. <CODE>&nbsp;void</CODE></FONT></TD>
  451. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#setDate(java.util.Date)">setDate</A></B>(java.util.Date&nbsp;date)</CODE>
  452. <BR>
  453. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the date.</TD>
  454. </TR>
  455. <TR BGCOLOR="white" CLASS="TableRowColor">
  456. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  457. <CODE>&nbsp;void</CODE></FONT></TD>
  458. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#setDecorationBackgroundColor(java.awt.Color)">setDecorationBackgroundColor</A></B>(java.awt.Color&nbsp;decorationBackgroundColor)</CODE>
  459. <BR>
  460. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the background of days and weeks of year buttons.</TD>
  461. </TR>
  462. <TR BGCOLOR="white" CLASS="TableRowColor">
  463. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  464. <CODE>&nbsp;void</CODE></FONT></TD>
  465. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#setDecorationBackgroundVisible(boolean)">setDecorationBackgroundVisible</A></B>(boolean&nbsp;decorationBackgroundVisible)</CODE>
  466. <BR>
  467. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the decoration background visible.</TD>
  468. </TR>
  469. <TR BGCOLOR="white" CLASS="TableRowColor">
  470. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  471. <CODE>&nbsp;void</CODE></FONT></TD>
  472. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#setDecorationBordersVisible(boolean)">setDecorationBordersVisible</A></B>(boolean&nbsp;decorationBordersVisible)</CODE>
  473. <BR>
  474. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the decoration borders visible.</TD>
  475. </TR>
  476. <TR BGCOLOR="white" CLASS="TableRowColor">
  477. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  478. <CODE>&nbsp;void</CODE></FONT></TD>
  479. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#setEnabled(boolean)">setEnabled</A></B>(boolean&nbsp;enabled)</CODE>
  480. <BR>
  481. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enable or disable the JCalendar.</TD>
  482. </TR>
  483. <TR BGCOLOR="white" CLASS="TableRowColor">
  484. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  485. <CODE>&nbsp;void</CODE></FONT></TD>
  486. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#setFont(java.awt.Font)">setFont</A></B>(java.awt.Font&nbsp;font)</CODE>
  487. <BR>
  488. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the font property.</TD>
  489. </TR>
  490. <TR BGCOLOR="white" CLASS="TableRowColor">
  491. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  492. <CODE>&nbsp;void</CODE></FONT></TD>
  493. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#setForeground(java.awt.Color)">setForeground</A></B>(java.awt.Color&nbsp;fg)</CODE>
  494. <BR>
  495. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the foreground color.</TD>
  496. </TR>
  497. <TR BGCOLOR="white" CLASS="TableRowColor">
  498. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  499. <CODE>&nbsp;void</CODE></FONT></TD>
  500. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#setLocale(java.util.Locale)">setLocale</A></B>(java.util.Locale&nbsp;l)</CODE>
  501. <BR>
  502. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the locale property.</TD>
  503. </TR>
  504. <TR BGCOLOR="white" CLASS="TableRowColor">
  505. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  506. <CODE>&nbsp;void</CODE></FONT></TD>
  507. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#setMaxDayCharacters(int)">setMaxDayCharacters</A></B>(int&nbsp;maxDayCharacters)</CODE>
  508. <BR>
  509. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the maximum number of characters per day in the day bar.</TD>
  510. </TR>
  511. <TR BGCOLOR="white" CLASS="TableRowColor">
  512. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  513. <CODE>&nbsp;void</CODE></FONT></TD>
  514. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#setMaxSelectableDate(java.util.Date)">setMaxSelectableDate</A></B>(java.util.Date&nbsp;max)</CODE>
  515. <BR>
  516. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the maximum selectable date.</TD>
  517. </TR>
  518. <TR BGCOLOR="white" CLASS="TableRowColor">
  519. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  520. <CODE>&nbsp;void</CODE></FONT></TD>
  521. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#setMinSelectableDate(java.util.Date)">setMinSelectableDate</A></B>(java.util.Date&nbsp;min)</CODE>
  522. <BR>
  523. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the minimum selectable date.</TD>
  524. </TR>
  525. <TR BGCOLOR="white" CLASS="TableRowColor">
  526. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  527. <CODE>&nbsp;void</CODE></FONT></TD>
  528. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#setSelectableDateRange(java.util.Date, java.util.Date)">setSelectableDateRange</A></B>(java.util.Date&nbsp;min,
  529. java.util.Date&nbsp;max)</CODE>
  530. <BR>
  531. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a valid date range for selectable dates.</TD>
  532. </TR>
  533. <TR BGCOLOR="white" CLASS="TableRowColor">
  534. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  535. <CODE>&nbsp;void</CODE></FONT></TD>
  536. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#setSundayForeground(java.awt.Color)">setSundayForeground</A></B>(java.awt.Color&nbsp;sundayForeground)</CODE>
  537. <BR>
  538. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the Sunday foreground.</TD>
  539. </TR>
  540. <TR BGCOLOR="white" CLASS="TableRowColor">
  541. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  542. <CODE>&nbsp;void</CODE></FONT></TD>
  543. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#setWeekdayForeground(java.awt.Color)">setWeekdayForeground</A></B>(java.awt.Color&nbsp;weekdayForeground)</CODE>
  544. <BR>
  545. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the weekday foreground.</TD>
  546. </TR>
  547. <TR BGCOLOR="white" CLASS="TableRowColor">
  548. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  549. <CODE>&nbsp;void</CODE></FONT></TD>
  550. <TD><CODE><B><A HREF="../../../com/toedter/calendar/JCalendar.html#setWeekOfYearVisible(boolean)">setWeekOfYearVisible</A></B>(boolean&nbsp;weekOfYearVisible)</CODE>
  551. <BR>
  552. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the week of year visible.</TD>
  553. </TR>
  554. </TABLE>
  555. &nbsp;<A NAME="methods_inherited_from_class_javax.swing.JPanel"><!-- --></A>
  556. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  557. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  558. <TH ALIGN="left"><B>Methods inherited from class javax.swing.JPanel</B></TH>
  559. </TR>
  560. <TR BGCOLOR="white" CLASS="TableRowColor">
  561. <TD><CODE>getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI</CODE></TD>
  562. </TR>
  563. </TABLE>
  564. &nbsp;<A NAME="methods_inherited_from_class_javax.swing.JComponent"><!-- --></A>
  565. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  566. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  567. <TH ALIGN="left"><B>Methods inherited from class javax.swing.JComponent</B></TH>
  568. </TR>
  569. <TR BGCOLOR="white" CLASS="TableRowColor">
  570. <TD><CODE>addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update</CODE></TD>
  571. </TR>
  572. </TABLE>
  573. &nbsp;<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A>
  574. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  575. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  576. <TH ALIGN="left"><B>Methods inherited from class java.awt.Container</B></TH>
  577. </TR>
  578. <TR BGCOLOR="white" CLASS="TableRowColor">
  579. <TD><CODE>add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree</CODE></TD>
  580. </TR>
  581. </TABLE>
  582. &nbsp;<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A>
  583. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  584. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  585. <TH ALIGN="left"><B>Methods inherited from class java.awt.Component</B></TH>
  586. </TR>
  587. <TR BGCOLOR="white" CLASS="TableRowColor">
  588. <TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle</CODE></TD>
  589. </TR>
  590. </TABLE>
  591. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  592. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  593. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  594. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  595. </TR>
  596. <TR BGCOLOR="white" CLASS="TableRowColor">
  597. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
  598. </TR>
  599. </TABLE>
  600. &nbsp;
  601. <P>
  602. <!-- ============ FIELD DETAIL =========== -->
  603. <A NAME="field_detail"><!-- --></A>
  604. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  605. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  606. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  607. <B>Field Detail</B></FONT></TH>
  608. </TR>
  609. </TABLE>
  610. <A NAME="dayChooser"><!-- --></A><H3>
  611. dayChooser</H3>
  612. <PRE>
  613. protected <A HREF="../../../com/toedter/calendar/JDayChooser.html" title="class in com.toedter.calendar">JDayChooser</A> <B>dayChooser</B></PRE>
  614. <DL>
  615. <DD>the day chooser
  616. <P>
  617. <DL>
  618. </DL>
  619. </DL>
  620. <HR>
  621. <A NAME="weekOfYearVisible"><!-- --></A><H3>
  622. weekOfYearVisible</H3>
  623. <PRE>
  624. protected boolean <B>weekOfYearVisible</B></PRE>
  625. <DL>
  626. <DD>indicates if weeks of year shall be visible
  627. <P>
  628. <DL>
  629. </DL>
  630. </DL>
  631. <HR>
  632. <A NAME="locale"><!-- --></A><H3>
  633. locale</H3>
  634. <PRE>
  635. protected java.util.Locale <B>locale</B></PRE>
  636. <DL>
  637. <DD>the locale
  638. <P>
  639. <DL>
  640. </DL>
  641. </DL>
  642. <HR>
  643. <A NAME="monthChooser"><!-- --></A><H3>
  644. monthChooser</H3>
  645. <PRE>
  646. protected <A HREF="../../../com/toedter/calendar/JMonthChooser.html" title="class in com.toedter.calendar">JMonthChooser</A> <B>monthChooser</B></PRE>
  647. <DL>
  648. <DD>the month chooser
  649. <P>
  650. <DL>
  651. </DL>
  652. </DL>
  653. <HR>
  654. <A NAME="yearChooser"><!-- --></A><H3>
  655. yearChooser</H3>
  656. <PRE>
  657. protected <A HREF="../../../com/toedter/calendar/JYearChooser.html" title="class in com.toedter.calendar">JYearChooser</A> <B>yearChooser</B></PRE>
  658. <DL>
  659. <DD>the year chhoser
  660. <P>
  661. <DL>
  662. </DL>
  663. </DL>
  664. <HR>
  665. <A NAME="minSelectableDate"><!-- --></A><H3>
  666. minSelectableDate</H3>
  667. <PRE>
  668. protected java.util.Date <B>minSelectableDate</B></PRE>
  669. <DL>
  670. <DL>
  671. </DL>
  672. </DL>
  673. <HR>
  674. <A NAME="maxSelectableDate"><!-- --></A><H3>
  675. maxSelectableDate</H3>
  676. <PRE>
  677. protected java.util.Date <B>maxSelectableDate</B></PRE>
  678. <DL>
  679. <DL>
  680. </DL>
  681. </DL>
  682. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  683. <A NAME="constructor_detail"><!-- --></A>
  684. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  685. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  686. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  687. <B>Constructor Detail</B></FONT></TH>
  688. </TR>
  689. </TABLE>
  690. <A NAME="JCalendar()"><!-- --></A><H3>
  691. JCalendar</H3>
  692. <PRE>
  693. public <B>JCalendar</B>()</PRE>
  694. <DL>
  695. <DD>Default JCalendar constructor.
  696. <P>
  697. </DL>
  698. <HR>
  699. <A NAME="JCalendar(java.util.Date)"><!-- --></A><H3>
  700. JCalendar</H3>
  701. <PRE>
  702. public <B>JCalendar</B>(java.util.Date&nbsp;date)</PRE>
  703. <DL>
  704. <DD>JCalendar constructor which allows the initial date to be set.
  705. <P>
  706. <DL>
  707. <DT><B>Parameters:</B><DD><CODE>date</CODE> - the date</DL>
  708. </DL>
  709. <HR>
  710. <A NAME="JCalendar(java.util.Calendar)"><!-- --></A><H3>
  711. JCalendar</H3>
  712. <PRE>
  713. public <B>JCalendar</B>(java.util.Calendar&nbsp;calendar)</PRE>
  714. <DL>
  715. <DD>JCalendar constructor which allows the initial calendar to be set.
  716. <P>
  717. <DL>
  718. <DT><B>Parameters:</B><DD><CODE>calendar</CODE> - the calendar</DL>
  719. </DL>
  720. <HR>
  721. <A NAME="JCalendar(java.util.Locale)"><!-- --></A><H3>
  722. JCalendar</H3>
  723. <PRE>
  724. public <B>JCalendar</B>(java.util.Locale&nbsp;locale)</PRE>
  725. <DL>
  726. <DD>JCalendar constructor allowing the initial locale to be set.
  727. <P>
  728. <DL>
  729. <DT><B>Parameters:</B><DD><CODE>locale</CODE> - the new locale</DL>
  730. </DL>
  731. <HR>
  732. <A NAME="JCalendar(java.util.Date, java.util.Locale)"><!-- --></A><H3>
  733. JCalendar</H3>
  734. <PRE>
  735. public <B>JCalendar</B>(java.util.Date&nbsp;date,
  736. java.util.Locale&nbsp;locale)</PRE>
  737. <DL>
  738. <DD>JCalendar constructor specifying both the initial date and locale.
  739. <P>
  740. <DL>
  741. <DT><B>Parameters:</B><DD><CODE>date</CODE> - the date<DD><CODE>locale</CODE> - the new locale</DL>
  742. </DL>
  743. <HR>
  744. <A NAME="JCalendar(java.util.Date, boolean)"><!-- --></A><H3>
  745. JCalendar</H3>
  746. <PRE>
  747. public <B>JCalendar</B>(java.util.Date&nbsp;date,
  748. boolean&nbsp;monthSpinner)</PRE>
  749. <DL>
  750. <DD>JCalendar constructor specifying both the initial date and the month
  751. spinner type.
  752. <P>
  753. <DL>
  754. <DT><B>Parameters:</B><DD><CODE>date</CODE> - the date<DD><CODE>monthSpinner</CODE> - false, if no month spinner should be used</DL>
  755. </DL>
  756. <HR>
  757. <A NAME="JCalendar(java.util.Locale, boolean)"><!-- --></A><H3>
  758. JCalendar</H3>
  759. <PRE>
  760. public <B>JCalendar</B>(java.util.Locale&nbsp;locale,
  761. boolean&nbsp;monthSpinner)</PRE>
  762. <DL>
  763. <DD>JCalendar constructor specifying both the locale and the month spinner.
  764. <P>
  765. <DL>
  766. <DT><B>Parameters:</B><DD><CODE>locale</CODE> - the locale<DD><CODE>monthSpinner</CODE> - false, if no month spinner should be used</DL>
  767. </DL>
  768. <HR>
  769. <A NAME="JCalendar(boolean)"><!-- --></A><H3>
  770. JCalendar</H3>
  771. <PRE>
  772. public <B>JCalendar</B>(boolean&nbsp;monthSpinner)</PRE>
  773. <DL>
  774. <DD>JCalendar constructor specifying the month spinner type.
  775. <P>
  776. <DL>
  777. <DT><B>Parameters:</B><DD><CODE>monthSpinner</CODE> - false, if no month spinner should be used</DL>
  778. </DL>
  779. <HR>
  780. <A NAME="JCalendar(java.util.Date, java.util.Locale, boolean, boolean)"><!-- --></A><H3>
  781. JCalendar</H3>
  782. <PRE>
  783. public <B>JCalendar</B>(java.util.Date&nbsp;date,
  784. java.util.Locale&nbsp;locale,
  785. boolean&nbsp;monthSpinner,
  786. boolean&nbsp;weekOfYearVisible)</PRE>
  787. <DL>
  788. <DD>JCalendar constructor with month spinner parameter.
  789. <P>
  790. <DL>
  791. <DT><B>Parameters:</B><DD><CODE>date</CODE> - the date<DD><CODE>locale</CODE> - the locale<DD><CODE>monthSpinner</CODE> - false, if no month spinner should be used<DD><CODE>weekOfYearVisible</CODE> - true, if weeks of year shall be visible</DL>
  792. </DL>
  793. <!-- ============ METHOD DETAIL ========== -->
  794. <A NAME="method_detail"><!-- --></A>
  795. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  796. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  797. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  798. <B>Method Detail</B></FONT></TH>
  799. </TR>
  800. </TABLE>
  801. <A NAME="main(java.lang.String[])"><!-- --></A><H3>
  802. main</H3>
  803. <PRE>
  804. public static void <B>main</B>(java.lang.String[]&nbsp;s)</PRE>
  805. <DL>
  806. <DD>Creates a JFrame with a JCalendar inside and can be used for testing.
  807. <P>
  808. <DD><DL>
  809. </DL>
  810. </DD>
  811. <DD><DL>
  812. <DT><B>Parameters:</B><DD><CODE>s</CODE> - The command line arguments</DL>
  813. </DD>
  814. </DL>
  815. <HR>
  816. <A NAME="getCalendar()"><!-- --></A><H3>
  817. getCalendar</H3>
  818. <PRE>
  819. public java.util.Calendar <B>getCalendar</B>()</PRE>
  820. <DL>
  821. <DD>Returns the calendar property.
  822. <P>
  823. <DD><DL>
  824. </DL>
  825. </DD>
  826. <DD><DL>
  827. <DT><B>Returns:</B><DD>the value of the calendar property.</DL>
  828. </DD>
  829. </DL>
  830. <HR>
  831. <A NAME="getDayChooser()"><!-- --></A><H3>
  832. getDayChooser</H3>
  833. <PRE>
  834. public <A HREF="../../../com/toedter/calendar/JDayChooser.html" title="class in com.toedter.calendar">JDayChooser</A> <B>getDayChooser</B>()</PRE>
  835. <DL>
  836. <DD>Gets the dayChooser attribute of the JCalendar object
  837. <P>
  838. <DD><DL>
  839. </DL>
  840. </DD>
  841. <DD><DL>
  842. <DT><B>Returns:</B><DD>the dayChooser value</DL>
  843. </DD>
  844. </DL>
  845. <HR>
  846. <A NAME="getLocale()"><!-- --></A><H3>
  847. getLocale</H3>
  848. <PRE>
  849. public java.util.Locale <B>getLocale</B>()</PRE>
  850. <DL>
  851. <DD>Returns the locale.
  852. <P>
  853. <DD><DL>
  854. <DT><B>Overrides:</B><DD><CODE>getLocale</CODE> in class <CODE>java.awt.Component</CODE></DL>
  855. </DD>
  856. <DD><DL>
  857. <DT><B>Returns:</B><DD>the value of the locale property.<DT><B>See Also:</B><DD><A HREF="../../../com/toedter/calendar/JCalendar.html#setLocale(java.util.Locale)"><CODE>setLocale(java.util.Locale)</CODE></A></DL>
  858. </DD>
  859. </DL>
  860. <HR>
  861. <A NAME="getMonthChooser()"><!-- --></A><H3>
  862. getMonthChooser</H3>
  863. <PRE>
  864. public <A HREF="../../../com/toedter/calendar/JMonthChooser.html" title="class in com.toedter.calendar">JMonthChooser</A> <B>getMonthChooser</B>()</PRE>
  865. <DL>
  866. <DD>Gets the monthChooser attribute of the JCalendar object
  867. <P>
  868. <DD><DL>
  869. </DL>
  870. </DD>
  871. <DD><DL>
  872. <DT><B>Returns:</B><DD>the monthChooser value</DL>
  873. </DD>
  874. </DL>
  875. <HR>
  876. <A NAME="getYearChooser()"><!-- --></A><H3>
  877. getYearChooser</H3>
  878. <PRE>
  879. public <A HREF="../../../com/toedter/calendar/JYearChooser.html" title="class in com.toedter.calendar">JYearChooser</A> <B>getYearChooser</B>()</PRE>
  880. <DL>
  881. <DD>Gets the yearChooser attribute of the JCalendar object
  882. <P>
  883. <DD><DL>
  884. </DL>
  885. </DD>
  886. <DD><DL>
  887. <DT><B>Returns:</B><DD>the yearChooser value</DL>
  888. </DD>
  889. </DL>
  890. <HR>
  891. <A NAME="isWeekOfYearVisible()"><!-- --></A><H3>
  892. isWeekOfYearVisible</H3>
  893. <PRE>
  894. public boolean <B>isWeekOfYearVisible</B>()</PRE>
  895. <DL>
  896. <DD>Indicates if the weeks of year are visible..
  897. <P>
  898. <DD><DL>
  899. </DL>
  900. </DD>
  901. <DD><DL>
  902. <DT><B>Returns:</B><DD>boolean true, if weeks of year are visible</DL>
  903. </DD>
  904. </DL>
  905. <HR>
  906. <A NAME="propertyChange(java.beans.PropertyChangeEvent)"><!-- --></A><H3>
  907. propertyChange</H3>
  908. <PRE>
  909. public void <B>propertyChange</B>(java.beans.PropertyChangeEvent&nbsp;evt)</PRE>
  910. <DL>
  911. <DD>JCalendar is a PropertyChangeListener, for its day, month and year
  912. chooser.
  913. <P>
  914. <DD><DL>
  915. <DT><B>Specified by:</B><DD><CODE>propertyChange</CODE> in interface <CODE>java.beans.PropertyChangeListener</CODE></DL>
  916. </DD>
  917. <DD><DL>
  918. <DT><B>Parameters:</B><DD><CODE>evt</CODE> - the property change event</DL>
  919. </DD>
  920. </DL>
  921. <HR>
  922. <A NAME="setBackground(java.awt.Color)"><!-- --></A><H3>
  923. setBackground</H3>
  924. <PRE>
  925. public void <B>setBackground</B>(java.awt.Color&nbsp;bg)</PRE>
  926. <DL>
  927. <DD>Sets the background color.
  928. <P>
  929. <DD><DL>
  930. <DT><B>Overrides:</B><DD><CODE>setBackground</CODE> in class <CODE>javax.swing.JComponent</CODE></DL>
  931. </DD>
  932. <DD><DL>
  933. <DT><B>Parameters:</B><DD><CODE>bg</CODE> - the new background</DL>
  934. </DD>
  935. </DL>
  936. <HR>
  937. <A NAME="setCalendar(java.util.Calendar)"><!-- --></A><H3>
  938. setCalendar</H3>
  939. <PRE>
  940. public void <B>setCalendar</B>(java.util.Calendar&nbsp;c)</PRE>
  941. <DL>
  942. <DD>Sets the calendar property. This is a bound property.
  943. <P>
  944. <DD><DL>
  945. </DL>
  946. </DD>
  947. <DD><DL>
  948. <DT><B>Parameters:</B><DD><CODE>c</CODE> - the new calendar
  949. <DT><B>Throws:</B>
  950. <DD><CODE>java.lang.NullPointerException</CODE> - -
  951. if c is null;<DT><B>See Also:</B><DD><A HREF="../../../com/toedter/calendar/JCalendar.html#getCalendar()"><CODE>getCalendar()</CODE></A></DL>
  952. </DD>
  953. </DL>
  954. <HR>
  955. <A NAME="setEnabled(boolean)"><!-- --></A><H3>
  956. setEnabled</H3>
  957. <PRE>
  958. public void <B>setEnabled</B>(boolean&nbsp;enabled)</PRE>
  959. <DL>
  960. <DD>Enable or disable the JCalendar.
  961. <P>
  962. <DD><DL>
  963. <DT><B>Overrides:</B><DD><CODE>setEnabled</CODE> in class <CODE>javax.swing.JComponent</CODE></DL>
  964. </DD>
  965. <DD><DL>
  966. <DT><B>Parameters:</B><DD><CODE>enabled</CODE> - the new enabled value</DL>
  967. </DD>
  968. </DL>
  969. <HR>
  970. <A NAME="isEnabled()"><!-- --></A><H3>
  971. isEnabled</H3>
  972. <PRE>
  973. public boolean <B>isEnabled</B>()</PRE>
  974. <DL>
  975. <DD>Returns true, if enabled.
  976. <P>
  977. <DD><DL>
  978. <DT><B>Overrides:</B><DD><CODE>isEnabled</CODE> in class <CODE>java.awt.Component</CODE></DL>
  979. </DD>
  980. <DD><DL>
  981. <DT><B>Returns:</B><DD>true, if enabled.</DL>
  982. </DD>
  983. </DL>
  984. <HR>
  985. <A NAME="setFont(java.awt.Font)"><!-- --></A><H3>
  986. setFont</H3>
  987. <PRE>
  988. public void <B>setFont</B>(java.awt.Font&nbsp;font)</PRE>
  989. <DL>
  990. <DD>Sets the font property.
  991. <P>
  992. <DD><DL>
  993. <DT><B>Overrides:</B><DD><CODE>setFont</CODE> in class <CODE>javax.swing.JComponent</CODE></DL>
  994. </DD>
  995. <DD><DL>
  996. <DT><B>Parameters:</B><DD><CODE>font</CODE> - the new font</DL>
  997. </DD>
  998. </DL>
  999. <HR>
  1000. <A NAME="setForeground(java.awt.Color)"><!-- --></A><H3>
  1001. setForeground</H3>
  1002. <PRE>
  1003. public void <B>setForeground</B>(java.awt.Color&nbsp;fg)</PRE>
  1004. <DL>
  1005. <DD>Sets the foreground color.
  1006. <P>
  1007. <DD><DL>
  1008. <DT><B>Overrides:</B><DD><CODE>setForeground</CODE> in class <CODE>javax.swing.JComponent</CODE></DL>
  1009. </DD>
  1010. <DD><DL>
  1011. <DT><B>Parameters:</B><DD><CODE>fg</CODE> - the new foreground</DL>
  1012. </DD>
  1013. </DL>
  1014. <HR>
  1015. <A NAME="setLocale(java.util.Locale)"><!-- --></A><H3>
  1016. setLocale</H3>
  1017. <PRE>
  1018. public void <B>setLocale</B>(java.util.Locale&nbsp;l)</PRE>
  1019. <DL>
  1020. <DD>Sets the locale property. This is a bound property.
  1021. <P>
  1022. <DD><DL>
  1023. <DT><B>Overrides:</B><DD><CODE>setLocale</CODE> in class <CODE>java.awt.Component</CODE></DL>
  1024. </DD>
  1025. <DD><DL>
  1026. <DT><B>Parameters:</B><DD><CODE>l</CODE> - the new locale value<DT><B>See Also:</B><DD><A HREF="../../../com/toedter/calendar/JCalendar.html#getLocale()"><CODE>getLocale()</CODE></A></DL>
  1027. </DD>
  1028. </DL>
  1029. <HR>
  1030. <A NAME="setWeekOfYearVisible(boolean)"><!-- --></A><H3>
  1031. setWeekOfYearVisible</H3>
  1032. <PRE>
  1033. public void <B>setWeekOfYearVisible</B>(boolean&nbsp;weekOfYearVisible)</PRE>
  1034. <DL>
  1035. <DD>Sets the week of year visible.
  1036. <P>
  1037. <DD><DL>
  1038. </DL>
  1039. </DD>
  1040. <DD><DL>
  1041. <DT><B>Parameters:</B><DD><CODE>weekOfYearVisible</CODE> - true, if weeks of year shall be visible</DL>
  1042. </DD>
  1043. </DL>
  1044. <HR>
  1045. <A NAME="isDecorationBackgroundVisible()"><!-- --></A><H3>
  1046. isDecorationBackgroundVisible</H3>
  1047. <PRE>
  1048. public boolean <B>isDecorationBackgroundVisible</B>()</PRE>
  1049. <DL>
  1050. <DD>Gets the visibility of the decoration background.
  1051. <P>
  1052. <DD><DL>
  1053. </DL>
  1054. </DD>
  1055. <DD><DL>
  1056. <DT><B>Returns:</B><DD>true, if the decoration background is visible.</DL>
  1057. </DD>
  1058. </DL>
  1059. <HR>
  1060. <A NAME="setDecorationBackgroundVisible(boolean)"><!-- --></A><H3>
  1061. setDecorationBackgroundVisible</H3>
  1062. <PRE>
  1063. public void <B>setDecorationBackgroundVisible</B>(boolean&nbsp;decorationBackgroundVisible)</PRE>
  1064. <DL>
  1065. <DD>Sets the decoration background visible.
  1066. <P>
  1067. <DD><DL>
  1068. </DL>
  1069. </DD>
  1070. <DD><DL>
  1071. <DT><B>Parameters:</B><DD><CODE>decorationBackgroundVisible</CODE> - true, if the decoration background should be visible.</DL>
  1072. </DD>
  1073. </DL>
  1074. <HR>
  1075. <A NAME="isDecorationBordersVisible()"><!-- --></A><H3>
  1076. isDecorationBordersVisible</H3>
  1077. <PRE>
  1078. public boolean <B>isDecorationBordersVisible</B>()</PRE>
  1079. <DL>
  1080. <DD>Gets the visibility of the decoration border.
  1081. <P>
  1082. <DD><DL>
  1083. </DL>
  1084. </DD>
  1085. <DD><DL>
  1086. <DT><B>Returns:</B><DD>true, if the decoration border is visible.</DL>
  1087. </DD>
  1088. </DL>
  1089. <HR>
  1090. <A NAME="setDecorationBordersVisible(boolean)"><!-- --></A><H3>
  1091. setDecorationBordersVisible</H3>
  1092. <PRE>
  1093. public void <B>setDecorationBordersVisible</B>(boolean&nbsp;decorationBordersVisible)</PRE>
  1094. <DL>
  1095. <DD>Sets the decoration borders visible.
  1096. <P>
  1097. <DD><DL>
  1098. </DL>
  1099. </DD>
  1100. <DD><DL>
  1101. <DT><B>Parameters:</B><DD><CODE>decorationBordersVisible</CODE> - true, if the decoration borders should be visible.</DL>
  1102. </DD>
  1103. </DL>
  1104. <HR>
  1105. <A NAME="getDecorationBackgroundColor()"><!-- --></A><H3>
  1106. getDecorationBackgroundColor</H3>
  1107. <PRE>
  1108. public java.awt.Color <B>getDecorationBackgroundColor</B>()</PRE>
  1109. <DL>
  1110. <DD>Returns the color of the decoration (day names and weeks).
  1111. <P>
  1112. <DD><DL>
  1113. </DL>
  1114. </DD>
  1115. <DD><DL>
  1116. <DT><B>Returns:</B><DD>the color of the decoration (day names and weeks).</DL>
  1117. </DD>
  1118. </DL>
  1119. <HR>
  1120. <A NAME="setDecorationBackgroundColor(java.awt.Color)"><!-- --></A><H3>
  1121. setDecorationBackgroundColor</H3>
  1122. <PRE>
  1123. public void <B>setDecorationBackgroundColor</B>(java.awt.Color&nbsp;decorationBackgroundColor)</PRE>
  1124. <DL>
  1125. <DD>Sets the background of days and weeks of year buttons.
  1126. <P>
  1127. <DD><DL>
  1128. </DL>
  1129. </DD>
  1130. <DD><DL>
  1131. <DT><B>Parameters:</B><DD><CODE>decorationBackgroundColor</CODE> - the background color</DL>
  1132. </DD>
  1133. </DL>
  1134. <HR>
  1135. <A NAME="getSundayForeground()"><!-- --></A><H3>
  1136. getSundayForeground</H3>
  1137. <PRE>
  1138. public java.awt.Color <B>getSundayForeground</B>()</PRE>
  1139. <DL>
  1140. <DD>Returns the Sunday foreground.
  1141. <P>
  1142. <DD><DL>
  1143. </DL>
  1144. </DD>
  1145. <DD><DL>
  1146. <DT><B>Returns:</B><DD>Color the Sunday foreground.</DL>
  1147. </DD>
  1148. </DL>
  1149. <HR>
  1150. <A NAME="getWeekdayForeground()"><!-- --></A><H3>
  1151. getWeekdayForeground</H3>
  1152. <PRE>
  1153. public java.awt.Color <B>getWeekdayForeground</B>()</PRE>
  1154. <DL>
  1155. <DD>Returns the weekday foreground.
  1156. <P>
  1157. <DD><DL>
  1158. </DL>
  1159. </DD>
  1160. <DD><DL>
  1161. <DT><B>Returns:</B><DD>Color the weekday foreground.</DL>
  1162. </DD>
  1163. </DL>
  1164. <HR>
  1165. <A NAME="setSundayForeground(java.awt.Color)"><!-- --></A><H3>
  1166. setSundayForeground</H3>
  1167. <PRE>
  1168. public void <B>setSundayForeground</B>(java.awt.Color&nbsp;sundayForeground)</PRE>
  1169. <DL>
  1170. <DD>Sets the Sunday foreground.
  1171. <P>
  1172. <DD><DL>
  1173. </DL>
  1174. </DD>
  1175. <DD><DL>
  1176. <DT><B>Parameters:</B><DD><CODE>sundayForeground</CODE> - the sundayForeground to set</DL>
  1177. </DD>
  1178. </DL>
  1179. <HR>
  1180. <A NAME="setWeekdayForeground(java.awt.Color)"><!-- --></A><H3>
  1181. setWeekdayForeground</H3>
  1182. <PRE>
  1183. public void <B>setWeekdayForeground</B>(java.awt.Color&nbsp;weekdayForeground)</PRE>
  1184. <DL>
  1185. <DD>Sets the weekday foreground.
  1186. <P>
  1187. <DD><DL>
  1188. </DL>
  1189. </DD>
  1190. <DD><DL>
  1191. <DT><B>Parameters:</B><DD><CODE>weekdayForeground</CODE> - the weekdayForeground to set</DL>
  1192. </DD>
  1193. </DL>
  1194. <HR>
  1195. <A NAME="getDate()"><!-- --></A><H3>
  1196. getDate</H3>
  1197. <PRE>
  1198. public java.util.Date <B>getDate</B>()</PRE>
  1199. <DL>
  1200. <DD>Returns a Date object.
  1201. <P>
  1202. <DD><DL>
  1203. </DL>
  1204. </DD>
  1205. <DD><DL>
  1206. <DT><B>Returns:</B><DD>a date object constructed from the calendar property.</DL>
  1207. </DD>
  1208. </DL>
  1209. <HR>
  1210. <A NAME="setDate(java.util.Date)"><!-- --></A><H3>
  1211. setDate</H3>
  1212. <PRE>
  1213. public void <B>setDate</B>(java.util.Date&nbsp;date)</PRE>
  1214. <DL>
  1215. <DD>Sets the date. Fires the property change "date".
  1216. <P>
  1217. <DD><DL>
  1218. </DL>
  1219. </DD>
  1220. <DD><DL>
  1221. <DT><B>Parameters:</B><DD><CODE>date</CODE> - the new date.
  1222. <DT><B>Throws:</B>
  1223. <DD><CODE>java.lang.NullPointerException</CODE> - -
  1224. if tha date is null</DL>
  1225. </DD>
  1226. </DL>
  1227. <HR>
  1228. <A NAME="setSelectableDateRange(java.util.Date, java.util.Date)"><!-- --></A><H3>
  1229. setSelectableDateRange</H3>
  1230. <PRE>
  1231. public void <B>setSelectableDateRange</B>(java.util.Date&nbsp;min,
  1232. java.util.Date&nbsp;max)</PRE>
  1233. <DL>
  1234. <DD>Sets a valid date range for selectable dates. If max is before
  1235. min, the default range with no limitation is set.
  1236. <P>
  1237. <DD><DL>
  1238. </DL>
  1239. </DD>
  1240. <DD><DL>
  1241. <DT><B>Parameters:</B><DD><CODE>min</CODE> - the minimum selectable date or null (then the minimum date is
  1242. set to 01\01\0001)<DD><CODE>max</CODE> - the maximum selectable date or null (then the maximum date is
  1243. set to 01\01\9999)</DL>
  1244. </DD>
  1245. </DL>
  1246. <HR>
  1247. <A NAME="getMaxSelectableDate()"><!-- --></A><H3>
  1248. getMaxSelectableDate</H3>
  1249. <PRE>
  1250. public java.util.Date <B>getMaxSelectableDate</B>()</PRE>
  1251. <DL>
  1252. <DD>Gets the minimum selectable date.
  1253. <P>
  1254. <DD><DL>
  1255. </DL>
  1256. </DD>
  1257. <DD><DL>
  1258. <DT><B>Returns:</B><DD>the minimum selectable date</DL>
  1259. </DD>
  1260. </DL>
  1261. <HR>
  1262. <A NAME="getMinSelectableDate()"><!-- --></A><H3>
  1263. getMinSelectableDate</H3>
  1264. <PRE>
  1265. public java.util.Date <B>getMinSelectableDate</B>()</PRE>
  1266. <DL>
  1267. <DD>Gets the maximum selectable date.
  1268. <P>
  1269. <DD><DL>
  1270. </DL>
  1271. </DD>
  1272. <DD><DL>
  1273. <DT><B>Returns:</B><DD>the maximum selectable date</DL>
  1274. </DD>
  1275. </DL>
  1276. <HR>
  1277. <A NAME="setMaxSelectableDate(java.util.Date)"><!-- --></A><H3>
  1278. setMaxSelectableDate</H3>
  1279. <PRE>
  1280. public void <B>setMaxSelectableDate</B>(java.util.Date&nbsp;max)</PRE>
  1281. <DL>
  1282. <DD>Sets the maximum selectable date.
  1283. <P>
  1284. <DD><DL>
  1285. </DL>
  1286. </DD>
  1287. <DD><DL>
  1288. <DT><B>Parameters:</B><DD><CODE>max</CODE> - maximum selectable date</DL>
  1289. </DD>
  1290. </DL>
  1291. <HR>
  1292. <A NAME="setMinSelectableDate(java.util.Date)"><!-- --></A><H3>
  1293. setMinSelectableDate</H3>
  1294. <PRE>
  1295. public void <B>setMinSelectableDate</B>(java.util.Date&nbsp;min)</PRE>
  1296. <DL>
  1297. <DD>Sets the minimum selectable date.
  1298. <P>
  1299. <DD><DL>
  1300. </DL>
  1301. </DD>
  1302. <DD><DL>
  1303. <DT><B>Parameters:</B><DD><CODE>min</CODE> - minimum selectable date</DL>
  1304. </DD>
  1305. </DL>
  1306. <HR>
  1307. <A NAME="getMaxDayCharacters()"><!-- --></A><H3>
  1308. getMaxDayCharacters</H3>
  1309. <PRE>
  1310. public int <B>getMaxDayCharacters</B>()</PRE>
  1311. <DL>
  1312. <DD>Gets the maximum number of characters of a day name or 0. If 0 is
  1313. returned, dateFormatSymbols.getShortWeekdays() will be used.
  1314. <P>
  1315. <DD><DL>
  1316. </DL>
  1317. </DD>
  1318. <DD><DL>
  1319. <DT><B>Returns:</B><DD>the maximum number of characters of a day name or 0.</DL>
  1320. </DD>
  1321. </DL>
  1322. <HR>
  1323. <A NAME="setMaxDayCharacters(int)"><!-- --></A><H3>
  1324. setMaxDayCharacters</H3>
  1325. <PRE>
  1326. public void <B>setMaxDayCharacters</B>(int&nbsp;maxDayCharacters)</PRE>
  1327. <DL>
  1328. <DD>Sets the maximum number of characters per day in the day bar. Valid
  1329. values are 0-4. If set to 0, dateFormatSymbols.getShortWeekdays() will be
  1330. used, otherwise theses strings will be reduced to the maximum number of
  1331. characters.
  1332. <P>
  1333. <DD><DL>
  1334. </DL>
  1335. </DD>
  1336. <DD><DL>
  1337. <DT><B>Parameters:</B><DD><CODE>maxDayCharacters</CODE> - the maximum number of characters of a day name.</DL>
  1338. </DD>
  1339. </DL>
  1340. <!-- ========= END OF CLASS DATA ========= -->
  1341. <HR>
  1342. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  1343. <A NAME="navbar_bottom"><!-- --></A>
  1344. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  1345. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  1346. <TR>
  1347. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  1348. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  1349. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  1350. <TR ALIGN="center" VALIGN="top">
  1351. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  1352. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  1353. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  1354. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  1355. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  1356. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  1357. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  1358. </TR>
  1359. </TABLE>
  1360. </TD>
  1361. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  1362. </EM>
  1363. </TD>
  1364. </TR>
  1365. <TR>
  1366. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  1367. &nbsp;<A HREF="../../../com/toedter/calendar/IDateEditor.html" title="interface in com.toedter.calendar"><B>PREV CLASS</B></A>&nbsp;
  1368. &nbsp;<A HREF="../../../com/toedter/calendar/JCalendarBeanInfo.html" title="class in com.toedter.calendar"><B>NEXT CLASS</B></A></FONT></TD>
  1369. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  1370. <A HREF="../../../index.html?com/toedter/calendar/JCalendar.html" target="_top"><B>FRAMES</B></A> &nbsp;
  1371. &nbsp;<A HREF="JCalendar.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  1372. &nbsp;<SCRIPT type="text/javascript">
  1373. <!--
  1374. if(window==top) {
  1375. document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  1376. }
  1377. //-->
  1378. </SCRIPT>
  1379. <NOSCRIPT>
  1380. <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  1381. </NOSCRIPT>
  1382. </FONT></TD>
  1383. </TR>
  1384. <TR>
  1385. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  1386. SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_javax.swing.JPanel">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  1387. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  1388. DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  1389. </TR>
  1390. </TABLE>
  1391. <A NAME="skip-navbar_bottom"></A>
  1392. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  1393. <HR>
  1394. Copyright Š 1999 - 2006 Kai Toedter.
  1395. </BODY>
  1396. </HTML>