com.infragistics.faces.grid.component
Class ColumnSelectRow

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byjavax.faces.component.UIComponentBase
          extended byjavax.faces.component.UIColumn
              extended bycom.infragistics.faces.grid.component.ColumnSelectRow
All Implemented Interfaces:
javax.faces.component.StateHolder
Direct Known Subclasses:
HtmlColumnSelectRow

public class ColumnSelectRow
extends javax.faces.component.UIColumn

The ColumnSelectRow component displays a column that allow to select individual rows. A 'select all' checkbox can be displayed based upon the showSelectAll property.

Facets

None

Tag

1) Declare the taglib in the JSP page:
<%@ taglib prefix="ig" uri="http://www.infragistics.com/faces/netadvantage" %>

2) Use the tag as follow:
 <infragistics:columnSelectRow
	binding = EL expression
	id = String
  showSelectAll = [true || false]
 />
 


Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static java.lang.String RENDERER_TYPE
           
 
Constructor Summary
ColumnSelectRow()
           
 
Method Summary
 javax.faces.component.UIComponent getFacet(java.lang.String name)
           
 java.lang.String getFamily()
           
 boolean getShowSelectAll()
          Returns a flag indicating whether the 'Select All' checkbox is displayed or not
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setShowSelectAll(boolean showSelectAll)
          Sets a flag indicating whether the 'Select All' checkbox is displayed or not
 
Methods inherited from class javax.faces.component.UIColumn
getFooter, getHeader, setFooter, setHeader
 
Methods inherited from class javax.faces.component.UIComponentBase
broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_FAMILY

public static java.lang.String COMPONENT_FAMILY

COMPONENT_TYPE

public static java.lang.String COMPONENT_TYPE

RENDERER_TYPE

public static java.lang.String RENDERER_TYPE
Constructor Detail

ColumnSelectRow

public ColumnSelectRow()
Method Detail

getFacet

public javax.faces.component.UIComponent getFacet(java.lang.String name)

getFamily

public java.lang.String getFamily()

getShowSelectAll

public boolean getShowSelectAll()
Returns a flag indicating whether the 'Select All' checkbox is displayed or not

Returns:
boolean value

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)
See Also:
StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
See Also:
StateHolder.saveState(javax.faces.context.FacesContext)

setShowSelectAll

public void setShowSelectAll(boolean showSelectAll)
Sets a flag indicating whether the 'Select All' checkbox is displayed or not

Returns:
boolean value