Uses of Class
org.apache.pivot.util.CalendarDate
-
Packages that use CalendarDate Package Description org.apache.pivot.util Contains a collection of common utility classes.org.apache.pivot.wtk Contains classes that define the structure and behavior of WTK user interface components.org.apache.pivot.wtk.content Contains classes representing component data, such as list items or table rows.org.apache.pivot.wtk.skin Contains common skins and abstract base classes for theme-specific skins.org.apache.pivot.wtk.skin.terra Defines skin classes for the "Terra" theme. -
-
Uses of CalendarDate in org.apache.pivot.util
Fields in org.apache.pivot.util declared as CalendarDate Modifier and Type Field Description CalendarDate
CalendarDate.Range. end
CalendarDate
CalendarDate.Range. start
Methods in org.apache.pivot.util that return CalendarDate Modifier and Type Method Description CalendarDate
CalendarDate. add(int days)
Adds the specified number of days to this calendar date and returns the resulting calendar date.CalendarDate
CalendarDate. addMonths(int months)
Adds the specified number of months to this calendar date and returns the resulting calendar date.CalendarDate
CalendarDate. addYears(int years)
Adds the specified number of years to this calendar date and returns the resulting calendar date.static CalendarDate
CalendarDate. decode(java.lang.String value)
Creates a new date representing the specified date string.Methods in org.apache.pivot.util with parameters of type CalendarDate Modifier and Type Method Description int
CalendarDate. compareTo(CalendarDate calendarDate)
Compares this calendar date with another calendar date.boolean
CalendarDate.Range. contains(CalendarDate calendarDate)
int
CalendarDate. subtract(CalendarDate calendarDate)
Gets the number of days in between this calendar date and the specified calendar date.Constructors in org.apache.pivot.util with parameters of type CalendarDate Constructor Description Range(CalendarDate calendarDate)
Range(CalendarDate start, CalendarDate end)
-
Uses of CalendarDate in org.apache.pivot.wtk
Methods in org.apache.pivot.wtk that return CalendarDate Modifier and Type Method Description CalendarDate
Calendar. getSelectedDate()
CalendarDate
CalendarButton. getSelectedDate()
Returns the currently selected date.CalendarDate
Calendar.SelectedDateBindMapping. toDate(java.lang.Object value)
Converts a context value to a calendar date.Methods in org.apache.pivot.wtk that return types with arguments of type CalendarDate Modifier and Type Method Description Filter<CalendarDate>
Calendar. getDisabledDateFilter()
Filter<CalendarDate>
CalendarButton. getDisabledDateFilter()
Methods in org.apache.pivot.wtk with parameters of type CalendarDate Modifier and Type Method Description void
CalendarButtonSelectionListener.Listeners. selectedDateChanged(CalendarButton calendarButton, CalendarDate previousSelectedDate)
void
CalendarButtonSelectionListener. selectedDateChanged(CalendarButton calendarButton, CalendarDate previousSelectedDate)
Called when a calendar button's selected date has changed.void
CalendarSelectionListener.Listeners. selectedDateChanged(Calendar calendar, CalendarDate previousSelectedDate)
void
CalendarSelectionListener. selectedDateChanged(Calendar calendar, CalendarDate previousSelectedDate)
Called when a calendar's selected date has changed.void
Calendar. setSelectedDate(CalendarDate selectedDate)
Sets the currently selected date.void
CalendarButton. setSelectedDate(CalendarDate selectedDate)
Sets the selected date.java.lang.Object
Calendar.SelectedDateBindMapping. valueOf(CalendarDate calendarDate)
Converts a calendar date to a context value.Method parameters in org.apache.pivot.wtk with type arguments of type CalendarDate Modifier and Type Method Description void
CalendarButtonListener.Adapter. disabledDateFilterChanged(CalendarButton calendarButton, Filter<CalendarDate> previousDisabledDateFilter)
Deprecated.default void
CalendarButtonListener. disabledDateFilterChanged(CalendarButton calendarButton, Filter<CalendarDate> previousDisabledDateFilter)
Called when a calendar button's disabled date filter has changed.void
CalendarButtonListener.Listeners. disabledDateFilterChanged(CalendarButton calendarButton, Filter<CalendarDate> previousDisabledDateFilter)
void
CalendarListener.Adapter. disabledDateFilterChanged(Calendar calendar, Filter<CalendarDate> previousDisabledDateFilter)
Deprecated.default void
CalendarListener. disabledDateFilterChanged(Calendar calendar, Filter<CalendarDate> previousDisabledDateFilter)
Called when a calendar's disabled date filter has changed.void
CalendarListener.Listeners. disabledDateFilterChanged(Calendar calendar, Filter<CalendarDate> previousDisabledDateFilter)
void
Calendar. setDisabledDateFilter(Filter<CalendarDate> disabledDateFilter)
void
CalendarButton. setDisabledDateFilter(Filter<CalendarDate> disabledDateFilter)
-
Uses of CalendarDate in org.apache.pivot.wtk.content
Methods in org.apache.pivot.wtk.content that return CalendarDate Modifier and Type Method Description CalendarDate
CalendarDateSpinnerData. get(int index)
Gets the calendar date at the specified index.Methods in org.apache.pivot.wtk.content that return types with arguments of type CalendarDate Modifier and Type Method Description java.util.Comparator<CalendarDate>
CalendarDateSpinnerData. getComparator()
Gets the comparator for this list, which is guaranteed to always benull
.ListenerList<ListListener<CalendarDate>>
CalendarDateSpinnerData. getListListeners()
java.util.Iterator<CalendarDate>
CalendarDateSpinnerData. iterator()
Methods in org.apache.pivot.wtk.content with parameters of type CalendarDate Modifier and Type Method Description int
CalendarDateSpinnerData. indexOf(CalendarDate item)
Method parameters in org.apache.pivot.wtk.content with type arguments of type CalendarDate Modifier and Type Method Description void
CalendarDateSpinnerData. setComparator(java.util.Comparator<CalendarDate> comparator)
ThrowsUnsupportedOperationException
because the generated data is inherently in date order, thus sorting makes no sense.Constructors in org.apache.pivot.wtk.content with parameters of type CalendarDate Constructor Description CalendarDateSpinnerData(CalendarDate lowerBound, CalendarDate upperBound)
Creates a newCalendarDateSpinnerData
bounded by the specified calendar dates (inclusive). -
Uses of CalendarDate in org.apache.pivot.wtk.skin
Methods in org.apache.pivot.wtk.skin with parameters of type CalendarDate Modifier and Type Method Description void
CalendarButtonSkin. selectedDateChanged(CalendarButton calendarButton, CalendarDate previousSelectedDate)
Method parameters in org.apache.pivot.wtk.skin with type arguments of type CalendarDate Modifier and Type Method Description void
CalendarButtonSkin. disabledDateFilterChanged(CalendarButton calendarButton, Filter<CalendarDate> previousDisabledDateFilter)
-
Uses of CalendarDate in org.apache.pivot.wtk.skin.terra
Methods in org.apache.pivot.wtk.skin.terra with parameters of type CalendarDate Modifier and Type Method Description void
TerraCalendarSkin. selectedDateChanged(Calendar calendar, CalendarDate previousSelectedDate)
Method parameters in org.apache.pivot.wtk.skin.terra with type arguments of type CalendarDate Modifier and Type Method Description void
TerraCalendarSkin. disabledDateFilterChanged(Calendar calendar, Filter<CalendarDate> previousDisabledDateFilter)
-