| com.sun.rave.web.ui.renderer.AbstractRenderer com.sun.rave.web.ui.renderer.HyperlinkRenderer com.sun.rave.web.ui.renderer.TabRenderer
TabRenderer | public class TabRenderer extends HyperlinkRenderer (Code) | | Renders a Tab component.
A Tab is a Hyperlink that, when clicked, also udpates the
lastSelectedChild value of any parent Tab instance as well as the selected
value of the enclosing TabSet component.
author: Sean Comerford |
Method Summary | |
protected void | finishRenderAttributes(FacesContext context, UIComponent component, ResponseWriter writer) | protected String | getStyles(FacesContext context, UIComponent component) | protected void | renderChildren(FacesContext context, UIComponent component) This method is always called by the base class (HyperlinkRenderer)
renderEnd method. | protected void | renderStart(FacesContext context, UIComponent component, ResponseWriter writer) |
TabRenderer | public TabRenderer()(Code) | | Default constructor
|
finishRenderAttributes | protected void finishRenderAttributes(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code) | | |
getStyles | protected String getStyles(FacesContext context, UIComponent component)(Code) | | This function returns the style classes necessary to display the
Hyperlink component as it's state indicates
the style classes needed to display the current state of the component |
renderChildren | protected void renderChildren(FacesContext context, UIComponent component) throws IOException(Code) | | This method is always called by the base class (HyperlinkRenderer)
renderEnd method. TabRenderer should NOT render any Tab children as the
enclosing TabSet component will do so (if necessary).
Parameters: context - The current FacesContext Parameters: component - The current component |
renderStart | protected void renderStart(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code) | | Render the start of an anchor (hyperlink) tag.
Parameters: context - FacesContext for the current request Parameters: component - UIComponent to be rendered Parameters: writer - ResponseWriter to which the elementstart should be rendered exception: IOException - if an input/output error occurs |
Methods inherited from com.sun.rave.web.ui.renderer.HyperlinkRenderer | public void decode(FacesContext context, UIComponent component)(Code)(Java Doc) public void encodeChildren(FacesContext context, UIComponent component) throws IOException(Code)(Java Doc) protected void finishRenderAttributes(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code)(Java Doc) public boolean getRendersChildren()(Code)(Java Doc) protected String getStyles(FacesContext context, UIComponent component)(Code)(Java Doc) protected void renderAttributes(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code)(Java Doc) protected void renderChildren(FacesContext context, UIComponent component) throws IOException(Code)(Java Doc) protected void renderEnd(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code)(Java Doc) protected void renderLink(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code)(Java Doc) protected void renderStart(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code)(Java Doc)
|
Methods inherited from com.sun.rave.web.ui.renderer.AbstractRenderer | protected void addBooleanAttributes(FacesContext context, UIComponent component, ResponseWriter writer, String names) throws IOException(Code)(Java Doc) protected void addCoreAttributes(FacesContext context, UIComponent component, ResponseWriter writer, String styles) throws IOException(Code)(Java Doc) protected void addIntegerAttributes(FacesContext context, UIComponent component, ResponseWriter writer, String names) throws IOException(Code)(Java Doc) protected static void addStringAttributes(FacesContext context, UIComponent component, ResponseWriter writer, String names) throws IOException(Code)(Java Doc) public void decode(FacesContext context, UIComponent component)(Code)(Java Doc) public void encodeBegin(FacesContext context, UIComponent component) throws IOException(Code)(Java Doc) public void encodeChildren(FacesContext context, UIComponent component) throws IOException(Code)(Java Doc) public void encodeEnd(FacesContext context, UIComponent component) throws IOException(Code)(Java Doc) protected Application getApplication()(Code)(Java Doc) protected Object getAsObject(FacesContext context, UIComponent component, String value)(Code)(Java Doc) protected String getAsString(FacesContext context, UIComponent component)(Code)(Java Doc) protected ExternalContext getExternalContext()(Code)(Java Doc) protected FacesContext getFacesContext()(Code)(Java Doc) protected Object getSubmittedValue(FacesContext context, UIComponent component)(Code)(Java Doc) protected boolean isDisabled(UIComponent component)(Code)(Java Doc) protected boolean isPortlet(FacesContext context)(Code)(Java Doc) protected boolean isReadOnly(UIComponent component)(Code)(Java Doc) protected void renderAttributes(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code)(Java Doc) protected void renderEnd(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code)(Java Doc) protected void renderMarkup(FacesContext context, UIComponent component, ResponseWriter writer, Markup markup) throws IOException(Code)(Java Doc) protected void renderStart(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code)(Java Doc) protected void setSubmittedValue(FacesContext context, UIComponent component)(Code)(Java Doc)
|
|
|