|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.gui.components.date.DateComponentFactory
public class DateComponentFactory
Description:
Use this factory to create a simple date component that can display a date as
a little calendar. Optionally the year can be enabled or disabled.
The component does not fire any events not can the date be changed using this component. Use the flexi form for this purpose. This is a display-only component.
Initial Date: 01.12.2009
| Constructor Summary | |
|---|---|
DateComponentFactory()
|
|
| Method Summary | |
|---|---|
static DateComponent |
createDateComponentWithoutYear(java.lang.String name,
java.util.Date date,
Container container)
Create a date view that displays only the month and the day and no year. |
static DateComponent |
createDateComponentWithYear(java.lang.String name,
java.util.Date date,
Container container)
Create a date view that displays the year, month and day. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateComponentFactory()
| Method Detail |
|---|
public static DateComponent createDateComponentWithYear(java.lang.String name,
java.util.Date date,
Container container)
name - the name of the componentdate - the date to be displayedcontainer - the container or NULL if you add it yourself to your container
public static DateComponent createDateComponentWithoutYear(java.lang.String name,
java.util.Date date,
Container container)
name - the name of the componentdate - the date to be displayedcontainer - the container or NULL if you add it yourself to your container
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||