|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.render.Renderer
com.sun.rave.web.ui.renderer.AbstractRenderer
com.sun.rave.web.ui.renderer.HyperlinkRenderer
com.sun.rave.web.ui.renderer.TabRenderer
public class TabRenderer
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.
Field Summary |
---|
Fields inherited from class com.sun.rave.web.ui.renderer.AbstractRenderer |
---|
BUNDLE, EVENTS_ATTRIBUTES, I18N_ATTRIBUTES |
Constructor Summary | |
---|---|
TabRenderer()
Default constructor |
Method Summary | |
---|---|
protected void |
finishRenderAttributes(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
|
protected java.lang.String |
getStyles(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
This function returns the style classes necessary to display the Hyperlink component as it's state indicates |
protected void |
renderChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
This method is always called by the base class (HyperlinkRenderer) renderEnd method. |
protected void |
renderStart(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
Render the start of an anchor (hyperlink) tag. |
Methods inherited from class com.sun.rave.web.ui.renderer.HyperlinkRenderer |
---|
decode, encodeChildren, getRendersChildren, renderAttributes, renderEnd, renderLink |
Methods inherited from class com.sun.rave.web.ui.renderer.AbstractRenderer |
---|
addBooleanAttributes, addCoreAttributes, addIntegerAttributes, addStringAttributes, encodeBegin, encodeEnd, getApplication, getAsObject, getAsString, getExternalContext, getFacesContext, getSubmittedValue, isDisabled, isPortlet, isReadOnly, renderMarkup, setSubmittedValue |
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 |
Constructor Detail |
---|
public TabRenderer()
Method Detail |
---|
protected void renderChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
renderChildren
in class HyperlinkRenderer
context
- The current FacesContextcomponent
- The current component
java.io.IOException
protected void renderStart(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.context.ResponseWriter writer) throws java.io.IOException
Render the start of an anchor (hyperlink) tag.
renderStart
in class HyperlinkRenderer
context
- FacesContext
for the current requestcomponent
- UIComponent
to be renderedwriter
- ResponseWriter
to which the element
start should be rendered
java.io.IOException
- if an input/output error occursprotected void finishRenderAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.context.ResponseWriter writer) throws java.io.IOException
finishRenderAttributes
in class HyperlinkRenderer
java.io.IOException
protected java.lang.String getStyles(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
Hyperlink
component as it's state indicates
getStyles
in class HyperlinkRenderer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |