net.sf.nachocalendar.tasks
Class TaskCalendarFactory

java.lang.Object
  extended bynet.sf.nachocalendar.tasks.TaskCalendarFactory

public final class TaskCalendarFactory
extends java.lang.Object

Factory class used to obtain objects customized to show Tasks.

Author:
Ignacio Merani

Method Summary
static CalendarPanel createCalendarPanel()
          Returns a new CalendarPanel customized to show Tasks.
static CalendarPanel createCalendarPanel(int quantity)
          Returns a new CalendarPanel customized to show Tasks.
static CalendarPanel createCalendarPanel(int quantity, int orientation)
          Returns a new CalendarPanel customized to show Tasks.
static DateField createDateField()
          Returns a new DateField customized to show Tasks.
static DateField createDateField(java.lang.String formatter, java.util.Locale userLocale)
          Returns a formatted DateField.
static DatePanel createDatePanel()
          Returns a new DatePanel customized to show Tasks.
static DatePanel createDatePanel(boolean showWeekNumbers)
          Returns a new DatePanel customized to show Tasks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createDateField

public static DateField createDateField(java.lang.String formatter,
                                        java.util.Locale userLocale)
Returns a formatted DateField.

Returns:
a new formatted DatePanel

createDateField

public static DateField createDateField()
Returns a new DateField customized to show Tasks.

Returns:
a new DateField

createCalendarPanel

public static CalendarPanel createCalendarPanel()
Returns a new CalendarPanel customized to show Tasks.

Returns:
a new CalendarPanel

createCalendarPanel

public static CalendarPanel createCalendarPanel(int quantity,
                                                int orientation)
Returns a new CalendarPanel customized to show Tasks.

Parameters:
quantity - quantity of months to show
orientation - the orientation
Returns:
a new CalendarPanel

createCalendarPanel

public static CalendarPanel createCalendarPanel(int quantity)
Returns a new CalendarPanel customized to show Tasks.

Parameters:
quantity - quantity of months to show
Returns:
a new CalendarPanel

createDatePanel

public static DatePanel createDatePanel()
Returns a new DatePanel customized to show Tasks.

Returns:
a new DatePanel

createDatePanel

public static DatePanel createDatePanel(boolean showWeekNumbers)
Returns a new DatePanel customized to show Tasks.

Parameters:
showWeekNumbers - true to show week numbers
Returns:
a new DatePanel