net.sf.nachocalendar.holidays
Class HoliDayCalendarFactory
java.lang.Object
net.sf.nachocalendar.holidays.HoliDayCalendarFactory
public final class HoliDayCalendarFactory
extends java.lang.Object
Factory for holiday showing components.
static CalendarPanel | createCalendarPanel() - Creates a new CalendarPanel with default values.
|
static CalendarPanel | createCalendarPanel(int quantity, int orientation) - Creates a new CalendarPanel.
|
static DateField | createDateField() - Creates a DateField with a parent Dialog.
|
static DateField | createDateField(String formatter, Locale userLocale) - Returns a formatted DateField.
|
static DatePanel | createDatePanel() - Factory Method to create a DatePanel customized to show holidays.
|
static DatePanel | createDatePanel(boolean showWeekNumbers) - Factory Method to create a DatePanel customized to show holidays.
|
createCalendarPanel
public static CalendarPanel createCalendarPanel()
Creates a new CalendarPanel with default values.
createCalendarPanel
public static CalendarPanel createCalendarPanel(int quantity,
int orientation)
Creates a new CalendarPanel.
quantity
- quantity of months to showorientation
- the orientation
createDateField
public static DateField createDateField()
Creates a DateField with a parent Dialog.
createDateField
public static DateField createDateField(String formatter,
Locale userLocale)
Returns a formatted DateField.
- a new formatted DatePanel
createDatePanel
public static DatePanel createDatePanel()
Factory Method to create a DatePanel customized to show holidays. It
takes care of all the initial setup.
createDatePanel
public static DatePanel createDatePanel(boolean showWeekNumbers)
Factory Method to create a DatePanel customized to show holidays. It
takes care of all the initial setup.
showWeekNumbers
- true to show the week numbers