|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectzul.db.Renderer
public class Renderer
The renderer used to render a calendar. It is designed to be overridden
| Method Summary | |
|---|---|
static void |
beforeRedraw(Calendar cal)
Called before Widget.redraw(_global_.Array) is invoked. |
static String |
cellHTML(Calendar cal,
int y,
int m,
int day,
int monthofs)
Returns the HTML fragment representing a day cell. |
static boolean |
disabled(Calendar cal,
int y,
int m,
int v,
Date today)
Tests if the specified date is disabled. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String cellHTML(Calendar cal,
int y,
int m,
int day,
int monthofs)
Default: day
cal - the calendary - the yearm - the month (between 0 to 11)day - the day (between 1 to 31)monthofs - the month offset. If the day is in the same month
public static void beforeRedraw(Calendar cal)
Widget.redraw(_global_.Array) is invoked.
Default: does nothing
cal - the calendar
public static boolean disabled(Calendar cal,
int y,
int m,
int v,
Date today)
Default: it depends on the constraint, if any
cal - the calendary - the yearm - the month (between 0 to 11)v - the day (between 1 to 31)today - today
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||