|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.render.Renderer org.apache.shale.usecases.rolodex.HeaderSorterRenderer
public class HeaderSorterRenderer
Constructor Summary | |
---|---|
HeaderSorterRenderer()
|
Method Summary | |
---|---|
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Initiates the component rendering. |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Completes component rendering. |
protected javax.faces.component.UIData |
findDataComponent(javax.faces.component.UIComponent uicomponent)
Finds the parent IUData component. |
protected String |
getActionStr(javax.faces.context.FacesContext context)
Returns the base context root of the form using the view handler. |
protected String |
getSortedTag(javax.faces.context.FacesContext context,
javax.faces.component.UIData data)
The name of the query parameter used to control column sorting. |
protected boolean |
wasSelected(javax.faces.context.FacesContext context,
javax.faces.component.UIData data,
HeaderSorter column)
Determines if the column was click to be sorted on. |
Methods inherited from class javax.faces.render.Renderer |
---|
convertClientId, decode, encodeChildren, getConvertedValue, getRendersChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HeaderSorterRenderer()
Method Detail |
---|
protected javax.faces.component.UIData findDataComponent(javax.faces.component.UIComponent uicomponent)
Finds the parent IUData component.
protected String getActionStr(javax.faces.context.FacesContext context)
Returns the base context root of the form using the view handler.
protected String getSortedTag(javax.faces.context.FacesContext context, javax.faces.component.UIData data)
The name of the query parameter used to control column sorting.
protected boolean wasSelected(javax.faces.context.FacesContext context, javax.faces.component.UIData data, HeaderSorter column)
Determines if the column was click to be sorted on.
public void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
Initiates the component rendering.
encodeBegin
in class javax.faces.render.Renderer
IOException
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
Completes component rendering.
encodeEnd
in class javax.faces.render.Renderer
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |