|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.render.Renderer
org.apache.myfaces.custom.schedule.renderer.AbstractScheduleRenderer
Abstract superclass for all renderer of the UISchedule component
Field Summary | |
protected static ScheduleEntryComparator |
comparator
|
Constructor Summary | |
AbstractScheduleRenderer()
|
Method Summary | |
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
protected java.lang.String |
getDateString(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.util.Date date)
Get the String representation of a date, taking into account the specified date format or the current Locale. |
protected java.lang.String |
getHeaderDateFormat(javax.faces.component.UIComponent component)
The date format that is used in the schedule header |
protected javax.faces.component.UIForm |
getParentForm(javax.faces.component.UIComponent component)
Get the parent form of the schedule component |
protected java.lang.String |
getTheme(javax.faces.component.UIComponent component)
The theme used when rendering the schedule |
protected java.lang.String |
getTooltipText(ScheduleEntry entry,
javax.faces.component.UIComponent component)
Assemble the tooltip text for the specified entry |
protected boolean |
showTooltip(javax.faces.component.UIComponent component)
Should the tooltip be made visible? |
Methods inherited from class javax.faces.render.Renderer |
convertClientId, encodeChildren, encodeEnd, getConvertedValue, getRendersChildren |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final ScheduleEntryComparator comparator
Constructor Detail |
public AbstractScheduleRenderer()
Method Detail |
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
Renderer.decode(javax.faces.context.FacesContext,
javax.faces.component.UIComponent)
public void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
java.io.IOException
Renderer.encodeBegin(javax.faces.context.FacesContext,
javax.faces.component.UIComponent)
protected java.lang.String getDateString(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.util.Date date)
Get the String representation of a date, taking into account the specified date format or the current Locale.
context
- the FacesContextcomponent
- the componentdate
- the date
protected java.lang.String getTheme(javax.faces.component.UIComponent component)
The theme used when rendering the schedule
component
- the component
protected java.lang.String getHeaderDateFormat(javax.faces.component.UIComponent component)
The date format that is used in the schedule header
component
- the component
protected javax.faces.component.UIForm getParentForm(javax.faces.component.UIComponent component)
Get the parent form of the schedule component
component
- the component
protected java.lang.String getTooltipText(ScheduleEntry entry, javax.faces.component.UIComponent component)
Assemble the tooltip text for the specified entry
entry
- the entry
protected boolean showTooltip(javax.faces.component.UIComponent component)
Should the tooltip be made visible?
component
- the component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |