|
Jala 1.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--jala.Date.Calendar
This class represents a calendar based based on a grouped
collection of HopObjects. It provides several methods for rendering
the calendar plus defining locale and timezone settings.
Defined in Date.js
| Nested Class Summary | |
<static class> |
jala.Date.Calendar.Renderer |
| Constructor Summary | |
jala.Date.Calendar
(<HopObject> collection)
Creates a new instance of jala.Data.Calendar |
|
| Method Summary | |
String
|
getAccessNameFormat()
Returns the format of the access name used by this calendar to access child group objects of the collection this calendar is operating on. |
String
|
getCalendar(today)
Returns a rendered calendar |
HopObject
|
getCollection()
Returns the collection this calendar object works on |
String
|
getHrefFormat()
Returns the date formatting pattern used to render hrefs. |
java.util.Locale
|
getLocale()
Returns the locale used within this calendar instance. |
Object
|
getRenderer()
Returns the renderer used by this calendar. |
java.util.Locale
|
getTimeZone()
Returns the locale used within this calendar instance. |
void
|
render(today)
Renders the calendar using either a custom renderer defined using setRenderer() or the default one. |
void
|
setAccessNameFormat(<String> fmt)
Sets the format of the group name to use when trying to access child objects of the collection this calendar is operating on. |
void
|
setHrefFormat(<String> fmt)
Sets the format of the hrefs to render by this calendar to the format pattern passed as argument. |
void
|
setLocale(<java.util.Locale> loc)
Sets the locale to use within this calendar object |
void
|
setRenderer(<Object> r)
Sets the renderer to use. |
void
|
setTimeZone(tz)
Sets the locale to use within this calendar object |
| Constructor Detail |
jala.Date.Calendar(<HopObject> collection)
collection - A grouped HopObject collection to work on
| Method Detail |
String getAccessNameFormat()
String getCalendar(today)
HopObject getCollection()
String getHrefFormat()
java.util.Locale getLocale()
Object getRenderer()
java.util.Locale getTimeZone()
void render(today)
void setAccessNameFormat(<String> fmt)
fmt - The date format pattern to use for accessing child objects
void setHrefFormat(<String> fmt)
fmt - The date format pattern to use for rendering the href
void setLocale(<java.util.Locale> loc)
loc - The locale to use
void setRenderer(<Object> r)
r - The renderer to use
void setTimeZone(tz)
loc - The locale to use
|
Jala 1.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||