org.apache.myfaces.custom.datascroller
Class HtmlDataScrollerRenderer
java.lang.Object
javax.faces.render.Renderer
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer
- public class HtmlDataScrollerRenderer
- extends HtmlRenderer
Renderer for the HtmlDataScroller component.
- Version:
- $Revision: 472630 $ $Date: 2006-11-08 21:40:03 +0100 (Mi, 08 Nov 2006) $
- Author:
- Thomas Spiegl (latest modification by $Author: grantsmith $)
Method Summary |
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Determine which datascroller navigation option the user chose (if any),
and if they did then queue the appropriate ScrollerActionEvent for
later execution. |
void |
encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
|
void |
encodeChildren(javax.faces.context.FacesContext facescontext,
javax.faces.component.UIComponent uicomponent)
|
void |
encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
|
protected javax.faces.component.html.HtmlCommandLink |
getLink(javax.faces.context.FacesContext facesContext,
HtmlDataScroller scroller,
java.lang.String facetName)
|
protected javax.faces.component.html.HtmlCommandLink |
getLink(javax.faces.context.FacesContext facesContext,
HtmlDataScroller scroller,
java.lang.String text,
int pageIndex)
|
boolean |
getRendersChildren()
|
void |
removeVariables(javax.faces.context.FacesContext facescontext,
HtmlDataScroller scroller)
|
protected void |
renderFacet(javax.faces.context.FacesContext facesContext,
HtmlDataScroller scroller,
javax.faces.component.UIComponent facetComp,
java.lang.String facetName)
|
protected void |
renderPaginator(javax.faces.context.FacesContext facesContext,
HtmlDataScroller scroller)
The "paginator" is a sequence of page numbers which the user can click
on to leap directly to a specific page of data. |
protected void |
renderScroller(javax.faces.context.FacesContext facesContext,
HtmlDataScroller scroller)
|
protected void |
setVariables(javax.faces.context.FacesContext facescontext,
HtmlDataScroller scroller)
Expose much of the internal state of this component so that UIComponents
nested within this component can very flexibly display the component state
to the user. |
protected void |
writePaginatorElementEnd(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
|
protected void |
writePaginatorElementStart(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
|
protected void |
writePaginatorEnd(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
|
protected void |
writePaginatorRowEnd(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
|
protected void |
writePaginatorRowStart(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
|
protected void |
writePaginatorStart(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
|
protected void |
writeScrollerElementEnd(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
|
protected void |
writeScrollerElementStart(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
|
protected void |
writeScrollerEnd(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
|
protected void |
writeScrollerRowEnd(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
|
protected void |
writeScrollerRowStart(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
|
protected void |
writeScrollerStart(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
|
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 |
RENDERER_TYPE
public static final java.lang.String RENDERER_TYPE
- See Also:
- Constant Field Values
PAGE_NAVIGATION
protected static final java.lang.String PAGE_NAVIGATION
HtmlDataScrollerRenderer
public HtmlDataScrollerRenderer()
getRendersChildren
public boolean getRendersChildren()
decode
public void decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
- Determine which datascroller navigation option the user chose (if any),
and if they did then queue the appropriate ScrollerActionEvent for
later execution.
setVariables
protected void setVariables(javax.faces.context.FacesContext facescontext,
HtmlDataScroller scroller)
throws java.io.IOException
- Expose much of the internal state of this component so that UIComponents
nested within this component can very flexibly display the component state
to the user.
- Throws:
java.io.IOException
removeVariables
public void removeVariables(javax.faces.context.FacesContext facescontext,
HtmlDataScroller scroller)
throws java.io.IOException
- Throws:
java.io.IOException
encodeBegin
public void encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws java.io.IOException
- Throws:
java.io.IOException
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext facescontext,
javax.faces.component.UIComponent uicomponent)
throws java.io.IOException
- Throws:
java.io.IOException
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws java.io.IOException
- Throws:
java.io.IOException
renderScroller
protected void renderScroller(javax.faces.context.FacesContext facesContext,
HtmlDataScroller scroller)
throws java.io.IOException
- Throws:
java.io.IOException
writeScrollerEnd
protected void writeScrollerEnd(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
throws java.io.IOException
- Throws:
java.io.IOException
writeScrollerRowEnd
protected void writeScrollerRowEnd(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
throws java.io.IOException
- Throws:
java.io.IOException
writeScrollerElementEnd
protected void writeScrollerElementEnd(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
throws java.io.IOException
- Throws:
java.io.IOException
writeScrollerElementStart
protected void writeScrollerElementStart(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
throws java.io.IOException
- Throws:
java.io.IOException
writeScrollerRowStart
protected void writeScrollerRowStart(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
throws java.io.IOException
- Throws:
java.io.IOException
writeScrollerStart
protected void writeScrollerStart(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
throws java.io.IOException
- Throws:
java.io.IOException
renderFacet
protected void renderFacet(javax.faces.context.FacesContext facesContext,
HtmlDataScroller scroller,
javax.faces.component.UIComponent facetComp,
java.lang.String facetName)
throws java.io.IOException
- Throws:
java.io.IOException
renderPaginator
protected void renderPaginator(javax.faces.context.FacesContext facesContext,
HtmlDataScroller scroller)
throws java.io.IOException
- The "paginator" is a sequence of page numbers which the user can click
on to leap directly to a specific page of data.
- Throws:
java.io.IOException
writePaginatorEnd
protected void writePaginatorEnd(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
throws java.io.IOException
- Throws:
java.io.IOException
writePaginatorRowEnd
protected void writePaginatorRowEnd(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
throws java.io.IOException
- Throws:
java.io.IOException
writePaginatorElementEnd
protected void writePaginatorElementEnd(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
throws java.io.IOException
- Throws:
java.io.IOException
writePaginatorElementStart
protected void writePaginatorElementStart(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
throws java.io.IOException
- Throws:
java.io.IOException
writePaginatorRowStart
protected void writePaginatorRowStart(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
throws java.io.IOException
- Throws:
java.io.IOException
writePaginatorStart
protected void writePaginatorStart(javax.faces.context.ResponseWriter writer,
HtmlDataScroller scroller)
throws java.io.IOException
- Throws:
java.io.IOException
getLink
protected javax.faces.component.html.HtmlCommandLink getLink(javax.faces.context.FacesContext facesContext,
HtmlDataScroller scroller,
java.lang.String text,
int pageIndex)
getLink
protected javax.faces.component.html.HtmlCommandLink getLink(javax.faces.context.FacesContext facesContext,
HtmlDataScroller scroller,
java.lang.String facetName)
Copyright © 2007 Apache Software Foundation. All Rights Reserved.