com.sun.rave.web.ui.component
Class RbCbSelectorBase

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byjavax.faces.component.UIComponentBase
          extended byjavax.faces.component.UIOutput
              extended byjavax.faces.component.UIInput
                  extended bycom.sun.rave.web.ui.component.SelectorBase
                      extended bycom.sun.rave.web.ui.component.Selector
                          extended bycom.sun.rave.web.ui.component.RbCbSelectorBase
All Implemented Interfaces:
javax.faces.component.EditableValueHolder, SelectorManager, javax.faces.component.StateHolder, javax.faces.component.ValueHolder
Direct Known Subclasses:
RbCbSelector

public abstract class RbCbSelectorBase
extends Selector

This renderer meta-data is not mapped one to one with a component. A renderer of this name does exist as the super class of the RadioButton and Checkbox renderers.

Auto-generated component class. Do NOT modify; all changes will be lost!


Field Summary
 
Fields inherited from class com.sun.rave.web.ui.component.Selector
valueTypeEvaluator
 
Fields inherited from class javax.faces.component.UIInput
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID
 
Constructor Summary
RbCbSelectorBase()
          Construct a new RbCbSelectorBase.
 
Method Summary
 java.lang.String getFamily()
          Return the family for this component.
 java.lang.String getImageURL()
           A context relative path of an image to be displayed with the control.
 java.lang.String getName()
           Identifies the control as participating as part of a group.
 java.lang.Object getSelected()
          The object that represents the selections made from the available options.
 java.lang.Object getSelectedValue()
           The value of the component when it is selected.
 javax.faces.el.ValueBinding getValueBinding(java.lang.String name)
          Return the ValueBinding stored for the specified name (if any), respecting any property aliases.
 void restoreState(javax.faces.context.FacesContext _context, java.lang.Object _state)
          Restore the state of this component.
 java.lang.Object saveState(javax.faces.context.FacesContext _context)
          Save the state of this component.
 void setImageURL(java.lang.String imageURL)
           A context relative path of an image to be displayed with the control.
 void setName(java.lang.String name)
           Identifies the control as participating as part of a group.
 void setSelected(java.lang.Object selected)
          The object that represents the selections made from the available options.
 void setSelectedValue(java.lang.Object selectedValue)
           The value of the component when it is selected.
 void setValueBinding(java.lang.String name, javax.faces.el.ValueBinding binding)
          Set the ValueBinding stored for the specified name (if any), respecting any property aliases.
 
Methods inherited from class com.sun.rave.web.ui.component.Selector
compareValues, getConvertedValue, getLabelLevel, getRendersChildren, getValueAsReadOnly, isMultiple, setMultiple, toString
 
Methods inherited from class com.sun.rave.web.ui.component.SelectorBase
getItems, getLabel, getOnBlur, getOnChange, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getOnSelect, getStyle, getStyleClass, getTabIndex, getToolTip, isDisabled, isReadOnly, isVisible, setDisabled, setItems, setLabel, setLabelLevel, setOnBlur, setOnChange, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnSelect, setReadOnly, setStyle, setStyleClass, setTabIndex, setToolTip, 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
 

Constructor Detail

RbCbSelectorBase

public RbCbSelectorBase()

Construct a new RbCbSelectorBase.

Method Detail

getFamily

public java.lang.String getFamily()

Return the family for this component.

Overrides:
getFamily in class SelectorBase

getValueBinding

public javax.faces.el.ValueBinding getValueBinding(java.lang.String name)

Return the ValueBinding stored for the specified name (if any), respecting any property aliases.

Overrides:
getValueBinding in class SelectorBase
Parameters:
name - Name of value binding to retrieve

setValueBinding

public void setValueBinding(java.lang.String name,
                            javax.faces.el.ValueBinding binding)

Set the ValueBinding stored for the specified name (if any), respecting any property aliases.

Overrides:
setValueBinding in class SelectorBase
Parameters:
name - Name of value binding to set
binding - ValueBinding to set, or null to remove

getImageURL

public java.lang.String getImageURL()

A context relative path of an image to be displayed with the control. If you want to be able to specify attributes for the image, specify an image facet instead of the imageURL attribute.


setImageURL

public void setImageURL(java.lang.String imageURL)

A context relative path of an image to be displayed with the control. If you want to be able to specify attributes for the image, specify an image facet instead of the imageURL attribute.

See Also:
getImageURL()

getName

public java.lang.String getName()

Identifies the control as participating as part of a group. The RadioButton and Checkbox classes determine the behavior of the group, that are assigned the same value to the name property. The value of this property must be unique for components in the group, within the scope of the Form parent component containing the grouped components.


setName

public void setName(java.lang.String name)

Identifies the control as participating as part of a group. The RadioButton and Checkbox classes determine the behavior of the group, that are assigned the same value to the name property. The value of this property must be unique for components in the group, within the scope of the Form parent component containing the grouped components.

See Also:
getName()

getSelected

public java.lang.Object getSelected()

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.

Overrides:
getSelected in class SelectorBase

setSelected

public void setSelected(java.lang.Object selected)

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.

Overrides:
setSelected in class Selector
See Also:
getSelected()

getSelectedValue

public java.lang.Object getSelectedValue()

The value of the component when it is selected. The value of this property is assigned to the selected property when the component is selected. The component is selected when the selected property is equal to this value.
This attribute can be bound to a String, or Object value.
If this property is not assigned a value, the component behaves as a boolean component. A boolean component is selected when the selected property is equal to a true Boolean instance.
If a boolean component is not selected, the selected property value is a false Boolean instance.


setSelectedValue

public void setSelectedValue(java.lang.Object selectedValue)

The value of the component when it is selected. The value of this property is assigned to the selected property when the component is selected. The component is selected when the selected property is equal to this value.
This attribute can be bound to a String, or Object value.
If this property is not assigned a value, the component behaves as a boolean component. A boolean component is selected when the selected property is equal to a true Boolean instance.
If a boolean component is not selected, the selected property value is a false Boolean instance.

See Also:
getSelectedValue()

restoreState

public void restoreState(javax.faces.context.FacesContext _context,
                         java.lang.Object _state)

Restore the state of this component.

Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class SelectorBase

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext _context)

Save the state of this component.

Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class SelectorBase