org.apache.myfaces.custom.schedule
Class ScheduleCompactMonthRenderer
java.lang.Object
javax.faces.render.Renderer
org.apache.myfaces.custom.schedule.AbstractScheduleRenderer
org.apache.myfaces.custom.schedule.AbstractCompactScheduleRenderer
org.apache.myfaces.custom.schedule.ScheduleCompactMonthRenderer
- All Implemented Interfaces:
- Serializable
public class ScheduleCompactMonthRenderer
- extends AbstractCompactScheduleRenderer
- implements Serializable
Renderer for the month view of the Schedule component
- Since:
- 1.1.7
- Version:
- $Revision: 382051 $
- Author:
- Jurgen Lust (latest modification by $Author: schof $), Bruno Aranda (adaptation of Jurgen's code to myfaces)
- See Also:
- Serialized Form
Method Summary |
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
protected int |
getDefaultRowHeight()
|
protected int |
getRowHeight(org.apache.myfaces.custom.schedule.UIScheduleBase schedule)
|
protected void |
writeDayCell(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter writer,
org.apache.myfaces.custom.schedule.HtmlSchedule schedule,
ScheduleDay day,
int dayOfWeek,
int dayOfMonth,
boolean isWeekend,
boolean isCurrentMonth,
int rowspan)
|
Methods inherited from class javax.faces.render.Renderer |
convertClientId, getConvertedValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScheduleCompactMonthRenderer
public ScheduleCompactMonthRenderer()
encodeBegin
public void encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws IOException
- Overrides:
encodeBegin
in class AbstractScheduleRenderer
- Throws:
IOException
- See Also:
Renderer.encodeBegin(javax.faces.context.FacesContext,
javax.faces.component.UIComponent)
getDefaultRowHeight
protected int getDefaultRowHeight()
- Specified by:
getDefaultRowHeight
in class AbstractCompactScheduleRenderer
- Returns:
- The default height, in pixels, of one row in the schedule grid
- See Also:
AbstractCompactScheduleRenderer.getDefaultRowHeight()
writeDayCell
protected void writeDayCell(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter writer,
org.apache.myfaces.custom.schedule.HtmlSchedule schedule,
ScheduleDay day,
int dayOfWeek,
int dayOfMonth,
boolean isWeekend,
boolean isCurrentMonth,
int rowspan)
throws IOException
- Throws:
IOException
getRowHeight
protected int getRowHeight(org.apache.myfaces.custom.schedule.UIScheduleBase schedule)
- Specified by:
getRowHeight
in class AbstractScheduleRenderer
- Parameters:
schedule
- The schedule
- Returns:
- The row height, in pixels
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.