org.richfaces.component.html
Class HtmlSubTable

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIData
              extended by org.ajax4jsf.ajax.repeat.UIDataAdaptor
                  extended by org.ajax4jsf.ajax.repeat.UIRepeat
                      extended by org.richfaces.component.UIDataTable
                          extended by org.richfaces.component.UISubTable
                              extended by org.richfaces.component.html.HtmlSubTable
All Implemented Interfaces:
javax.faces.component.NamingContainer, javax.faces.component.StateHolder, org.ajax4jsf.ajax.repeat.AjaxDataEncoder, org.ajax4jsf.framework.ajax.AjaxChildrenEncoder, Column, Row

public class HtmlSubTable
extends UISubTable

Component-Type org.richfaces.SubTable Component-Family org.richfaces.SubTable Renderer-Type org.richfaces.SubTableRenderer


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ajax4jsf.ajax.repeat.UIDataAdaptor
org.ajax4jsf.ajax.repeat.UIDataAdaptor.ComponentVisitor, org.ajax4jsf.ajax.repeat.UIDataAdaptor.IndexedEvent
 
Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
 
Fields inherited from class org.richfaces.component.UIDataTable
isAjaxSupport, isColumn, isNotColumn
 
Fields inherited from class org.ajax4jsf.ajax.repeat.UIDataAdaptor
COMPONENT_STATE_ATTRIBUTE, decodeVisitor, EMPTY_MODEL, updateVisitor, validateVisitor
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
HtmlSubTable()
          Constructor to init default renderers
 
Method Summary
 java.lang.String getColumnClasses()
          Comma-delimited list of CSS style classes that are be applied to the columns of this table.
 java.lang.String getFamily()
           
 java.lang.String getFooterClass()
          Space-separated list of CSS style class(es) that are be applied to any footer generated for this table.
 java.lang.String getHeaderClass()
          Space-separated list of CSS style class(es) that are be applied to any header generated for this table.
 java.lang.String getOnRowClick()
          HTML: a script expression; a pointer button is clicked on row.
 java.lang.String getOnRowDblClick()
          HTML: a script expression; a pointer button is double-clicked on row.
 java.lang.String getOnRowMouseDown()
          HTML: script expression; a pointer button is pressed down on row.
 java.lang.String getOnRowMouseMove()
          HTML: a script expression; a pointer is moved within of row.
 java.lang.String getOnRowMouseOut()
          HTML: a script expression; a pointer is moved away of row.
 java.lang.String getOnRowMouseOver()
          HTML: a script expression; a pointer is moved onto of row.
 java.lang.String getOnRowMouseUp()
          HTML: script expression; a pointer button is released on row.
 java.lang.String getRowClasses()
          A comma-delimited list of CSS style classes that is applied to popup table rows.
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setColumnClasses(java.lang.String __columnClasses)
          Comma-delimited list of CSS style classes that are be applied to the columns of this table.
 void setFooterClass(java.lang.String __footerClass)
          Space-separated list of CSS style class(es) that are be applied to any footer generated for this table.
 void setHeaderClass(java.lang.String __headerClass)
          Space-separated list of CSS style class(es) that are be applied to any header generated for this table.
 void setOnRowClick(java.lang.String __onRowClick)
          HTML: a script expression; a pointer button is clicked on row.
 void setOnRowDblClick(java.lang.String __onRowDblClick)
          HTML: a script expression; a pointer button is double-clicked on row.
 void setOnRowMouseDown(java.lang.String __onRowMouseDown)
          HTML: script expression; a pointer button is pressed down on row.
 void setOnRowMouseMove(java.lang.String __onRowMouseMove)
          HTML: a script expression; a pointer is moved within of row.
 void setOnRowMouseOut(java.lang.String __onRowMouseOut)
          HTML: a script expression; a pointer is moved away of row.
 void setOnRowMouseOver(java.lang.String __onRowMouseOver)
          HTML: a script expression; a pointer is moved onto of row.
 void setOnRowMouseUp(java.lang.String __onRowMouseUp)
          HTML: script expression; a pointer button is released on row.
 void setRowClasses(java.lang.String __rowClasses)
          A comma-delimited list of CSS style classes that is applied to popup table rows.
 
Methods inherited from class org.richfaces.component.UISubTable
isBreakBefore, setBreakBefore
 
Methods inherited from class org.richfaces.component.UIDataTable
columns, dataChildren, fixedChildren
 
Methods inherited from class org.ajax4jsf.ajax.repeat.UIRepeat
createComponentState, createDataModel, getDataModel, setDataModel
 
Methods inherited from class org.ajax4jsf.ajax.repeat.UIDataAdaptor
broadcast, broadcastLocal, captureOrigValue, captureOrigValue, encodeAjaxChild, encodeBegin, getAjaxKeys, getBaseClientId, getChildrenRenderer, getChildState, getClientId, getComponentState, getEncodedIds, getExtendedDataModel, getRowCount, getRowData, getRowIndex, getRowKey, getRowKeyVar, getStateVar, isRowAvailable, iterate, processDecodes, processDecodes, processUpdates, processUpdates, processValidators, processValidators, queueEvent, resetComponent, resetDataModel, restoreChildState, restoreOrigValue, restoreOrigValue, saveChildState, setAjaxKeys, setComponentState, setExtendedDataModel, setId, setRowIndex, setRowKey, setRowKey, setRowKeyVar, setStateVar, setupVariable, walk
 
Methods inherited from class javax.faces.component.UIData
getFirst, getFooter, getHeader, getRows, getValue, getVar, setFirst, setFooter, setHeader, setRows, setValue, setValueBinding, setVar
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.richfaces.component.Row
columns
 

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
Constructor Detail

HtmlSubTable

public HtmlSubTable()
Constructor to init default renderers

Method Detail

setOnRowMouseDown

public void setOnRowMouseDown(java.lang.String __onRowMouseDown)
HTML: script expression; a pointer button is pressed down on row. Setter for onRowMouseDown

Parameters:
onRowMouseDown - - new value

getOnRowMouseDown

public java.lang.String getOnRowMouseDown()
HTML: script expression; a pointer button is pressed down on row. Getter for onRowMouseDown

Returns:
onRowMouseDown value from local variable or value bindings

setOnRowClick

public void setOnRowClick(java.lang.String __onRowClick)
HTML: a script expression; a pointer button is clicked on row. Setter for onRowClick

Parameters:
onRowClick - - new value

getOnRowClick

public java.lang.String getOnRowClick()
HTML: a script expression; a pointer button is clicked on row. Getter for onRowClick

Returns:
onRowClick value from local variable or value bindings

setOnRowMouseUp

public void setOnRowMouseUp(java.lang.String __onRowMouseUp)
HTML: script expression; a pointer button is released on row. Setter for onRowMouseUp

Parameters:
onRowMouseUp - - new value

getOnRowMouseUp

public java.lang.String getOnRowMouseUp()
HTML: script expression; a pointer button is released on row. Getter for onRowMouseUp

Returns:
onRowMouseUp value from local variable or value bindings

setOnRowMouseMove

public void setOnRowMouseMove(java.lang.String __onRowMouseMove)
HTML: a script expression; a pointer is moved within of row. Setter for onRowMouseMove

Parameters:
onRowMouseMove - - new value

getOnRowMouseMove

public java.lang.String getOnRowMouseMove()
HTML: a script expression; a pointer is moved within of row. Getter for onRowMouseMove

Returns:
onRowMouseMove value from local variable or value bindings

setHeaderClass

public void setHeaderClass(java.lang.String __headerClass)
Space-separated list of CSS style class(es) that are be applied to any header generated for this table. Setter for headerClass

Parameters:
headerClass - - new value

getHeaderClass

public java.lang.String getHeaderClass()
Space-separated list of CSS style class(es) that are be applied to any header generated for this table. Getter for headerClass

Returns:
headerClass value from local variable or value bindings

setFooterClass

public void setFooterClass(java.lang.String __footerClass)
Space-separated list of CSS style class(es) that are be applied to any footer generated for this table. Setter for footerClass

Parameters:
footerClass - - new value

getFooterClass

public java.lang.String getFooterClass()
Space-separated list of CSS style class(es) that are be applied to any footer generated for this table. Getter for footerClass

Returns:
footerClass value from local variable or value bindings

setOnRowMouseOut

public void setOnRowMouseOut(java.lang.String __onRowMouseOut)
HTML: a script expression; a pointer is moved away of row. Setter for onRowMouseOut

Parameters:
onRowMouseOut - - new value

getOnRowMouseOut

public java.lang.String getOnRowMouseOut()
HTML: a script expression; a pointer is moved away of row. Getter for onRowMouseOut

Returns:
onRowMouseOut value from local variable or value bindings

setOnRowMouseOver

public void setOnRowMouseOver(java.lang.String __onRowMouseOver)
HTML: a script expression; a pointer is moved onto of row. Setter for onRowMouseOver

Parameters:
onRowMouseOver - - new value

getOnRowMouseOver

public java.lang.String getOnRowMouseOver()
HTML: a script expression; a pointer is moved onto of row. Getter for onRowMouseOver

Returns:
onRowMouseOver value from local variable or value bindings

setColumnClasses

public void setColumnClasses(java.lang.String __columnClasses)
Comma-delimited list of CSS style classes that are be applied to the columns of this table. A space separated list of classes may also be specified for any individual column. If the number of elements in this list is less than the number of columns specified in the "columns" attribute, no "class" attribute is output for each column greater than the number of elements in the list. If the number of elements in the list is greater than the number of columns specified in the "columns" attribute, the elements at the posisiton in the list after the value of the "columns" attribute are ignored. Setter for columnClasses

Parameters:
columnClasses - - new value

getColumnClasses

public java.lang.String getColumnClasses()
Comma-delimited list of CSS style classes that are be applied to the columns of this table. A space separated list of classes may also be specified for any individual column. If the number of elements in this list is less than the number of columns specified in the "columns" attribute, no "class" attribute is output for each column greater than the number of elements in the list. If the number of elements in the list is greater than the number of columns specified in the "columns" attribute, the elements at the posisiton in the list after the value of the "columns" attribute are ignored. Getter for columnClasses

Returns:
columnClasses value from local variable or value bindings

setRowClasses

public void setRowClasses(java.lang.String __rowClasses)
A comma-delimited list of CSS style classes that is applied to popup table rows. A space separated list of classes may also be specified for any individual row. Thes styles are applied, in turn, to each row in the table. For example, if the list has two elements, the first style class in the list is applied to the first row, the second to the second row, the first to the third row, the second to the fourth row, etc. In other words, we keep iterating through the list until we reach the end, and then we start at the beginning again. Setter for rowClasses

Parameters:
rowClasses - - new value

getRowClasses

public java.lang.String getRowClasses()
A comma-delimited list of CSS style classes that is applied to popup table rows. A space separated list of classes may also be specified for any individual row. Thes styles are applied, in turn, to each row in the table. For example, if the list has two elements, the first style class in the list is applied to the first row, the second to the second row, the first to the third row, the second to the fourth row, etc. In other words, we keep iterating through the list until we reach the end, and then we start at the beginning again. Getter for rowClasses

Returns:
rowClasses value from local variable or value bindings

setOnRowDblClick

public void setOnRowDblClick(java.lang.String __onRowDblClick)
HTML: a script expression; a pointer button is double-clicked on row. Setter for onRowDblClick

Parameters:
onRowDblClick - - new value

getOnRowDblClick

public java.lang.String getOnRowDblClick()
HTML: a script expression; a pointer button is double-clicked on row. Getter for onRowDblClick

Returns:
onRowDblClick value from local variable or value bindings

getFamily

public java.lang.String getFamily()
Overrides:
getFamily in class javax.faces.component.UIData

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class org.ajax4jsf.ajax.repeat.UIDataAdaptor

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class org.ajax4jsf.ajax.repeat.UIDataAdaptor


Copyright © 2007. All Rights Reserved.