|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.myfaces.custom.schedule.renderer.DefaultScheduleEntryRenderer
The default implementation of the ScheduleEntryRenderer
| Constructor Summary | |
DefaultScheduleEntryRenderer()
|
|
| Method Summary | |
java.lang.String |
getColor(javax.faces.context.FacesContext context,
HtmlSchedule schedule,
ScheduleEntry entry,
boolean selected)
Get the color of an entry. |
protected java.lang.String |
getStyleClass(javax.faces.component.UIComponent component,
java.lang.String className)
Allow the developer to specify custom CSS classnames for the schedule component. |
protected void |
renderCompactContent(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter writer,
HtmlSchedule schedule,
ScheduleDay day,
ScheduleEntry entry,
boolean selected)
|
void |
renderContent(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter writer,
HtmlSchedule schedule,
ScheduleDay day,
ScheduleEntry entry,
boolean compact,
boolean selected)
Render the content of an entry. |
protected void |
renderDetailedContentText(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter writer,
HtmlSchedule schedule,
ScheduleDay day,
ScheduleEntry entry,
boolean selected)
|
void |
renderToolTip(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter writer,
HtmlSchedule schedule,
ScheduleEntry entry,
boolean selected)
Render the tooltip of a ScheduleEntry. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultScheduleEntryRenderer()
| Method Detail |
public void renderContent(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter writer,
HtmlSchedule schedule,
ScheduleDay day,
ScheduleEntry entry,
boolean compact,
boolean selected)
throws java.io.IOException
ScheduleEntryRenderer
renderContent in interface ScheduleEntryRenderercontext - the FacesContextwriter - the ResponseWriterschedule - the Schedule componentday - the current dayentry - the entry that should be renderedcompact - is the schedule rendered in a compact mode?selected - whether or not the entry is currently selected
java.io.IOException - when the output cannot be writtenScheduleEntryRenderer.renderContent(javax.faces.context.FacesContext, javax.faces.context.ResponseWriter, org.apache.myfaces.custom.schedule.HtmlSchedule, org.apache.myfaces.custom.schedule.model.ScheduleDay, org.apache.myfaces.custom.schedule.model.ScheduleEntry, boolean, boolean)
protected void renderCompactContent(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter writer,
HtmlSchedule schedule,
ScheduleDay day,
ScheduleEntry entry,
boolean selected)
throws java.io.IOException
java.io.IOException
protected void renderDetailedContentText(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter writer,
HtmlSchedule schedule,
ScheduleDay day,
ScheduleEntry entry,
boolean selected)
throws java.io.IOException
java.io.IOException
public java.lang.String getColor(javax.faces.context.FacesContext context,
HtmlSchedule schedule,
ScheduleEntry entry,
boolean selected)
ScheduleEntryRenderer
getColor in interface ScheduleEntryRenderercontext - the FacesContextschedule - the Schedule componententry - the entryselected - whether or not the entry is currently selected
ScheduleEntryRenderer.getColor(javax.faces.context.FacesContext, org.apache.myfaces.custom.schedule.HtmlSchedule, org.apache.myfaces.custom.schedule.model.ScheduleEntry, boolean)
public void renderToolTip(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter writer,
HtmlSchedule schedule,
ScheduleEntry entry,
boolean selected)
throws java.io.IOException
ScheduleEntryRenderer
renderToolTip in interface ScheduleEntryRenderercontext - the FacesContextwriter - the ResponseWriterschedule - the Schedule componententry - the entryselected - whether or not the entry is currently selected
java.io.IOException - when the output cannot be writtenScheduleEntryRenderer.renderToolTip(javax.faces.context.FacesContext, javax.faces.context.ResponseWriter, org.apache.myfaces.custom.schedule.HtmlSchedule, org.apache.myfaces.custom.schedule.model.ScheduleEntry, boolean)
protected java.lang.String getStyleClass(javax.faces.component.UIComponent component,
java.lang.String className)
Allow the developer to specify custom CSS classnames for the schedule component.
component - the componentclassName - the default CSS classname
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||