PageRenderTime 133ms CodeModel.GetById 38ms RepoModel.GetById 0ms app.codeStats 0ms

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

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
HTML | 558 lines | 477 code | 61 blank | 20 comment | 0 complexity | f6a4a5c9f917c707bddba9a89bee6572 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. IDateEditor (JCalendar API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="com.toedter.calendar.IDateEditor interface">
  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="IDateEditor (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/DateUtil.html" title="class in com.toedter.calendar"><B>PREV CLASS</B></A>&nbsp;
  47. &nbsp;<A HREF="../../../com/toedter/calendar/JCalendar.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/IDateEditor.html" target="_top"><B>FRAMES</B></A> &nbsp;
  50. &nbsp;<A HREF="IDateEditor.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;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  66. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  67. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&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. Interface IDateEditor</H2>
  79. <DL>
  80. <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../com/toedter/calendar/JSpinnerDateEditor.html" title="class in com.toedter.calendar">JSpinnerDateEditor</A>, <A HREF="../../../com/toedter/calendar/JTextFieldDateEditor.html" title="class in com.toedter.calendar">JTextFieldDateEditor</A></DD>
  81. </DL>
  82. <HR>
  83. <DL>
  84. <DT><PRE>public interface <B>IDateEditor</B></DL>
  85. </PRE>
  86. <P>
  87. All date editors that should be used by a JDateChooser have to implement this
  88. interface.
  89. <P>
  90. <P>
  91. <DL>
  92. <DT><B>Version:</B></DT>
  93. <DD>$LastChangedRevision: 96 $, $LastChangedDate: 2006-05-12 18:19:35 +0200 (Fr, 12 Mai 2006) $</DD>
  94. <DT><B>Author:</B></DT>
  95. <DD>Kai Toedter</DD>
  96. </DL>
  97. <HR>
  98. <P>
  99. <!-- ========== METHOD SUMMARY =========== -->
  100. <A NAME="method_summary"><!-- --></A>
  101. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  102. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  103. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  104. <B>Method Summary</B></FONT></TH>
  105. </TR>
  106. <TR BGCOLOR="white" CLASS="TableRowColor">
  107. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  108. <CODE>&nbsp;void</CODE></FONT></TD>
  109. <TD><CODE><B><A HREF="../../../com/toedter/calendar/IDateEditor.html#addPropertyChangeListener(java.beans.PropertyChangeListener)">addPropertyChangeListener</A></B>(java.beans.PropertyChangeListener&nbsp;listener)</CODE>
  110. <BR>
  111. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a property change listener that should be added to the implementing
  112. UI component.</TD>
  113. </TR>
  114. <TR BGCOLOR="white" CLASS="TableRowColor">
  115. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  116. <CODE>&nbsp;void</CODE></FONT></TD>
  117. <TD><CODE><B><A HREF="../../../com/toedter/calendar/IDateEditor.html#addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)">addPropertyChangeListener</A></B>(java.lang.String&nbsp;propertyName,
  118. java.beans.PropertyChangeListener&nbsp;listener)</CODE>
  119. <BR>
  120. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a property change listener that should be added to the implementing
  121. UI component.</TD>
  122. </TR>
  123. <TR BGCOLOR="white" CLASS="TableRowColor">
  124. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  125. <CODE>&nbsp;java.util.Date</CODE></FONT></TD>
  126. <TD><CODE><B><A HREF="../../../com/toedter/calendar/IDateEditor.html#getDate()">getDate</A></B>()</CODE>
  127. <BR>
  128. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the date.</TD>
  129. </TR>
  130. <TR BGCOLOR="white" CLASS="TableRowColor">
  131. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  132. <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
  133. <TD><CODE><B><A HREF="../../../com/toedter/calendar/IDateEditor.html#getDateFormatString()">getDateFormatString</A></B>()</CODE>
  134. <BR>
  135. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns tha date format string.</TD>
  136. </TR>
  137. <TR BGCOLOR="white" CLASS="TableRowColor">
  138. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  139. <CODE>&nbsp;java.util.Date</CODE></FONT></TD>
  140. <TD><CODE><B><A HREF="../../../com/toedter/calendar/IDateEditor.html#getMaxSelectableDate()">getMaxSelectableDate</A></B>()</CODE>
  141. <BR>
  142. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the minimum selectable date.</TD>
  143. </TR>
  144. <TR BGCOLOR="white" CLASS="TableRowColor">
  145. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  146. <CODE>&nbsp;java.util.Date</CODE></FONT></TD>
  147. <TD><CODE><B><A HREF="../../../com/toedter/calendar/IDateEditor.html#getMinSelectableDate()">getMinSelectableDate</A></B>()</CODE>
  148. <BR>
  149. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the maximum selectable date.</TD>
  150. </TR>
  151. <TR BGCOLOR="white" CLASS="TableRowColor">
  152. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  153. <CODE>&nbsp;javax.swing.JComponent</CODE></FONT></TD>
  154. <TD><CODE><B><A HREF="../../../com/toedter/calendar/IDateEditor.html#getUiComponent()">getUiComponent</A></B>()</CODE>
  155. <BR>
  156. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the UI component, e.g. the actual JTextField implementing the
  157. editor.</TD>
  158. </TR>
  159. <TR BGCOLOR="white" CLASS="TableRowColor">
  160. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  161. <CODE>&nbsp;void</CODE></FONT></TD>
  162. <TD><CODE><B><A HREF="../../../com/toedter/calendar/IDateEditor.html#removePropertyChangeListener(java.beans.PropertyChangeListener)">removePropertyChangeListener</A></B>(java.beans.PropertyChangeListener&nbsp;listener)</CODE>
  163. <BR>
  164. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a property change listener.</TD>
  165. </TR>
  166. <TR BGCOLOR="white" CLASS="TableRowColor">
  167. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  168. <CODE>&nbsp;void</CODE></FONT></TD>
  169. <TD><CODE><B><A HREF="../../../com/toedter/calendar/IDateEditor.html#removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)">removePropertyChangeListener</A></B>(java.lang.String&nbsp;propertyName,
  170. java.beans.PropertyChangeListener&nbsp;listener)</CODE>
  171. <BR>
  172. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the listener from the date editor's property change listeners for the specific property.</TD>
  173. </TR>
  174. <TR BGCOLOR="white" CLASS="TableRowColor">
  175. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  176. <CODE>&nbsp;void</CODE></FONT></TD>
  177. <TD><CODE><B><A HREF="../../../com/toedter/calendar/IDateEditor.html#setDate(java.util.Date)">setDate</A></B>(java.util.Date&nbsp;date)</CODE>
  178. <BR>
  179. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the date.</TD>
  180. </TR>
  181. <TR BGCOLOR="white" CLASS="TableRowColor">
  182. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  183. <CODE>&nbsp;void</CODE></FONT></TD>
  184. <TD><CODE><B><A HREF="../../../com/toedter/calendar/IDateEditor.html#setDateFormatString(java.lang.String)">setDateFormatString</A></B>(java.lang.String&nbsp;dateFormatString)</CODE>
  185. <BR>
  186. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the date format string, e.g.</TD>
  187. </TR>
  188. <TR BGCOLOR="white" CLASS="TableRowColor">
  189. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  190. <CODE>&nbsp;void</CODE></FONT></TD>
  191. <TD><CODE><B><A HREF="../../../com/toedter/calendar/IDateEditor.html#setEnabled(boolean)">setEnabled</A></B>(boolean&nbsp;enabled)</CODE>
  192. <BR>
  193. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables or disables the UI compoment.</TD>
  194. </TR>
  195. <TR BGCOLOR="white" CLASS="TableRowColor">
  196. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  197. <CODE>&nbsp;void</CODE></FONT></TD>
  198. <TD><CODE><B><A HREF="../../../com/toedter/calendar/IDateEditor.html#setLocale(java.util.Locale)">setLocale</A></B>(java.util.Locale&nbsp;locale)</CODE>
  199. <BR>
  200. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the locale.</TD>
  201. </TR>
  202. <TR BGCOLOR="white" CLASS="TableRowColor">
  203. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  204. <CODE>&nbsp;void</CODE></FONT></TD>
  205. <TD><CODE><B><A HREF="../../../com/toedter/calendar/IDateEditor.html#setMaxSelectableDate(java.util.Date)">setMaxSelectableDate</A></B>(java.util.Date&nbsp;max)</CODE>
  206. <BR>
  207. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the maximum selectable date.</TD>
  208. </TR>
  209. <TR BGCOLOR="white" CLASS="TableRowColor">
  210. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  211. <CODE>&nbsp;void</CODE></FONT></TD>
  212. <TD><CODE><B><A HREF="../../../com/toedter/calendar/IDateEditor.html#setMinSelectableDate(java.util.Date)">setMinSelectableDate</A></B>(java.util.Date&nbsp;min)</CODE>
  213. <BR>
  214. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the minimum selectable date.</TD>
  215. </TR>
  216. <TR BGCOLOR="white" CLASS="TableRowColor">
  217. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  218. <CODE>&nbsp;void</CODE></FONT></TD>
  219. <TD><CODE><B><A HREF="../../../com/toedter/calendar/IDateEditor.html#setSelectableDateRange(java.util.Date, java.util.Date)">setSelectableDateRange</A></B>(java.util.Date&nbsp;min,
  220. java.util.Date&nbsp;max)</CODE>
  221. <BR>
  222. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a valid date range for selectable dates.</TD>
  223. </TR>
  224. </TABLE>
  225. &nbsp;
  226. <P>
  227. <!-- ============ METHOD DETAIL ========== -->
  228. <A NAME="method_detail"><!-- --></A>
  229. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  230. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  231. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  232. <B>Method Detail</B></FONT></TH>
  233. </TR>
  234. </TABLE>
  235. <A NAME="getDate()"><!-- --></A><H3>
  236. getDate</H3>
  237. <PRE>
  238. java.util.Date <B>getDate</B>()</PRE>
  239. <DL>
  240. <DD>Returns the date.
  241. <P>
  242. <DD><DL>
  243. <DT><B>Returns:</B><DD>the date</DL>
  244. </DD>
  245. </DL>
  246. <HR>
  247. <A NAME="setDate(java.util.Date)"><!-- --></A><H3>
  248. setDate</H3>
  249. <PRE>
  250. void <B>setDate</B>(java.util.Date&nbsp;date)</PRE>
  251. <DL>
  252. <DD>Sets the date. This should be implemented as a bound property, firing the
  253. "date" property.
  254. <P>
  255. <DD><DL>
  256. <DT><B>Parameters:</B><DD><CODE>date</CODE> - the date to set</DL>
  257. </DD>
  258. </DL>
  259. <HR>
  260. <A NAME="setDateFormatString(java.lang.String)"><!-- --></A><H3>
  261. setDateFormatString</H3>
  262. <PRE>
  263. void <B>setDateFormatString</B>(java.lang.String&nbsp;dateFormatString)</PRE>
  264. <DL>
  265. <DD>Sets the date format string, e.g. "MM/dd/yy". If the date format string
  266. is null or invalid, the date format string will be set to the MEDIUM
  267. Simple date format of the current locale.
  268. <P>
  269. <DD><DL>
  270. <DT><B>Parameters:</B><DD><CODE>dateFormatString</CODE> - the date format string</DL>
  271. </DD>
  272. </DL>
  273. <HR>
  274. <A NAME="getDateFormatString()"><!-- --></A><H3>
  275. getDateFormatString</H3>
  276. <PRE>
  277. java.lang.String <B>getDateFormatString</B>()</PRE>
  278. <DL>
  279. <DD>Returns tha date format string.
  280. <P>
  281. <DD><DL>
  282. <DT><B>Returns:</B><DD>the date format string</DL>
  283. </DD>
  284. </DL>
  285. <HR>
  286. <A NAME="setSelectableDateRange(java.util.Date, java.util.Date)"><!-- --></A><H3>
  287. setSelectableDateRange</H3>
  288. <PRE>
  289. void <B>setSelectableDateRange</B>(java.util.Date&nbsp;min,
  290. java.util.Date&nbsp;max)</PRE>
  291. <DL>
  292. <DD>Sets a valid date range for selectable dates. If max is before
  293. min, the default range with no limitation is set.
  294. <P>
  295. <DD><DL>
  296. <DT><B>Parameters:</B><DD><CODE>min</CODE> - the minimum selectable date or null (then the minimum date should be
  297. set to 01\01\0001)<DD><CODE>max</CODE> - the maximum selectable date or null (then the maximum date should be
  298. set to 01\01\9999)</DL>
  299. </DD>
  300. </DL>
  301. <HR>
  302. <A NAME="getMaxSelectableDate()"><!-- --></A><H3>
  303. getMaxSelectableDate</H3>
  304. <PRE>
  305. java.util.Date <B>getMaxSelectableDate</B>()</PRE>
  306. <DL>
  307. <DD>Gets the minimum selectable date.
  308. <P>
  309. <DD><DL>
  310. <DT><B>Returns:</B><DD>the minimum selectable date</DL>
  311. </DD>
  312. </DL>
  313. <HR>
  314. <A NAME="getMinSelectableDate()"><!-- --></A><H3>
  315. getMinSelectableDate</H3>
  316. <PRE>
  317. java.util.Date <B>getMinSelectableDate</B>()</PRE>
  318. <DL>
  319. <DD>Gets the maximum selectable date.
  320. <P>
  321. <DD><DL>
  322. <DT><B>Returns:</B><DD>the maximum selectable date</DL>
  323. </DD>
  324. </DL>
  325. <HR>
  326. <A NAME="setMaxSelectableDate(java.util.Date)"><!-- --></A><H3>
  327. setMaxSelectableDate</H3>
  328. <PRE>
  329. void <B>setMaxSelectableDate</B>(java.util.Date&nbsp;max)</PRE>
  330. <DL>
  331. <DD>Sets the maximum selectable date.
  332. <P>
  333. <DD><DL>
  334. <DT><B>Parameters:</B><DD><CODE>max</CODE> - maximum selectable date</DL>
  335. </DD>
  336. </DL>
  337. <HR>
  338. <A NAME="setMinSelectableDate(java.util.Date)"><!-- --></A><H3>
  339. setMinSelectableDate</H3>
  340. <PRE>
  341. void <B>setMinSelectableDate</B>(java.util.Date&nbsp;min)</PRE>
  342. <DL>
  343. <DD>Sets the minimum selectable date.
  344. <P>
  345. <DD><DL>
  346. <DT><B>Parameters:</B><DD><CODE>min</CODE> - minimum selectable date</DL>
  347. </DD>
  348. </DL>
  349. <HR>
  350. <A NAME="getUiComponent()"><!-- --></A><H3>
  351. getUiComponent</H3>
  352. <PRE>
  353. javax.swing.JComponent <B>getUiComponent</B>()</PRE>
  354. <DL>
  355. <DD>Returns the UI component, e.g. the actual JTextField implementing the
  356. editor.
  357. <P>
  358. <DD><DL>
  359. <DT><B>Returns:</B><DD>the UI component</DL>
  360. </DD>
  361. </DL>
  362. <HR>
  363. <A NAME="setLocale(java.util.Locale)"><!-- --></A><H3>
  364. setLocale</H3>
  365. <PRE>
  366. void <B>setLocale</B>(java.util.Locale&nbsp;locale)</PRE>
  367. <DL>
  368. <DD>Sets the locale. Usually this should have impact on the current date
  369. format string.
  370. <P>
  371. <DD><DL>
  372. <DT><B>Parameters:</B><DD><CODE>locale</CODE> - the locale to set</DL>
  373. </DD>
  374. </DL>
  375. <HR>
  376. <A NAME="setEnabled(boolean)"><!-- --></A><H3>
  377. setEnabled</H3>
  378. <PRE>
  379. void <B>setEnabled</B>(boolean&nbsp;enabled)</PRE>
  380. <DL>
  381. <DD>Enables or disables the UI compoment.
  382. <P>
  383. <DD><DL>
  384. <DT><B>Parameters:</B><DD><CODE>enabled</CODE> - true, if the UI component should be enabled.</DL>
  385. </DD>
  386. </DL>
  387. <HR>
  388. <A NAME="addPropertyChangeListener(java.beans.PropertyChangeListener)"><!-- --></A><H3>
  389. addPropertyChangeListener</H3>
  390. <PRE>
  391. void <B>addPropertyChangeListener</B>(java.beans.PropertyChangeListener&nbsp;listener)</PRE>
  392. <DL>
  393. <DD>Adds a property change listener that should be added to the implementing
  394. UI component. The UI component should fire a "date" property if the date
  395. changes.
  396. <P>
  397. <DD><DL>
  398. <DT><B>Parameters:</B><DD><CODE>listener</CODE> - the property change listener.</DL>
  399. </DD>
  400. </DL>
  401. <HR>
  402. <A NAME="addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)"><!-- --></A><H3>
  403. addPropertyChangeListener</H3>
  404. <PRE>
  405. void <B>addPropertyChangeListener</B>(java.lang.String&nbsp;propertyName,
  406. java.beans.PropertyChangeListener&nbsp;listener)</PRE>
  407. <DL>
  408. <DD>Adds a property change listener that should be added to the implementing
  409. UI component. The UI component should fire a "date" property if the date
  410. changes.
  411. <P>
  412. <DD><DL>
  413. <DT><B>Parameters:</B><DD><CODE>propertyName</CODE> - the property name, e.g. "date"<DD><CODE>listener</CODE> - the property change listener.</DL>
  414. </DD>
  415. </DL>
  416. <HR>
  417. <A NAME="removePropertyChangeListener(java.beans.PropertyChangeListener)"><!-- --></A><H3>
  418. removePropertyChangeListener</H3>
  419. <PRE>
  420. void <B>removePropertyChangeListener</B>(java.beans.PropertyChangeListener&nbsp;listener)</PRE>
  421. <DL>
  422. <DD>Removes a property change listener.
  423. <P>
  424. <DD><DL>
  425. <DT><B>Parameters:</B><DD><CODE>listener</CODE> - the property change listener.</DL>
  426. </DD>
  427. </DL>
  428. <HR>
  429. <A NAME="removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)"><!-- --></A><H3>
  430. removePropertyChangeListener</H3>
  431. <PRE>
  432. void <B>removePropertyChangeListener</B>(java.lang.String&nbsp;propertyName,
  433. java.beans.PropertyChangeListener&nbsp;listener)</PRE>
  434. <DL>
  435. <DD>Removes the listener from the date editor's property change listeners for the specific property.
  436. <P>
  437. <DD><DL>
  438. <DT><B>Parameters:</B><DD><CODE>propertyName</CODE> - the property to listen for, e.g. "date"<DD><CODE>listener</CODE> - the listener</DL>
  439. </DD>
  440. </DL>
  441. <!-- ========= END OF CLASS DATA ========= -->
  442. <HR>
  443. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  444. <A NAME="navbar_bottom"><!-- --></A>
  445. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  446. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  447. <TR>
  448. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  449. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  450. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  451. <TR ALIGN="center" VALIGN="top">
  452. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  453. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  454. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  455. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  456. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  457. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  458. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  459. </TR>
  460. </TABLE>
  461. </TD>
  462. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  463. </EM>
  464. </TD>
  465. </TR>
  466. <TR>
  467. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  468. &nbsp;<A HREF="../../../com/toedter/calendar/DateUtil.html" title="class in com.toedter.calendar"><B>PREV CLASS</B></A>&nbsp;
  469. &nbsp;<A HREF="../../../com/toedter/calendar/JCalendar.html" title="class in com.toedter.calendar"><B>NEXT CLASS</B></A></FONT></TD>
  470. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  471. <A HREF="../../../index.html?com/toedter/calendar/IDateEditor.html" target="_top"><B>FRAMES</B></A> &nbsp;
  472. &nbsp;<A HREF="IDateEditor.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  473. &nbsp;<SCRIPT type="text/javascript">
  474. <!--
  475. if(window==top) {
  476. document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  477. }
  478. //-->
  479. </SCRIPT>
  480. <NOSCRIPT>
  481. <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  482. </NOSCRIPT>
  483. </FONT></TD>
  484. </TR>
  485. <TR>
  486. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  487. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  488. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  489. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  490. </TR>
  491. </TABLE>
  492. <A NAME="skip-navbar_bottom"></A>
  493. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  494. <HR>
  495. Copyright Š 1999 - 2006 Kai Toedter.
  496. </BODY>
  497. </HTML>