|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase javax.faces.component.UIOutput javax.faces.component.UIInput com.sun.rave.web.ui.component.SelectorBase com.sun.rave.web.ui.component.Selector
Field Summary | |
protected com.sun.rave.web.ui.util.ValueTypeEvaluator |
valueTypeEvaluator
|
Fields inherited from class javax.faces.component.UIInput |
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID |
Constructor Summary | |
Selector()
|
Method Summary | |
protected boolean |
compareValues(java.lang.Object previous,
java.lang.Object value)
Return true if the new value is different from the
previous value. |
java.lang.Object |
getConvertedValue(javax.faces.context.FacesContext context,
java.lang.Object submittedValue)
Retrieve the value of this component (the "selected" property) as an object. |
int |
getLabelLevel()
Sets the style level for the generated label, provided the label attribute has been set. |
boolean |
getRendersChildren()
|
protected java.lang.String |
getValueAsReadOnly(javax.faces.context.FacesContext context)
Return a string suitable for displaying the value in read only mode. |
boolean |
isMultiple()
Getter for property multiple. |
void |
setMultiple(boolean multiple)
Setter for property multiple. |
void |
setSelected(java.lang.Object selected)
The object that represents the selections made from the available options. |
java.lang.String |
toString()
Public method toString() |
Methods inherited from class com.sun.rave.web.ui.component.SelectorBase |
getFamily, getItems, getLabel, getOnBlur, getOnChange, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getOnSelect, getSelected, getStyle, getStyleClass, getTabIndex, getToolTip, getValueBinding, isDisabled, isReadOnly, isVisible, restoreState, saveState, setDisabled, setItems, setLabel, setLabelLevel, setOnBlur, setOnChange, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnSelect, setReadOnly, setStyle, setStyleClass, setTabIndex, setToolTip, setValueBinding, setVisible |
Methods inherited from class javax.faces.component.UIInput |
addValidator, addValueChangeListener, broadcast, decode, getSubmittedValue, getValidator, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, updateModel, validate, 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, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.sun.rave.web.ui.component.SelectorManager |
getClientId, getOnChange, getStyle, getStyleClass, getTabIndex, isDisabled, isReadOnly |
Methods inherited from interface javax.faces.component.ValueHolder |
getConverter, getLocalValue, getValue, setConverter |
Field Detail |
protected com.sun.rave.web.ui.util.ValueTypeEvaluator valueTypeEvaluator
Constructor Detail |
public Selector()
Method Detail |
public boolean getRendersChildren()
public java.lang.Object getConvertedValue(javax.faces.context.FacesContext context, java.lang.Object submittedValue) throws javax.faces.convert.ConverterException
context
- The FacesContext of the requestsubmittedValue
- The submitted value of the component
javax.faces.convert.ConverterException
protected java.lang.String getValueAsReadOnly(javax.faces.context.FacesContext context)
context
- The FacesContext
javax.faces.FacesException
- If the list items cannot be processedpublic int getLabelLevel()
SelectorBase
Sets the style level for the generated label, provided the label attribute has been set. Valid values are 1 (largest), 2 and 3 (smallest). The default value is 2.
getLabelLevel
in class SelectorBase
public boolean isMultiple()
isMultiple
in interface SelectorManager
public void setMultiple(boolean multiple)
multiple
- New value of property multiple.public java.lang.String toString()
protected boolean compareValues(java.lang.Object previous, java.lang.Object value)
Return true
if the new value is different from the
previous value.
previous
- old value of this component (if any)value
- new value of this component (if any)public void setSelected(java.lang.Object selected)
SelectorBase
The object that represents the selections made from the available options. If multiple selections are allowed, this must be bound to ArrayList, an Object array, or an array of primitives.
setSelected
in class SelectorBase
SelectorBase.getSelected()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |