|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.apache.myfaces.custom.radio.AbstractHtmlRadio
org.apache.myfaces.custom.radio.HtmlRadio
public class HtmlRadio
| Field Summary | |
|---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
static String |
DEFAULT_RENDERER_TYPE
|
| Fields inherited from class org.apache.myfaces.custom.radio.AbstractHtmlRadio |
|---|
FOR_ATTR, INDEX_ATTR |
| Fields inherited from interface org.apache.myfaces.component.UserRoleAware |
|---|
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR |
| Constructor Summary | |
|---|---|
HtmlRadio()
|
|
| Method Summary | |
|---|---|
String |
getEnabledOnUserRole()
If user is in given role, this component will be rendered normally. |
String |
getFamily()
|
String |
getFor()
The id of the referenced extended selectOneRadio component. |
int |
getIndex()
The index of the corresponding SelectItem, where 0 represents the first SelectItem. |
String |
getVisibleOnUserRole()
If user is in given role, this component will be rendered normally. |
void |
restoreState(javax.faces.context.FacesContext facesContext,
Object state)
|
Object |
saveState(javax.faces.context.FacesContext facesContext)
|
void |
setEnabledOnUserRole(String enabledOnUserRole)
|
void |
setFor(String forParam)
|
void |
setIndex(int index)
|
void |
setVisibleOnUserRole(String visibleOnUserRole)
|
| 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, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public static final String DEFAULT_RENDERER_TYPE
| Constructor Detail |
|---|
public HtmlRadio()
| Method Detail |
|---|
public String getFamily()
getFamily in class javax.faces.component.UIComponentpublic String getFor()
AbstractHtmlRadio
getFor in class AbstractHtmlRadiopublic void setFor(String forParam)
public int getIndex()
AbstractHtmlRadio
getIndex in class AbstractHtmlRadiopublic void setIndex(int index)
public String getEnabledOnUserRole()
UserRoleAware
public void setEnabledOnUserRole(String enabledOnUserRole)
public String getVisibleOnUserRole()
UserRoleAware
public void setVisibleOnUserRole(String visibleOnUserRole)
public Object saveState(javax.faces.context.FacesContext facesContext)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIComponentBase
public void restoreState(javax.faces.context.FacesContext facesContext,
Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIComponentBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||