equal
deleted
inserted
replaced
65 * <li><code>Calendar.HOUR_OF_DAY</code> |
65 * <li><code>Calendar.HOUR_OF_DAY</code> |
66 * <li><code>Calendar.MINUTE</code> |
66 * <li><code>Calendar.MINUTE</code> |
67 * <li><code>Calendar.SECOND</code> |
67 * <li><code>Calendar.SECOND</code> |
68 * <li><code>Calendar.MILLISECOND</code> |
68 * <li><code>Calendar.MILLISECOND</code> |
69 * </ul> |
69 * </ul> |
70 * However some UIs may set the calendarField before commiting the edit |
70 * However some UIs may set the calendarField before committing the edit |
71 * to spin the field under the cursor. If you only want one field to |
71 * to spin the field under the cursor. If you only want one field to |
72 * spin you can subclass and ignore the setCalendarField calls. |
72 * spin you can subclass and ignore the setCalendarField calls. |
73 * <p> |
73 * <p> |
74 * This model inherits a <code>ChangeListener</code>. The |
74 * This model inherits a <code>ChangeListener</code>. The |
75 * <code>ChangeListeners</code> are notified whenever the models |
75 * <code>ChangeListeners</code> are notified whenever the models |
131 * The <code>start</code> and <code>end</code> parameters can be |
131 * The <code>start</code> and <code>end</code> parameters can be |
132 * <code>null</code> to indicate that the range doesn't have an |
132 * <code>null</code> to indicate that the range doesn't have an |
133 * upper or lower bound. If <code>value</code> or |
133 * upper or lower bound. If <code>value</code> or |
134 * <code>calendarField</code> is <code>null</code>, or if both |
134 * <code>calendarField</code> is <code>null</code>, or if both |
135 * <code>start</code> and <code>end</code> are specified and |
135 * <code>start</code> and <code>end</code> are specified and |
136 * <code>mininum > maximum</code> then an |
136 * <code>minimum > maximum</code> then an |
137 * <code>IllegalArgumentException</code> is thrown. |
137 * <code>IllegalArgumentException</code> is thrown. |
138 * Similarly if <code>(minimum <= value <= maximum)</code> is false, |
138 * Similarly if <code>(minimum <= value <= maximum)</code> is false, |
139 * an IllegalArgumentException is thrown. |
139 * an IllegalArgumentException is thrown. |
140 * |
140 * |
141 * @param value the current (non <code>null</code>) value of the model |
141 * @param value the current (non <code>null</code>) value of the model |
308 * or <code>Calendar.MINUTE</code>. |
308 * or <code>Calendar.MINUTE</code>. |
309 * The <code>nextValue</code> and <code>previousValue</code> methods |
309 * The <code>nextValue</code> and <code>previousValue</code> methods |
310 * simply move the specified <code>Calendar</code> field forward or backward |
310 * simply move the specified <code>Calendar</code> field forward or backward |
311 * by one unit with the <code>Calendar.add</code> method. |
311 * by one unit with the <code>Calendar.add</code> method. |
312 * You should use this method with care as some UIs may set the |
312 * You should use this method with care as some UIs may set the |
313 * calendarField before commiting the edit to spin the field under |
313 * calendarField before committing the edit to spin the field under |
314 * the cursor. If you only want one field to spin you can subclass |
314 * the cursor. If you only want one field to spin you can subclass |
315 * and ignore the setCalendarField calls. |
315 * and ignore the setCalendarField calls. |
316 * |
316 * |
317 * @param calendarField one of |
317 * @param calendarField one of |
318 * <ul> |
318 * <ul> |