org.apache.myfaces.custom.selectOneRow
Class AbstractSelectOneRow

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by javax.faces.component.UIInput
                  extended by org.apache.myfaces.custom.selectOneRow.AbstractSelectOneRow
All Implemented Interfaces:
javax.faces.component.EditableValueHolder, javax.faces.component.StateHolder, javax.faces.component.ValueHolder, AlignProperty, ChangeSelectProperties, EventAware, FocusBlurProperties
Direct Known Subclasses:
SelectOneRow

public abstract class AbstractSelectOneRow
extends javax.faces.component.UIInput
implements AlignProperty, EventAware, FocusBlurProperties, ChangeSelectProperties

Enhancement for a data-table to select one Row with a radio button. The row-index is stored in the vealu-binding

Since:
1.1.7

Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static java.lang.String DEFAULT_RENDERER_TYPE
           
 
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
AbstractSelectOneRow()
           
 
Method Summary
abstract  java.lang.String getGroupName()
          The Name of the radio-button-group to use.
abstract  boolean isDisabled()
          HTML: When true, this element cannot receive focus.
abstract  boolean isReadonly()
          HTML: When true, indicates that this component cannot be modified by the user.
 
Methods inherited from class javax.faces.component.UIInput
addValidator, addValueChangeListener, broadcast, compareValues, decode, getConvertedValue, getConverterMessage, getFamily, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValue
 
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, 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 org.apache.myfaces.component.AlignProperty
getAlign
 
Methods inherited from interface org.apache.myfaces.component.EventAware
getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup
 
Methods inherited from interface org.apache.myfaces.component.FocusBlurProperties
getOnblur, getOnfocus
 
Methods inherited from interface org.apache.myfaces.component.ChangeSelectProperties
getOnchange, getOnselect
 
Methods inherited from interface javax.faces.component.ValueHolder
getConverter, getLocalValue, setConverter
 

Field Detail

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values

DEFAULT_RENDERER_TYPE

public static final java.lang.String DEFAULT_RENDERER_TYPE
See Also:
Constant Field Values
Constructor Detail

AbstractSelectOneRow

public AbstractSelectOneRow()
Method Detail

getGroupName

public abstract java.lang.String getGroupName()
The Name of the radio-button-group to use. If EL expressions are used, note that every time this is evaluated should lead to the same value in the scope used, that means the UIData instance used, otherwise it could lead to unwanted side effects.


isDisabled

public abstract boolean isDisabled()
HTML: When true, this element cannot receive focus.


isReadonly

public abstract boolean isReadonly()
HTML: When true, indicates that this component cannot be modified by the user. The element may receive focus unless it has also been disabled.



Copyright © 2011 The Apache Software Foundation. All Rights Reserved.