Method Summary
Returns the calendar property.
Returns a Date object.
Gets the dayChooser attribute of the JCalendar object
Returns the color of the decoration (day names and weeks).
Returns the locale.
Gets the maximum number of characters of a day name or 0.
Gets the minimum selectable date.
Gets the maximum selectable date.
Gets the monthChooser attribute of the JCalendar object
Returns the Sunday foreground.
Returns the weekday foreground.
Gets the yearChooser attribute of the JCalendar object
Gets the visibility of the decoration background.
Gets the visibility of the decoration border.
Returns true, if enabled.
Indicates if the weeks of year are visible..
Creates a JFrame with a JCalendar inside and can be used for testing.
JCalendar is a PropertyChangeListener, for its day, month and year chooser.
Sets the background color.
Sets the calendar property.
Sets the date.
Sets the background of days and weeks of year buttons.
Sets the decoration background visible.
Sets the decoration borders visible.
Enable or disable the JCalendar.
Sets the font property.
Sets the foreground color.
Sets the locale property.
Sets the maximum number of characters per day in the day bar.
Sets the maximum selectable date.
Sets the minimum selectable date.
Sets the Null Date button text.
Sets the Null Date button visible.
Sets a valid date range for selectable dates.
Sets the Sunday foreground.
Sets the Today button text.
Sets the Today button visible.
Sets the weekday foreground.
Sets the week of year visible.
java.util.Calendar
getCalendar()
Returns the calendar property.
java.util.Date
getDate()
Returns a Date object.
JDayChooser
getDayChooser()
Gets the dayChooser attribute of the JCalendar object
java.awt.Color
getDecorationBackgroundColor()
Returns the color of the decoration (day names and weeks).
java.util.Locale
getLocale()
Returns the locale.
int
getMaxDayCharacters()
Gets the maximum number of characters of a day name or 0.
java.util.Date
getMaxSelectableDate()
Gets the minimum selectable date.
java.util.Date
getMinSelectableDate()
Gets the maximum selectable date.
JMonthChooser
getMonthChooser()
Gets the monthChooser attribute of the JCalendar object
java.awt.Color
getSundayForeground()
Returns the Sunday foreground.
java.awt.Color
getWeekdayForeground()
Returns the weekday foreground.
JYearChooser
getYearChooser()
Gets the yearChooser attribute of the JCalendar object
boolean
isDecorationBackgroundVisible()
Gets the visibility of the decoration background.
boolean
isDecorationBordersVisible()
Gets the visibility of the decoration border.
boolean
isEnabled()
Returns true, if enabled.
boolean
isNullDateButtonVisible()
boolean
isTodayButtonVisible()
boolean
isWeekOfYearVisible()
Indicates if the weeks of year are visible..
static void
main(java.lang.String[] s)
Creates a JFrame with a JCalendar inside and can be used for testing.
void
propertyChange(java.beans.PropertyChangeEvent evt)
JCalendar is a PropertyChangeListener, for its day, month and year chooser.
void
setBackground(java.awt.Color bg)
Sets the background color.
void
setCalendar(java.util.Calendar c)
Sets the calendar property.
void
setDate(java.util.Date date)
Sets the date.
void
setDecorationBackgroundColor(java.awt.Color decorationBackgroundColor)
Sets the background of days and weeks of year buttons.
void
setDecorationBackgroundVisible(boolean decorationBackgroundVisible)
Sets the decoration background visible.
void
setDecorationBordersVisible(boolean decorationBordersVisible)
Sets the decoration borders visible.
void
setEnabled(boolean enabled)
Enable or disable the JCalendar.
void
setFont(java.awt.Font font)
Sets the font property.
void
setForeground(java.awt.Color fg)
Sets the foreground color.
void
setLocale(java.util.Locale l)
Sets the locale property.
void
setMaxDayCharacters(int maxDayCharacters)
Sets the maximum number of characters per day in the day bar.
void
setMaxSelectableDate(java.util.Date max)
Sets the maximum selectable date.
void
setMinSelectableDate(java.util.Date min)
Sets the minimum selectable date.
void
setNullDateButtonText(java.lang.String nullDateButtonText)
Sets the Null Date button text.
void
setNullDateButtonVisible(boolean isNullDateButtonVisible)
Sets the Null Date button visible.
void
setSelectableDateRange(java.util.Date min, java.util.Date max)
Sets a valid date range for selectable dates.
void
setSundayForeground(java.awt.Color sundayForeground)
Sets the Sunday foreground.
void
setTodayButtonText(java.lang.String todayButtonText)
Sets the Today button text.
void
setTodayButtonVisible(boolean isTodayButtonVisible)
Sets the Today button visible.
void
setWeekdayForeground(java.awt.Color weekdayForeground)
Sets the weekday foreground.
void
setWeekOfYearVisible(boolean weekOfYearVisible)
Sets the week of year visible.