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

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 String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
static String DEFAULT_RENDERER_TYPE
           
 
Fields inherited from class javax.faces.component.UIInput
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID
 
Constructor Summary
AbstractSelectOneRow()
           
 
Method Summary
abstract  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, getFamily, getSubmittedValue, getValidator, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, restoreState, saveState, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, 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, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
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 String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values

DEFAULT_RENDERER_TYPE

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

AbstractSelectOneRow

public AbstractSelectOneRow()
Method Detail

getGroupName

public abstract 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 © 2012 The Apache Software Foundation. All Rights Reserved.