|
|||||||||
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
com.esri.adf.web.faces.component.SelectOneControl
public class SelectOneControl
The SelectOne Control is rendered as a "select" HTML element. The control generates a value changed event when a new value is selected from the dropdown box.
Field Summary | |
---|---|
static String |
COMPONENT_FAMILY
The standard component family for this component. |
static String |
COMPONENT_TYPE
The standard component type for this component. |
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 | |
---|---|
SelectOneControl()
Initializes the SelectOne Control and sets the renderer type to null. |
Method Summary | |
---|---|
void |
decode(javax.faces.context.FacesContext facesContext)
Decodes the control value from the specified FacesContext. |
Element |
generateXML()
Generates an XML representation of the control. |
String |
getFamily()
Returns the family of this control. |
protected javax.faces.render.Renderer |
getRenderer(javax.faces.context.FacesContext context)
Returns a design-time renderer if the component is used in an IDE. |
String |
getStyle()
Returns the style attributes of this control. |
String |
getStyleClass()
Returns the file name where the CSS style attributes are defined. |
String |
getToolText()
Returns the tool text that is set for this control. |
boolean |
isClientPostBack()
Indicates whether the control supports client side post back. |
boolean |
isDisabled()
Indicates whether the control is disabled. |
boolean |
isInit()
Indicates whether this control is initialized. |
boolean |
isShowLoadingImage()
Indicates whether the control shows a loading image when the page is submited. |
void |
restoreState(javax.faces.context.FacesContext facesContext,
Object state)
Restores the state of the control. |
Object |
saveState(javax.faces.context.FacesContext facesContext)
Saves the state of this control. |
void |
setClientPostBack(boolean clientPostBack)
Sets whether the control supports client side post back. |
void |
setDisabled(boolean disabled)
Sets an indicator whether to disable the control. |
void |
setInit(boolean init)
Sets an indicator whether to initialize the control. |
void |
setShowLoadingImage(boolean showLoadingImage)
Sets whether the loading image is shown for this control. |
void |
setStyle(String style)
Sets the default style for this control. |
void |
setStyleClass(String styleClass)
Sets the CSS class name where the CSS style attributes are defined. |
void |
setToolText(String toolText)
Sets the text to be displayed for this control. |
Methods inherited from class javax.faces.component.UISelectOne |
---|
validateValue |
Methods inherited from class javax.faces.component.UIInput |
---|
addValidator, addValueChangeListener, compareValues, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate |
Methods inherited from class javax.faces.component.UIOutput |
---|
getConverter, getLocalValue, getValue, setConverter |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, 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 String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
Constructor Detail |
---|
public SelectOneControl()
Method Detail |
---|
public String getFamily()
getFamily
in class javax.faces.component.UISelectOne
String
- the COMPONENT_FAMILY
protected javax.faces.render.Renderer getRenderer(javax.faces.context.FacesContext context)
getRenderer
in class javax.faces.component.UIComponentBase
context
- the FacesContext
Renderer
- the renderer objectpublic boolean isInit()
public void setInit(boolean init)
init
- if true, initialize the controlpublic String getStyle()
String
- the style attributespublic void setStyle(String style)
style
- the default style for this controlpublic String getStyleClass()
String
- the CSS classpublic void setStyleClass(String styleClass)
styleClass
- the CSS classpublic String getToolText()
String
- the tool textpublic void setToolText(String toolText)
toolText
- the text for this controlpublic boolean isDisabled()
public void setDisabled(boolean disabled)
disabled
- if true, disable the controlpublic boolean isShowLoadingImage()
public void setShowLoadingImage(boolean showLoadingImage)
showLoadingImage
- if true, the loading image is shownpublic boolean isClientPostBack()
public void setClientPostBack(boolean clientPostBack)
clientPostBack
- if true, the client side post back is supportedpublic Object saveState(javax.faces.context.FacesContext facesContext)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIInput
facesContext
- the associated FacesContext
Object
- the object to be savedpublic void restoreState(javax.faces.context.FacesContext facesContext, Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIInput
facesContext
- the associated FacesContext
state
- the object from which to restore the state of the controlpublic Element generateXML()
generateXML
in interface ToolbarItem
Element
- the XML element of the controlpublic void decode(javax.faces.context.FacesContext facesContext)
decode
in class javax.faces.component.UIInput
facesContext
- the FacesContext
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |