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, AccesskeyProperty, AlignProperty, AltProperty, ChangeSelectProperties, EventAware, FocusBlurProperties, StyleAware, TabindexProperty, UniversalProperties, UserRoleAware

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

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: 1084267 $ $Date: 2011-03-22 12:49:43 -0500 (Tue, 22 Mar 2011) $
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 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, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, 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
getFamily
 
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
 

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.