|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIData
javax.faces.component.html.HtmlDataTable
org.apache.myfaces.component.html.ext.HtmlDataTableHack
org.apache.myfaces.component.html.ext.AbstractHtmlDataTable
org.apache.myfaces.component.html.ext.HtmlDataTable
public class HtmlDataTable
Field Summary | |
---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
static String |
DEFAULT_RENDERER_TYPE
|
Fields inherited from class org.apache.myfaces.component.html.ext.AbstractHtmlDataTable |
---|
DETAIL_STAMP_FACET_NAME, NEWSPAPER_COLUMNS_PROPERTY, NEWSPAPER_ORIENTATION_PROPERTY, SPACER_FACET_NAME |
Fields inherited from interface org.apache.myfaces.component.UserRoleAware |
---|
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR |
Fields inherited from interface org.apache.myfaces.component.NewspaperTable |
---|
NEWSPAPER_HORIZONTAL_ORIENTATION |
Fields inherited from interface javax.faces.component.NamingContainer |
---|
SEPARATOR_CHAR |
Constructor Summary | |
---|---|
HtmlDataTable()
|
Method Summary | |
---|---|
String |
getAlign()
HTML: Specifies the horizontal alignment of this element. |
String |
getBodyStyle()
Corresponds to the HTML style attribute for the table body tag |
String |
getBodyStyleClass()
Corresponds to the HTML class attribute for the table body tag. |
String |
getDatafld()
Reserved for future use. |
String |
getDataformatas()
Reserved for future use. |
String |
getDatasrc()
Reserved for future use. |
String |
getDetailStampLocation()
before|after - where to render the detailStamp, before the actual row or after it. |
String |
getEnabledOnUserRole()
If user is in given role, this component will be rendered normally. |
String |
getFamily()
|
int |
getNewspaperColumns()
The number of columns to wrap the table over. |
String |
getNewspaperOrientation()
The orientation of the newspaper columns in the newspaper table - "horizontal" or "vertical". |
String |
getPreviousRowDataVar()
A parameter name, under which the previous RowData Object is set in request scope similar to the rowIndexVar and rowCountVar parameters. |
String |
getRowCountVar()
A parameter name, under which the rowCount is set in request scope similar to the var parameter. |
String |
getRowGroupStyle()
Corresponds to the HTML style attribute for grouped rows. |
String |
getRowGroupStyleClass()
StyleClass for grouped rows. |
String |
getRowId()
The id to use for |
String |
getRowIndexVar()
A parameter name, under which the current rowIndex is set in request scope similar to the var parameter. |
String |
getRowOnClick()
Defines a JavaScript onclick event handler for each table row |
String |
getRowOnDblClick()
Defines a JavaScript ondblclick event handler for each table row |
String |
getRowOnKeyDown()
Defines a JavaScript onkeydown event handler for each table row |
String |
getRowOnKeyPress()
Defines a JavaScript onkeypress event handler for each table row |
String |
getRowOnKeyUp()
Defines a JavaScript onkeyup event handler for each table row |
String |
getRowOnMouseDown()
Defines a JavaScript onmpusedown event handler for each table row |
String |
getRowOnMouseMove()
Defines a JavaScript onmousemove event handler for each table row |
String |
getRowOnMouseOut()
Defines a JavaScript onmouseout event handler for each table row |
String |
getRowOnMouseOver()
Defines a JavaScript onmouseover event handler for each table row |
String |
getRowOnMouseUp()
Defines a JavaScript onmouseup event handler for each table row |
String |
getSortedColumnVar()
A parameter name, under which the a boolean is set in request scope similar to the var parameter. |
String |
getValueType()
Indicate the expected type of the EL expression pointed by value property. |
String |
getVisibleOnUserRole()
If user is in given role, this component will be rendered normally. |
boolean |
isDetailStampExpandedDefault()
true|false - true if the detailStamp should be expanded by default. |
boolean |
isEmbedded()
Avoids rendering the html table tags, thus, giving you a table rendering just rows. |
boolean |
isRenderedIfEmpty()
Indicates whether this table should be rendered if the underlying DataModel is empty. |
boolean |
isSortable()
Define if the table is sortable or not |
void |
restoreState(javax.faces.context.FacesContext facesContext,
Object state)
|
Object |
saveState(javax.faces.context.FacesContext facesContext)
|
void |
setAlign(String align)
|
void |
setBodyStyle(String bodyStyle)
|
void |
setBodyStyleClass(String bodyStyleClass)
|
void |
setDatafld(String datafld)
|
void |
setDataformatas(String dataformatas)
|
void |
setDatasrc(String datasrc)
|
void |
setDetailStampExpandedDefault(boolean detailStampExpandedDefault)
|
void |
setDetailStampLocation(String detailStampLocation)
|
void |
setEmbedded(boolean embedded)
|
void |
setEnabledOnUserRole(String enabledOnUserRole)
|
void |
setNewspaperColumns(int newspaperColumns)
|
void |
setNewspaperOrientation(String newspaperOrientation)
|
void |
setPreviousRowDataVar(String previousRowDataVar)
|
void |
setRenderedIfEmpty(boolean renderedIfEmpty)
|
void |
setRowCountVar(String rowCountVar)
|
void |
setRowGroupStyle(String rowGroupStyle)
|
void |
setRowGroupStyleClass(String rowGroupStyleClass)
|
void |
setRowId(String rowId)
|
void |
setRowIndexVar(String rowIndexVar)
|
void |
setRowOnClick(String rowOnClick)
|
void |
setRowOnDblClick(String rowOnDblClick)
|
void |
setRowOnKeyDown(String rowOnKeyDown)
|
void |
setRowOnKeyPress(String rowOnKeyPress)
|
void |
setRowOnKeyUp(String rowOnKeyUp)
|
void |
setRowOnMouseDown(String rowOnMouseDown)
|
void |
setRowOnMouseMove(String rowOnMouseMove)
|
void |
setRowOnMouseOut(String rowOnMouseOut)
|
void |
setRowOnMouseOver(String rowOnMouseOver)
|
void |
setRowOnMouseUp(String rowOnMouseUp)
|
void |
setSortable(boolean sortable)
|
void |
setSortedColumnVar(String sortedColumnVar)
|
void |
setValueType(String valueType)
|
void |
setVisibleOnUserRole(String visibleOnUserRole)
|
Methods inherited from class org.apache.myfaces.component.html.ext.HtmlDataTableHack |
---|
checkUpdateModelError, clearRowStates, deleteRowStateForRow, getDerivedRowKeyPrefix, getDerivedSubClientId, getRowCount, getRowData, getRowIndex, getRowKey, hasErrorMessages, isForceId, isForceIdIndex, isPreserveRowStates, isRowAvailable, restoreDescendantComponentStates, saveDescendantComponentStates, setDataModel, setDerivedRowKeyPrefix, setForceId, setForceIdIndex, setPreserveRowStates, setRowKey, setValue, setValueBinding |
Methods inherited from class javax.faces.component.html.HtmlDataTable |
---|
getBgcolor, getBorder, getCellpadding, getCellspacing, getColumnClasses, getDir, getFooterClass, getFrame, getHeaderClass, getLang, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRowClasses, getRules, getStyle, getStyleClass, getSummary, getTitle, getWidth, setBgcolor, setBorder, setCellpadding, setCellspacing, setColumnClasses, setDir, setFooterClass, setFrame, setHeaderClass, setLang, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRowClasses, setRules, setStyle, setStyleClass, setSummary, setTitle, setWidth |
Methods inherited from class javax.faces.component.UIData |
---|
broadcast, getFooter, getHeader, getValue, getVar, queueEvent, setFooter, setHeader, setVar |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, decode, encodeChildren, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public static final String DEFAULT_RENDERER_TYPE
Constructor Detail |
---|
public HtmlDataTable()
Method Detail |
---|
public String getFamily()
getFamily
in class javax.faces.component.UIData
public boolean isSortable()
AbstractHtmlDataTable
isSortable
in class AbstractHtmlDataTable
public void setSortable(boolean sortable)
public boolean isEmbedded()
AbstractHtmlDataTable
isEmbedded
in class AbstractHtmlDataTable
public void setEmbedded(boolean embedded)
public boolean isDetailStampExpandedDefault()
AbstractHtmlDataTable
isDetailStampExpandedDefault
in class AbstractHtmlDataTable
public void setDetailStampExpandedDefault(boolean detailStampExpandedDefault)
public String getDetailStampLocation()
AbstractHtmlDataTable
getDetailStampLocation
in class AbstractHtmlDataTable
public void setDetailStampLocation(String detailStampLocation)
public String getRowOnMouseOver()
AbstractHtmlDataTable
getRowOnMouseOver
in class AbstractHtmlDataTable
public void setRowOnMouseOver(String rowOnMouseOver)
public String getRowOnMouseOut()
AbstractHtmlDataTable
getRowOnMouseOut
in class AbstractHtmlDataTable
public void setRowOnMouseOut(String rowOnMouseOut)
public String getRowOnClick()
AbstractHtmlDataTable
getRowOnClick
in class AbstractHtmlDataTable
public void setRowOnClick(String rowOnClick)
public String getRowOnDblClick()
AbstractHtmlDataTable
getRowOnDblClick
in class AbstractHtmlDataTable
public void setRowOnDblClick(String rowOnDblClick)
public String getRowOnKeyDown()
AbstractHtmlDataTable
getRowOnKeyDown
in class AbstractHtmlDataTable
public void setRowOnKeyDown(String rowOnKeyDown)
public String getRowOnKeyPress()
AbstractHtmlDataTable
getRowOnKeyPress
in class AbstractHtmlDataTable
public void setRowOnKeyPress(String rowOnKeyPress)
public String getRowOnKeyUp()
AbstractHtmlDataTable
getRowOnKeyUp
in class AbstractHtmlDataTable
public void setRowOnKeyUp(String rowOnKeyUp)
public String getRowOnMouseDown()
AbstractHtmlDataTable
getRowOnMouseDown
in class AbstractHtmlDataTable
public void setRowOnMouseDown(String rowOnMouseDown)
public String getRowOnMouseMove()
AbstractHtmlDataTable
getRowOnMouseMove
in class AbstractHtmlDataTable
public void setRowOnMouseMove(String rowOnMouseMove)
public String getRowOnMouseUp()
AbstractHtmlDataTable
getRowOnMouseUp
in class AbstractHtmlDataTable
public void setRowOnMouseUp(String rowOnMouseUp)
public String getRowGroupStyle()
AbstractHtmlDataTable
getRowGroupStyle
in class AbstractHtmlDataTable
public void setRowGroupStyle(String rowGroupStyle)
public String getRowGroupStyleClass()
AbstractHtmlDataTable
getRowGroupStyleClass
in class AbstractHtmlDataTable
public void setRowGroupStyleClass(String rowGroupStyleClass)
public String getBodyStyle()
AbstractHtmlDataTable
getBodyStyle
in class AbstractHtmlDataTable
public void setBodyStyle(String bodyStyle)
public String getBodyStyleClass()
AbstractHtmlDataTable
getBodyStyleClass
in class AbstractHtmlDataTable
public void setBodyStyleClass(String bodyStyleClass)
public int getNewspaperColumns()
AbstractHtmlDataTable
getNewspaperColumns
in interface NewspaperTable
getNewspaperColumns
in class AbstractHtmlDataTable
public void setNewspaperColumns(int newspaperColumns)
public String getNewspaperOrientation()
AbstractHtmlDataTable
getNewspaperOrientation
in interface NewspaperTable
getNewspaperOrientation
in class AbstractHtmlDataTable
public void setNewspaperOrientation(String newspaperOrientation)
public boolean isRenderedIfEmpty()
AbstractHtmlDataTable
isRenderedIfEmpty
in class AbstractHtmlDataTable
public void setRenderedIfEmpty(boolean renderedIfEmpty)
public String getRowIndexVar()
AbstractHtmlDataTable
getRowIndexVar
in class AbstractHtmlDataTable
public void setRowIndexVar(String rowIndexVar)
public String getRowCountVar()
AbstractHtmlDataTable
getRowCountVar
in class AbstractHtmlDataTable
public void setRowCountVar(String rowCountVar)
public String getPreviousRowDataVar()
AbstractHtmlDataTable
getPreviousRowDataVar
in class AbstractHtmlDataTable
public void setPreviousRowDataVar(String previousRowDataVar)
public String getSortedColumnVar()
AbstractHtmlDataTable
getSortedColumnVar
in class AbstractHtmlDataTable
public void setSortedColumnVar(String sortedColumnVar)
public String getAlign()
AbstractHtmlDataTable
getAlign
in class AbstractHtmlDataTable
public void setAlign(String align)
public String getRowId()
AbstractHtmlDataTable
getRowId
in class AbstractHtmlDataTable
public void setRowId(String rowId)
public String getDatafld()
AbstractHtmlDataTable
getDatafld
in class AbstractHtmlDataTable
public void setDatafld(String datafld)
public String getDatasrc()
AbstractHtmlDataTable
getDatasrc
in class AbstractHtmlDataTable
public void setDatasrc(String datasrc)
public String getDataformatas()
AbstractHtmlDataTable
getDataformatas
in class AbstractHtmlDataTable
public void setDataformatas(String dataformatas)
public String getValueType()
AbstractHtmlDataTable
getValueType
in class AbstractHtmlDataTable
public void setValueType(String valueType)
public String getEnabledOnUserRole()
UserRoleAware
public void setEnabledOnUserRole(String enabledOnUserRole)
public String getVisibleOnUserRole()
UserRoleAware
public void setVisibleOnUserRole(String visibleOnUserRole)
public Object saveState(javax.faces.context.FacesContext facesContext)
saveState
in interface javax.faces.component.StateHolder
saveState
in class AbstractHtmlDataTable
public void restoreState(javax.faces.context.FacesContext facesContext, Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class AbstractHtmlDataTable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |