org.apache.myfaces.custom.radio
Class AbstractHtmlRadio

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.apache.myfaces.custom.radio.AbstractHtmlRadio
All Implemented Interfaces:
javax.faces.component.StateHolder, org.apache.myfaces.component.AccesskeyProperty, org.apache.myfaces.component.AlignProperty, org.apache.myfaces.component.AltProperty, org.apache.myfaces.component.ChangeSelectProperties, org.apache.myfaces.component.DisabledClassEnabledClassProperties, org.apache.myfaces.component.EventAware, org.apache.myfaces.component.FocusBlurProperties, org.apache.myfaces.component.StyleAware, org.apache.myfaces.component.TabindexProperty, org.apache.myfaces.component.UniversalProperties, org.apache.myfaces.component.UserRoleAware

public abstract class AbstractHtmlRadio
extends javax.faces.component.UIComponentBase
implements org.apache.myfaces.component.UserRoleAware, org.apache.myfaces.component.FocusBlurProperties, org.apache.myfaces.component.ChangeSelectProperties, org.apache.myfaces.component.UniversalProperties, org.apache.myfaces.component.EventAware, org.apache.myfaces.component.AltProperty, org.apache.myfaces.component.AlignProperty, org.apache.myfaces.component.StyleAware, org.apache.myfaces.component.AccesskeyProperty, org.apache.myfaces.component.TabindexProperty, org.apache.myfaces.component.DisabledClassEnabledClassProperties

This tag is used in conjunction with the extended selectOneRadio tag when the "spread" layout is selected. It specifies the position within the document that the radio button corresponding to a specific SelectItem should be rendered. All HTML pass-through attributes for this input are taken from the associated selectOneRadio. Unless otherwise specified, all attributes accept static values or EL expressions.

Since:
1.1.7
Version:
$Revision: 691856 $ $Date: 2008-09-03 21:40:30 -0500 (miƩ, 03 sep 2008) $
Author:
Thomas Spiegl (latest modification by $Author: lu4242 $)

Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
static String FOR_ATTR
           
static String INDEX_ATTR
           
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Fields inherited from interface org.apache.myfaces.component.UserRoleAware
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR
 
Constructor Summary
AbstractHtmlRadio()
           
 
Method Summary
abstract  String getFor()
          The id of the referenced extended selectOneRadio component.
abstract  int getIndex()
          The index of the corresponding SelectItem, where 0 represents the first SelectItem.
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getFamily, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.myfaces.component.UserRoleAware
getEnabledOnUserRole, getVisibleOnUserRole, setEnabledOnUserRole, setVisibleOnUserRole
 
Methods inherited from interface org.apache.myfaces.component.FocusBlurProperties
getOnblur, getOnfocus
 
Methods inherited from interface org.apache.myfaces.component.ChangeSelectProperties
getOnchange, getOnselect
 
Methods inherited from interface org.apache.myfaces.component.UniversalProperties
getDir, getLang, getTitle
 
Methods inherited from interface org.apache.myfaces.component.EventAware
getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup
 
Methods inherited from interface org.apache.myfaces.component.AltProperty
getAlt
 
Methods inherited from interface org.apache.myfaces.component.AlignProperty
getAlign
 
Methods inherited from interface org.apache.myfaces.component.StyleAware
getStyle, getStyleClass
 
Methods inherited from interface org.apache.myfaces.component.AccesskeyProperty
getAccesskey
 
Methods inherited from interface org.apache.myfaces.component.TabindexProperty
getTabindex
 
Methods inherited from interface org.apache.myfaces.component.DisabledClassEnabledClassProperties
getDisabledClass, getEnabledClass
 

Field Detail

FOR_ATTR

public static final String FOR_ATTR

INDEX_ATTR

public static final String INDEX_ATTR

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

AbstractHtmlRadio

public AbstractHtmlRadio()
Method Detail

getFor

public abstract String getFor()
The id of the referenced extended selectOneRadio component. This value is resolved to the particular component using the standard UIComponent.findComponent() searching algorithm.


getIndex

public abstract int getIndex()
The index of the corresponding SelectItem, where 0 represents the first SelectItem.



Copyright © 2012 The Apache Software Foundation. All Rights Reserved.