# ScheduleCompactWeekRenderer (Apache MyFaces: Sandbox)
Keywords: org.apache.myfaces.custom.schedule.renderer.ScheduleCompactWeekRenderer class

## org.apache.myfaces.custom.schedule.renderer
Class ScheduleCompactWeekRenderer

    java.lang.Object
      javax.faces.render.Renderer
          org.apache.myfaces.custom.schedule.renderer.AbstractScheduleRenderer
              org.apache.myfaces.custom.schedule.renderer.AbstractCompactScheduleRenderer
                  org.apache.myfaces.custom.schedule.renderer.ScheduleCompactWeekRenderer

public class ScheduleCompactWeekRenderer
extends AbstractCompactScheduleRenderer

Renderer for the week view of the UISchedule component

Version:
  $Revision$
Author:
  Jurgen Lust (latest modification by $Author$), Bruno Aranda (adaptation of Jurgen's code to myfaces)

Field Summary

Fields inherited from class org.apache.myfaces.custom.schedule.renderer.AbstractScheduleRenderer
`comparator`

Constructor Summary
`ScheduleCompactWeekRenderer()`

Method Summary
`void` `encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)`
`protected int` `getDefaultRowHeight()`
`protected java.lang.String` `getRowHeightProperty()`

Methods inherited from class org.apache.myfaces.custom.schedule.renderer.AbstractCompactScheduleRenderer
`encodeChildren, encodeEnd, getRowHeight, writeDayCell, writeEntries`

Methods inherited from class org.apache.myfaces.custom.schedule.renderer.AbstractScheduleRenderer
`decode, getDateString, getHeaderDateFormat, getParentForm, getTheme, getTooltipText, showTooltip`

Methods inherited from class javax.faces.render.Renderer
`convertClientId, getConvertedValue, getRendersChildren`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ScheduleCompactWeekRenderer

    public ScheduleCompactWeekRenderer()

Method Detail

### encodeBegin

    public void encodeBegin(javax.faces.context.FacesContext context,
                            javax.faces.component.UIComponent component)
                     throws java.io.IOException

  Overrides:
    `encodeBegin` in class `AbstractScheduleRenderer`
  Throws:
    `java.io.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()`

### getRowHeightProperty

    protected java.lang.String getRowHeightProperty()

  Specified by:
    `getRowHeightProperty` in class `AbstractCompactScheduleRenderer`
  Returns:
    The name of the property that determines the row height
  See Also:
    `AbstractCompactScheduleRenderer.getRowHeightProperty()`