org.apache.myfaces.trinidadinternal.renderkit.core.xhtml
Class SelectRangeChoiceBarRenderer
java.lang.Object
javax.faces.render.Renderer
org.apache.myfaces.trinidad.render.CoreRenderer
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SelectRangeChoiceBarRenderer
- All Implemented Interfaces:
- java.lang.Cloneable, org.apache.myfaces.trinidad.render.TypedRenderer
public class SelectRangeChoiceBarRenderer
- extends XhtmlRenderer
Fields inherited from class org.apache.myfaces.trinidad.render.CoreRenderer |
CHAR_UNDEFINED, NO_CHILD_INDEX |
Method Summary |
static void |
addHiddenFields(org.apache.myfaces.trinidad.context.RenderingContext arc)
render form value needed values and javascript code. |
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
protected boolean |
disabledNavigationShown()
Returns true if disabled navigation items should be shown |
protected void |
encodeAll(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected void |
findTypeConstants(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
|
protected java.lang.String |
getBlockString(org.apache.myfaces.trinidad.context.RenderingContext arc,
boolean isNext,
int numRecords)
Gets the string to use for next/previous links
in a table navigation bar. |
protected int |
getFirst(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected org.apache.myfaces.trinidad.skin.Icon |
getIcon(org.apache.myfaces.trinidad.context.RenderingContext arc,
boolean isNext,
boolean isEnabled)
|
protected java.lang.String |
getIconTitleKey(boolean isNext,
boolean isEnabled)
|
protected boolean |
getImmediate(org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected javax.faces.component.UIComponent |
getRangeLabel(javax.faces.component.UIComponent component)
|
boolean |
getRendersChildren()
|
protected int |
getRowCount(javax.faces.component.UIComponent component)
|
protected java.lang.Object |
getRowData(javax.faces.component.UIComponent component)
|
protected int |
getRowIndex(javax.faces.component.UIComponent component)
|
protected int |
getRows(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected boolean |
getShowAll(org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected java.lang.String |
getSource()
|
protected java.lang.String |
getVar(org.apache.myfaces.trinidad.bean.FacesBean bean)
|
protected boolean |
isRowAvailable(javax.faces.component.UIComponent component)
|
protected boolean |
isRowAvailable(javax.faces.component.UIComponent component,
int rowIndex)
|
protected void |
renderItemSpacer(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc)
Writes the separator between two elements |
protected void |
setRowIndex(javax.faces.component.UIComponent component,
int index)
|
protected boolean |
shouldRenderId(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Always render an ID, needed for proper PPR. |
protected boolean |
showAllSupported()
|
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer |
cloneWithType, enableScriptDeferring, getAbsoluteImageUri, getBaseImageUri, getDefaultStyleClass, getInlineStyle, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getShortDesc, getStyleClass, renderAllAttributes, renderAllAttributes, renderDecorativeIcon, renderDecorativeIcon, renderEventHandlers, renderFormattedText, renderHAlign, renderInlineStyle, renderInlineStyleAttribute, renderPossiblyFormattedText, renderScriptDeferAttribute, renderScriptTypeAttribute, renderShortDescAttribute, renderSpacer, renderStyleAttributes, renderStyleAttributes, renderTransparent, renderVerticalSpacer, skipDecode, supportsAccessKeys, supportsAdvancedForms, supportsAutoCompleteFormElements, supportsDisabledFormElements, supportsEditing, supportsIntrinsicEvents, supportsNavigation, supportsReadonlyFormElements, supportsScripting, supportsSeparateWindow, supportsStyleAttributes, supportsTarget, supportsTextPresentation, supportsXMLDOM |
Methods inherited from class org.apache.myfaces.trinidad.render.CoreRenderer |
delegateRenderer, delegateRendererBegin, delegateRendererEnd, encodeAllChildren, encodeBegin, encodeBegin, encodeChild, encodeChildren, encodeEnd, encodeEnd, getClientId, getFacesBean, getFacet, getNextRenderedChildIndex, getRenderedChildCount, getRenderingProperty, hasRenderedChildren, isDesktop, isGecko, isIE, isInaccessibleMode, isPDA, isScreenReaderMode, renderEncodedActionURI, renderEncodedResourceURI, renderId, renderStyleClass, renderStyleClasses, setRenderingProperty, toChar, toInt, toLong, toString, toUri |
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 |
SelectRangeChoiceBarRenderer
public SelectRangeChoiceBarRenderer()
SelectRangeChoiceBarRenderer
public SelectRangeChoiceBarRenderer(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
findTypeConstants
protected void findTypeConstants(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
- Overrides:
findTypeConstants
in class XhtmlRenderer
decode
public void decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
- Overrides:
decode
in class javax.faces.render.Renderer
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildren
in class javax.faces.render.Renderer
shouldRenderId
protected boolean shouldRenderId(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
- Always render an ID, needed for proper PPR.
- Overrides:
shouldRenderId
in class XhtmlRenderer
getRows
protected int getRows(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
getFirst
protected int getFirst(javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
getShowAll
protected boolean getShowAll(org.apache.myfaces.trinidad.bean.FacesBean bean)
getImmediate
protected boolean getImmediate(org.apache.myfaces.trinidad.bean.FacesBean bean)
getVar
protected java.lang.String getVar(org.apache.myfaces.trinidad.bean.FacesBean bean)
getRangeLabel
protected javax.faces.component.UIComponent getRangeLabel(javax.faces.component.UIComponent component)
getRowCount
protected int getRowCount(javax.faces.component.UIComponent component)
getRowIndex
protected int getRowIndex(javax.faces.component.UIComponent component)
setRowIndex
protected void setRowIndex(javax.faces.component.UIComponent component,
int index)
isRowAvailable
protected boolean isRowAvailable(javax.faces.component.UIComponent component)
isRowAvailable
protected boolean isRowAvailable(javax.faces.component.UIComponent component,
int rowIndex)
getRowData
protected java.lang.Object getRowData(javax.faces.component.UIComponent component)
getSource
protected java.lang.String getSource()
showAllSupported
protected boolean showAllSupported()
encodeAll
protected void encodeAll(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc,
javax.faces.component.UIComponent component,
org.apache.myfaces.trinidad.bean.FacesBean bean)
throws java.io.IOException
- Overrides:
encodeAll
in class org.apache.myfaces.trinidad.render.CoreRenderer
- Throws:
java.io.IOException
addHiddenFields
public static void addHiddenFields(org.apache.myfaces.trinidad.context.RenderingContext arc)
- render form value needed values and javascript code.
disabledNavigationShown
protected boolean disabledNavigationShown()
- Returns true if disabled navigation items should be shown
getIcon
protected org.apache.myfaces.trinidad.skin.Icon getIcon(org.apache.myfaces.trinidad.context.RenderingContext arc,
boolean isNext,
boolean isEnabled)
getIconTitleKey
protected java.lang.String getIconTitleKey(boolean isNext,
boolean isEnabled)
getBlockString
protected java.lang.String getBlockString(org.apache.myfaces.trinidad.context.RenderingContext arc,
boolean isNext,
int numRecords)
- Gets the string to use for next/previous links
in a table navigation bar.
renderItemSpacer
protected void renderItemSpacer(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc)
throws java.io.IOException
- Writes the separator between two elements
- Throws:
java.io.IOException
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.