net.sf.nachocalendar
Class CalendarFactory
java.lang.Object
net.sf.nachocalendar.CalendarFactory
public final class CalendarFactory
extends java.lang.Object
Factory with convenient methods to get components ready to use.
CalendarFactory
public CalendarFactory()
Default constructor, declared as private.
createCalendarPanel
public static CalendarPanel createCalendarPanel()
Creates a plain CalendarPanel.
createCalendarPanel
public static CalendarPanel createCalendarPanel(int quantity)
Creates a plain CalendarPanel.
quantity
- quantity of months to show at once
createCalendarPanel
public static CalendarPanel createCalendarPanel(int quantity,
int orientation)
Creates a plain CalendarPanel.
quantity
- quantity of months to show at onceorientation
- the orientation
createDateField
public static DateField createDateField()
Returns a plain DateField.
createDatePanel
public static DatePanel createDatePanel()
Creates a plain DatePanel.
createDatePanel
public static DatePanel createDatePanel(boolean showWeekNumbers)
Creates a plain DatePanel.
showWeekNumbers
- true to show week numbers