org.apache.shale.usecases.rolodex
Class WebPager

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by org.apache.shale.usecases.rolodex.WebPager
All Implemented Interfaces:
javax.faces.component.StateHolder, javax.faces.component.ValueHolder

public class WebPager
extends javax.faces.component.UIOutput


Field Summary
 
Fields inherited from class javax.faces.component.UIOutput
COMPONENT_FAMILY, COMPONENT_TYPE
 
Constructor Summary
WebPager()
          Sets the renderer type to "org.apache.shale.WebPager".
 
Method Summary
 String getCaptionStyleClass()
          Returns the pager captionStyleClass attribute.
 String getFamily()
          Returns the component's family to "org.apache.shale.Pager".
 String getNextImage()
          Returns the pager nextImage attribute.
 String getNextPageStyleClass()
          Returns the pager nextPageStyleClass attribute.
 String getPageLinksStyleClass()
          Returns the pager pageLinksStyleClass attribute.
 String getPrevImage()
          Returns the pager prevImage attribute.
 String getPrevPageStyleClass()
          Returns the pager prevPageStyleClass attribute.
 boolean getRendersChildren()
          The pager component renders children.
 void restoreState(javax.faces.context.FacesContext facescontext, Object obj)
          Restores the components state.
 Object saveState(javax.faces.context.FacesContext facescontext)
          Saves the components state.
 void setCaptionStyleClass(String captionStyleClass)
          Sets the pager captionStyleClass attribute.
 void setNextImage(String s)
          Sets the pager nextImage attribute.
 void setNextPageStyleClass(String s)
          Sets the pager nextPageStyleClass attribute.
 void setPageLinksStyleClass(String pageLinksStyleClass)
          Sets the pager pageLinksStyleClass attribute.
 void setPrevImage(String s)
          Sets the pager prevImage attribute.
 void setPrevPageStyleClass(String s)
          Sets the pager prevPageStyleClass attribute.
 
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, getValue, setConverter, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebPager

public WebPager()

Sets the renderer type to "org.apache.shale.WebPager".

Method Detail

saveState

public Object saveState(javax.faces.context.FacesContext facescontext)

Saves the components state.

Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class javax.faces.component.UIOutput

restoreState

public void restoreState(javax.faces.context.FacesContext facescontext,
                         Object obj)

Restores the components state.

Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class javax.faces.component.UIOutput

getCaptionStyleClass

public String getCaptionStyleClass()

Returns the pager captionStyleClass attribute.


setCaptionStyleClass

public void setCaptionStyleClass(String captionStyleClass)

Sets the pager captionStyleClass attribute.


getPageLinksStyleClass

public String getPageLinksStyleClass()

Returns the pager pageLinksStyleClass attribute.


setPageLinksStyleClass

public void setPageLinksStyleClass(String pageLinksStyleClass)

Sets the pager pageLinksStyleClass attribute.


getPrevPageStyleClass

public String getPrevPageStyleClass()

Returns the pager prevPageStyleClass attribute.


setPrevPageStyleClass

public void setPrevPageStyleClass(String s)

Sets the pager prevPageStyleClass attribute.


getNextPageStyleClass

public String getNextPageStyleClass()

Returns the pager nextPageStyleClass attribute.


setNextPageStyleClass

public void setNextPageStyleClass(String s)

Sets the pager nextPageStyleClass attribute.


setPrevImage

public void setPrevImage(String s)

Sets the pager prevImage attribute.


getPrevImage

public String getPrevImage()

Returns the pager prevImage attribute.


setNextImage

public void setNextImage(String s)

Sets the pager nextImage attribute.


getNextImage

public String getNextImage()

Returns the pager nextImage attribute.


getFamily

public String getFamily()

Returns the component's family to "org.apache.shale.Pager".

Overrides:
getFamily in class javax.faces.component.UIOutput

getRendersChildren

public boolean getRendersChildren()

The pager component renders children.

Overrides:
getRendersChildren in class javax.faces.component.UIComponentBase


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.