|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.nachocalendar.CalendarFactory
public final class CalendarFactory
Factory with convenient methods to get components ready to use.
Constructor Summary | |
---|---|
CalendarFactory()
Default constructor, declared as private. |
Method Summary | |
---|---|
static CalendarPanel |
createCalendarPanel()
Creates a plain CalendarPanel. |
static CalendarPanel |
createCalendarPanel(int quantity)
Creates a plain CalendarPanel. |
static CalendarPanel |
createCalendarPanel(int quantity,
int orientation)
Creates a plain CalendarPanel. |
static DateField |
createDateField()
Returns a plain DateField. |
static DatePanel |
createDatePanel()
Creates a plain DatePanel. |
static DatePanel |
createDatePanel(boolean showWeekNumbers)
Creates a plain DatePanel. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CalendarFactory()
Method Detail |
---|
public static DateField createDateField()
public static CalendarPanel createCalendarPanel()
public static CalendarPanel createCalendarPanel(int quantity, int orientation)
quantity
- quantity of months to show at onceorientation
- the orientation
public static CalendarPanel createCalendarPanel(int quantity)
quantity
- quantity of months to show at once
public static DatePanel createDatePanel()
public static DatePanel createDatePanel(boolean showWeekNumbers)
showWeekNumbers
- true to show week numbers
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |