|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.gui.components.Component
org.olat.commons.calendar.ui.components.WeeklyCalendarComponent
public class WeeklyCalendarComponent
| Field Summary | |
|---|---|
static java.lang.String |
CMD_ADD
|
static java.lang.String |
CMD_EDIT
|
static java.lang.String |
ID_CMD
|
static java.lang.String |
ID_PARAM
|
static java.lang.String |
ID_PARAM_SEPARATOR
|
| Constructor Summary | |
|---|---|
WeeklyCalendarComponent(java.lang.String name,
java.util.Collection calendarWrappers,
int viewStartHour,
Translator translator)
|
|
| Method Summary | |
|---|---|
int |
getDisplayDays()
|
ComponentRenderer |
getHTMLRendererSingleton()
|
KalendarRenderWrapper |
getKalendarRenderWrapper(java.lang.String calendarID)
|
int |
getWeekOfYear()
|
int |
getYear()
|
void |
nextWeek()
Go back to next week. |
void |
previousWeek()
Go back to previous week. |
void |
setDate(java.util.Date gotoDate)
Set focus of calendar-component to certain date. |
void |
setDisplayDays(int displayDays)
Set how many days from the beginning of a week should be displayd (e.g. |
void |
setFocus(int year,
int weekOfYear)
Set this calendars focus to year/weekOfYear. |
void |
setKalendars(java.util.Collection kalendarRenderWrappers)
|
void |
validate(UserRequest ureq,
ValidationResult vr)
called just before the rendering of the -whole tree- takes place, so e.g. |
| Methods inherited from class org.olat.core.gui.components.Component |
|---|
addListener, debuginfoGetListeners, dispatchRequest, getAndClearLatestFiredEvent, getComponentName, getDispatchID, getExtendedDebugInfo, getLatestDispatchedController, getListenerInfo, getParent, getSpanAsDomReplaceable, getTimestamp, getTranslator, isDirty, isDirtyForUser, isDomReplaceable, isEnabled, isVisible, setDirty, setDomReplaceable, setEnabled, setSpanAsDomReplaceable, setVisible, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ID_CMD
public static final java.lang.String ID_PARAM
public static final java.lang.String ID_PARAM_SEPARATOR
public static final java.lang.String CMD_ADD
public static final java.lang.String CMD_EDIT
| Constructor Detail |
|---|
public WeeklyCalendarComponent(java.lang.String name,
java.util.Collection calendarWrappers,
int viewStartHour,
Translator translator)
| Method Detail |
|---|
public void setFocus(int year,
int weekOfYear)
year - weekOfYear - public void setDisplayDays(int displayDays)
displayDays - public ComponentRenderer getHTMLRendererSingleton()
getHTMLRendererSingleton in class ComponentComponent.getHTMLRendererSingleton()public KalendarRenderWrapper getKalendarRenderWrapper(java.lang.String calendarID)
public void setKalendars(java.util.Collection kalendarRenderWrappers)
public int getDisplayDays()
public int getWeekOfYear()
public int getYear()
public void validate(UserRequest ureq,
ValidationResult vr)
Component
validate in class ComponentComponent.validate(org.olat.core.gui.UserRequest, org.olat.core.gui.render.ValidationResult)public void previousWeek()
public void nextWeek()
public void setDate(java.util.Date gotoDate)
gotoDate -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||