|
||||||||||
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
javax.faces.component.UIOutput
javax.faces.component.UIInput
javax.faces.component.UISelectOne
javax.faces.component.html.HtmlSelectOneRadio
public class HtmlSelectOneRadio
Type | Phases | Description |
---|---|---|
javax.faces.event.ValueChangeEvent |
The valueChange event is delivered when the value attribute is changed. |
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
Fields inherited from class javax.faces.component.UISelectOne |
---|
INVALID_MESSAGE_ID |
Fields inherited from class javax.faces.component.UIInput |
---|
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID |
Fields inherited from class javax.faces.component.UIComponent |
---|
bindings |
Constructor Summary | |
---|---|
HtmlSelectOneRadio()
Construct an instance of the HtmlSelectOneRadio. |
Method Summary | |
---|---|
java.lang.String |
getAccesskey()
Gets Sets the access key for this element. |
int |
getBorder()
Gets Specifies the width of the border of this element, in pixels. |
java.lang.String |
getDir()
Gets The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left). |
java.lang.String |
getDisabledClass()
Gets CSS class to be used for the disabled items. |
java.lang.String |
getEnabledClass()
Gets CSS class to be used for the enabled items. |
java.lang.String |
getFamily()
|
java.lang.String |
getLabel()
Gets A diplay name for this component. |
java.lang.String |
getLang()
Gets The base language of this document. |
java.lang.String |
getLayout()
Gets Orientation of the options list to be created. |
java.lang.String |
getOnblur()
Gets Specifies a script to be invoked when the element loses focus. |
java.lang.String |
getOnchange()
Gets Specifies a script to be invoked when the element is modified. |
java.lang.String |
getOnclick()
Gets Script to be invoked when the element is clicked. |
java.lang.String |
getOndblclick()
Gets Script to be invoked when the element is double-clicked. |
java.lang.String |
getOnfocus()
Gets Specifies a script to be invoked when the element receives focus. |
java.lang.String |
getOnkeydown()
Gets Script to be invoked when a key is pressed down over this element. |
java.lang.String |
getOnkeypress()
Gets Script to be invoked when a key is pressed over this element. |
java.lang.String |
getOnkeyup()
Gets Script to be invoked when a key is released over this element. |
java.lang.String |
getOnmousedown()
Gets Script to be invoked when the pointing device is pressed over this element. |
java.lang.String |
getOnmousemove()
Gets Script to be invoked when the pointing device is moved while it is in this element. |
java.lang.String |
getOnmouseout()
Gets Script to be invoked when the pointing device is moves out of this element. |
java.lang.String |
getOnmouseover()
Gets Script to be invoked when the pointing device is moved into this element. |
java.lang.String |
getOnmouseup()
Gets Script to be invoked when the pointing device is released over this element. |
java.lang.String |
getOnselect()
Gets Specifies a script to be invoked when the element is selected. |
java.lang.String |
getStyle()
Gets CSS styling instructions. |
java.lang.String |
getStyleClass()
Gets The CSS class for this element. |
java.lang.String |
getTabindex()
Gets Specifies the position of this element within the tab order of the document. |
java.lang.String |
getTitle()
Gets An advisory title for this element. |
boolean |
isDisabled()
Gets When true, this element cannot receive focus. |
boolean |
isReadonly()
Gets When true, indicates that this component cannot be modified by the user. |
void |
restoreState(FacesContext facesContext,
java.lang.Object state)
Invoked in the "restore view" phase, this initialises this object's members from the values saved previously into the provided state object. |
java.lang.Object |
saveState(FacesContext facesContext)
Invoked after the render phase has completed, this method returns an object which can be passed to the restoreState of some other instance of UIComponentBase to reset that object's state to the same values as this object currently has. |
void |
setAccesskey(java.lang.String accesskey)
Sets Sets the access key for this element. |
void |
setBorder(int border)
Sets Specifies the width of the border of this element, in pixels. |
void |
setDir(java.lang.String dir)
Sets The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left). |
void |
setDisabled(boolean disabled)
Sets When true, this element cannot receive focus. |
void |
setDisabledClass(java.lang.String disabledClass)
Sets CSS class to be used for the disabled items. |
void |
setEnabledClass(java.lang.String enabledClass)
Sets CSS class to be used for the enabled items. |
void |
setLabel(java.lang.String label)
Sets A diplay name for this component. |
void |
setLang(java.lang.String lang)
Sets The base language of this document. |
void |
setLayout(java.lang.String layout)
Sets Orientation of the options list to be created. |
void |
setOnblur(java.lang.String onblur)
Sets Specifies a script to be invoked when the element loses focus. |
void |
setOnchange(java.lang.String onchange)
Sets Specifies a script to be invoked when the element is modified. |
void |
setOnclick(java.lang.String onclick)
Sets Script to be invoked when the element is clicked. |
void |
setOndblclick(java.lang.String ondblclick)
Sets Script to be invoked when the element is double-clicked. |
void |
setOnfocus(java.lang.String onfocus)
Sets Specifies a script to be invoked when the element receives focus. |
void |
setOnkeydown(java.lang.String onkeydown)
Sets Script to be invoked when a key is pressed down over this element. |
void |
setOnkeypress(java.lang.String onkeypress)
Sets Script to be invoked when a key is pressed over this element. |
void |
setOnkeyup(java.lang.String onkeyup)
Sets Script to be invoked when a key is released over this element. |
void |
setOnmousedown(java.lang.String onmousedown)
Sets Script to be invoked when the pointing device is pressed over this element. |
void |
setOnmousemove(java.lang.String onmousemove)
Sets Script to be invoked when the pointing device is moved while it is in this element. |
void |
setOnmouseout(java.lang.String onmouseout)
Sets Script to be invoked when the pointing device is moves out of this element. |
void |
setOnmouseover(java.lang.String onmouseover)
Sets Script to be invoked when the pointing device is moved into this element. |
void |
setOnmouseup(java.lang.String onmouseup)
Sets Script to be invoked when the pointing device is released over this element. |
void |
setOnselect(java.lang.String onselect)
Sets Specifies a script to be invoked when the element is selected. |
void |
setReadonly(boolean readonly)
Sets When true, indicates that this component cannot be modified by the user. |
void |
setStyle(java.lang.String style)
Sets CSS styling instructions. |
void |
setStyleClass(java.lang.String styleClass)
Sets The CSS class for this element. |
void |
setTabindex(java.lang.String tabindex)
Sets Specifies the position of this element within the tab order of the document. |
void |
setTitle(java.lang.String title)
Sets An advisory title for this element. |
Methods inherited from class javax.faces.component.UISelectOne |
---|
validateValue |
Methods inherited from class javax.faces.component.UIOutput |
---|
getConverter, getLocalValue, getValue, setConverter |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.faces.component.ValueHolder |
---|
getConverter, getLocalValue, getValue, setConverter |
Field Detail |
---|
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
Constructor Detail |
---|
public HtmlSelectOneRadio()
Method Detail |
---|
public java.lang.String getStyle()
public void setStyle(java.lang.String style)
style
- the new style valuepublic java.lang.String getStyleClass()
public void setStyleClass(java.lang.String styleClass)
styleClass
- the new styleClass valuepublic java.lang.String getDir()
public void setDir(java.lang.String dir)
dir
- the new dir valuepublic java.lang.String getLang()
public void setLang(java.lang.String lang)
lang
- the new lang valuepublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the new title valuepublic java.lang.String getOnclick()
public void setOnclick(java.lang.String onclick)
onclick
- the new onclick valuepublic java.lang.String getOndblclick()
public void setOndblclick(java.lang.String ondblclick)
ondblclick
- the new ondblclick valuepublic java.lang.String getOnmousedown()
public void setOnmousedown(java.lang.String onmousedown)
onmousedown
- the new onmousedown valuepublic java.lang.String getOnmouseup()
public void setOnmouseup(java.lang.String onmouseup)
onmouseup
- the new onmouseup valuepublic java.lang.String getOnmouseover()
public void setOnmouseover(java.lang.String onmouseover)
onmouseover
- the new onmouseover valuepublic java.lang.String getOnmousemove()
public void setOnmousemove(java.lang.String onmousemove)
onmousemove
- the new onmousemove valuepublic java.lang.String getOnmouseout()
public void setOnmouseout(java.lang.String onmouseout)
onmouseout
- the new onmouseout valuepublic java.lang.String getOnkeypress()
public void setOnkeypress(java.lang.String onkeypress)
onkeypress
- the new onkeypress valuepublic java.lang.String getOnkeydown()
public void setOnkeydown(java.lang.String onkeydown)
onkeydown
- the new onkeydown valuepublic java.lang.String getOnkeyup()
public void setOnkeyup(java.lang.String onkeyup)
onkeyup
- the new onkeyup valuepublic java.lang.String getOnblur()
public void setOnblur(java.lang.String onblur)
onblur
- the new onblur valuepublic java.lang.String getOnfocus()
public void setOnfocus(java.lang.String onfocus)
onfocus
- the new onfocus valuepublic java.lang.String getOnchange()
public void setOnchange(java.lang.String onchange)
onchange
- the new onchange valuepublic java.lang.String getOnselect()
public void setOnselect(java.lang.String onselect)
onselect
- the new onselect valuepublic java.lang.String getAccesskey()
public void setAccesskey(java.lang.String accesskey)
accesskey
- the new accesskey valuepublic java.lang.String getTabindex()
public void setTabindex(java.lang.String tabindex)
tabindex
- the new tabindex valuepublic boolean isDisabled()
public void setDisabled(boolean disabled)
disabled
- the new disabled valuepublic boolean isReadonly()
public void setReadonly(boolean readonly)
readonly
- the new readonly valuepublic java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- the new label valuepublic java.lang.String getEnabledClass()
public void setEnabledClass(java.lang.String enabledClass)
enabledClass
- the new enabledClass valuepublic java.lang.String getDisabledClass()
public void setDisabledClass(java.lang.String disabledClass)
disabledClass
- the new disabledClass valuepublic int getBorder()
public void setBorder(int border)
border
- the new border valuepublic java.lang.String getLayout()
public void setLayout(java.lang.String layout)
layout
- the new layout valuepublic java.lang.Object saveState(FacesContext facesContext)
UIComponentBase
saveState
in interface StateHolder
saveState
in class UIInput
public void restoreState(FacesContext facesContext, java.lang.Object state)
UIComponentBase
restoreState
in interface StateHolder
restoreState
in class UIInput
state
- is an object previously returned by
the saveState method of this class.public java.lang.String getFamily()
getFamily
in class UISelectOne
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |