|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.painter.def.scheduler.SchedulerViewHelp
Helper Class for Scheduler view painters
Constructor Summary | |
SchedulerViewHelp()
|
Method Summary | |
static org.apache.ecs.ConcreteElement |
createAddButton(PainterContext ctx,
java.util.Calendar date,
ActionBehavior behavior)
renders a add appointment button |
static org.apache.ecs.ConcreteElement |
createCheckBox(PainterContext ctx,
Appointment[] appointments,
java.util.Calendar date,
SchedulerScope scope,
ClientHandler handler,
boolean displayOnly,
ActionBehavior behavior)
renders a CheckBox |
static org.apache.ecs.ConcreteElement |
createCheckBox(PainterContext ctx,
Appointment appointment,
java.util.Calendar date,
ClientHandler handler,
boolean displayOnly,
ActionBehavior behavior)
renders a CheckBox |
protected static CheckState |
getCheckState(java.util.Calendar date,
Appointment appointment)
Retrieves the Check state for the given Appointment |
protected static CheckState |
getCheckState(java.util.Calendar date,
Appointment[] appointments)
Retrieves the cumulated Check state for the given Appointment list |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SchedulerViewHelp()
Method Detail |
protected static CheckState getCheckState(java.util.Calendar date, Appointment[] appointments)
date
- The Date of the dayappointments
- The appointments to check
protected static CheckState getCheckState(java.util.Calendar date, Appointment appointment)
date
- The Date of the dayappointment
- The appointment to check
public static org.apache.ecs.ConcreteElement createCheckBox(PainterContext ctx, Appointment appointment, java.util.Calendar date, ClientHandler handler, boolean displayOnly, ActionBehavior behavior)
ctx
- Painter contextappointment
- the appointmentdate
- the concrete datehandler
- Java Script HandlersdisplayOnly
- Indicates that this checkbox should be only for displaybehavior
- How actions should behave on the client
public static org.apache.ecs.ConcreteElement createCheckBox(PainterContext ctx, Appointment[] appointments, java.util.Calendar date, SchedulerScope scope, ClientHandler handler, boolean displayOnly, ActionBehavior behavior)
ctx
- Painter contextappointments
- the appointment Listdate
- the concrete datescope
- View scope (day,week,month,...)handler
- Java Script HandlersdisplayOnly
- Indicates that this checkbox should be only for displaybehavior
- How actions should behave on the client
public static org.apache.ecs.ConcreteElement createAddButton(PainterContext ctx, java.util.Calendar date, ActionBehavior behavior)
ctx
- Painter contextdate
- The Date of the daybehavior
- How actions should behave on the client
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |