|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.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
Nested Class Summary | |
---|---|
protected static class |
HtmlDataTable.PropertyKeys
|
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 org.apache.myfaces.component.html.ext.AbstractHtmlDataTable |
---|
DETAIL_STAMP_FACET_NAME, DETAIL_STAMP_ROW_FACET_NAME, NEWSPAPER_COLUMNS_PROPERTY, NEWSPAPER_ORIENTATION_PROPERTY, SPACER_FACET_NAME, TABLE_ROW_FACET_NAME |
Fields inherited from class javax.faces.component.UIComponent |
---|
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY |
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 | |
---|---|
java.lang.String |
getAlign()
HTML: Specifies the horizontal alignment of this element. |
java.lang.String |
getBodyStyle()
Corresponds to the HTML style attribute for the table body tag |
java.lang.String |
getBodyStyleClass()
Corresponds to the HTML class attribute for the table body tag. |
java.lang.String |
getDatafld()
Reserved for future use. |
java.lang.String |
getDataformatas()
Reserved for future use. |
java.lang.String |
getDatasrc()
Reserved for future use. |
java.lang.String |
getDetailStampLocation()
before|after - where to render the detailStamp, before the actual row or after it. |
java.lang.String |
getEnabledOnUserRole()
If user is in given role, this component will be rendered normally. |
java.util.Collection<java.lang.String> |
getEventNames()
|
java.lang.String |
getFamily()
|
int |
getNewspaperColumns()
The number of columns to wrap the table over. |
java.lang.String |
getNewspaperOrientation()
The orientation of the newspaper columns in the newspaper table - "horizontal" or "vertical". |
java.lang.String |
getPreviousRowDataVar()
A parameter name, under which the previous RowData Object is set in request scope similar to the rowIndexVar and rowCountVar parameters. |
java.lang.String |
getRowCountVar()
A parameter name, under which the rowCount is set in request scope similar to the var parameter. |
java.lang.String |
getRowGroupStyle()
Corresponds to the HTML style attribute for grouped rows. |
java.lang.String |
getRowGroupStyleClass()
StyleClass for grouped rows. |
java.lang.String |
getRowId()
The id to use for |
java.lang.String |
getRowIndexVar()
A parameter name, under which the current rowIndex is set in request scope similar to the var parameter. |
java.lang.String |
getRowOnClick()
Defines a JavaScript onclick event handler for each table row |
java.lang.String |
getRowOnDblClick()
Defines a JavaScript ondblclick event handler for each table row |
java.lang.String |
getRowOnKeyDown()
Defines a JavaScript onkeydown event handler for each table row |
java.lang.String |
getRowOnKeyPress()
Defines a JavaScript onkeypress event handler for each table row |
java.lang.String |
getRowOnKeyUp()
Defines a JavaScript onkeyup event handler for each table row |
java.lang.String |
getRowOnMouseDown()
Defines a JavaScript onmpusedown event handler for each table row |
java.lang.String |
getRowOnMouseMove()
Defines a JavaScript onmousemove event handler for each table row |
java.lang.String |
getRowOnMouseOut()
Defines a JavaScript onmouseout event handler for each table row |
java.lang.String |
getRowOnMouseOver()
Defines a JavaScript onmouseover event handler for each table row |
java.lang.String |
getRowOnMouseUp()
Defines a JavaScript onmouseup event handler for each table row |
java.lang.String |
getRowStyle()
Corresponds to the HTML style attribute for the row tr tag. |
java.lang.String |
getRowStyleClass()
Corresponds to the HTML class attribute for the row tr tag. |
java.lang.String |
getSortedColumnVar()
A parameter name, under which the a boolean is set in request scope similar to the var parameter. |
java.lang.String |
getSortProperty()
The name of a javabean property on which the table is sorted. |
java.lang.String |
getValueType()
Indicate the expected type of the EL expression pointed by value property. |
java.lang.String |
getVisibleOnUserRole()
If user is in given role, this component will be rendered normally. |
boolean |
isAjaxRowRender()
Indicate if "row" can be a target for an ajax render operation. |
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 |
isPreserveDataModel()
Indicates whether the state of the whole DataModel should be saved and restored. |
boolean |
isPreserveSort()
Indicates whether the state of the sortColumn and sortAscending attribute should be saved and restored and written back to the model during the update model phase. |
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 |
setAjaxRowRender(boolean ajaxRowRender)
|
void |
setAlign(java.lang.String align)
|
void |
setBodyStyle(java.lang.String bodyStyle)
|
void |
setBodyStyleClass(java.lang.String bodyStyleClass)
|
void |
setDatafld(java.lang.String datafld)
|
void |
setDataformatas(java.lang.String dataformatas)
|
void |
setDatasrc(java.lang.String datasrc)
|
void |
setDetailStampExpandedDefault(boolean detailStampExpandedDefault)
|
void |
setDetailStampLocation(java.lang.String detailStampLocation)
|
void |
setEmbedded(boolean embedded)
|
void |
setEnabledOnUserRole(java.lang.String enabledOnUserRole)
|
void |
setNewspaperColumns(int newspaperColumns)
|
void |
setNewspaperOrientation(java.lang.String newspaperOrientation)
|
void |
setPreserveDataModel(boolean preserveDataModel)
|
void |
setPreserveSort(boolean preserveSort)
|
void |
setPreviousRowDataVar(java.lang.String previousRowDataVar)
|
void |
setRenderedIfEmpty(boolean renderedIfEmpty)
|
void |
setRowCountVar(java.lang.String rowCountVar)
|
void |
setRowGroupStyle(java.lang.String rowGroupStyle)
|
void |
setRowGroupStyleClass(java.lang.String rowGroupStyleClass)
|
void |
setRowId(java.lang.String rowId)
|
void |
setRowIndexVar(java.lang.String rowIndexVar)
|
void |
setRowOnClick(java.lang.String rowOnClick)
|
void |
setRowOnDblClick(java.lang.String rowOnDblClick)
|
void |
setRowOnKeyDown(java.lang.String rowOnKeyDown)
|
void |
setRowOnKeyPress(java.lang.String rowOnKeyPress)
|
void |
setRowOnKeyUp(java.lang.String rowOnKeyUp)
|
void |
setRowOnMouseDown(java.lang.String rowOnMouseDown)
|
void |
setRowOnMouseMove(java.lang.String rowOnMouseMove)
|
void |
setRowOnMouseOut(java.lang.String rowOnMouseOut)
|
void |
setRowOnMouseOver(java.lang.String rowOnMouseOver)
|
void |
setRowOnMouseUp(java.lang.String rowOnMouseUp)
|
void |
setRowStyle(java.lang.String rowStyle)
|
void |
setRowStyleClass(java.lang.String rowStyleClass)
|
void |
setSortable(boolean sortable)
|
void |
setSortedColumnVar(java.lang.String sortedColumnVar)
|
void |
setSortProperty(java.lang.String sortProperty)
|
void |
setValueType(java.lang.String valueType)
|
void |
setVisibleOnUserRole(java.lang.String visibleOnUserRole)
|
Methods inherited from class javax.faces.component.html.HtmlDataTable |
---|
getBgcolor, getBodyrows, getBorder, getCaptionClass, getCaptionStyle, 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, setBodyrows, setBorder, setCaptionClass, setCaptionStyle, 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, createUniqueId, getFooter, getHeader, getValue, getVar, queueEvent, setFooter, setHeader, setVar |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addClientBehavior, addFacesListener, clearInitialState, decode, encodeChildren, getAttributes, getChildCount, getChildren, getClientBehaviors, getDefaultEventName, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEvent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder |
---|
addClientBehavior, getClientBehaviors, getDefaultEventName |
Field Detail |
---|
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String DEFAULT_RENDERER_TYPE
Constructor Detail |
---|
public HtmlDataTable()
Method Detail |
---|
public java.lang.String getFamily()
getFamily
in class javax.faces.component.html.HtmlDataTable
public java.util.Collection<java.lang.String> getEventNames()
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
getEventNames
in class javax.faces.component.html.HtmlDataTable
public java.lang.String getSortProperty()
AbstractHtmlDataTable
The datamodel should contain objects that have this property; reflection will be used to sort the datamodel on that property using the default comparator for that type.
This value is part of the component state. However it is not directly settable by users; instead it is set by other components such as a CommandSortHeader.
getSortProperty
in class AbstractHtmlDataTable
public void setSortProperty(java.lang.String sortProperty)
setSortProperty
in class AbstractHtmlDataTable
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 java.lang.String getDetailStampLocation()
AbstractHtmlDataTable
getDetailStampLocation
in class AbstractHtmlDataTable
public void setDetailStampLocation(java.lang.String detailStampLocation)
public java.lang.String getRowOnMouseOver()
AbstractHtmlDataTable
getRowOnMouseOver
in class AbstractHtmlDataTable
public void setRowOnMouseOver(java.lang.String rowOnMouseOver)
public java.lang.String getRowOnMouseOut()
AbstractHtmlDataTable
getRowOnMouseOut
in class AbstractHtmlDataTable
public void setRowOnMouseOut(java.lang.String rowOnMouseOut)
public java.lang.String getRowOnClick()
AbstractHtmlDataTable
getRowOnClick
in class AbstractHtmlDataTable
public void setRowOnClick(java.lang.String rowOnClick)
public java.lang.String getRowOnDblClick()
AbstractHtmlDataTable
getRowOnDblClick
in class AbstractHtmlDataTable
public void setRowOnDblClick(java.lang.String rowOnDblClick)
public java.lang.String getRowOnKeyDown()
AbstractHtmlDataTable
getRowOnKeyDown
in class AbstractHtmlDataTable
public void setRowOnKeyDown(java.lang.String rowOnKeyDown)
public java.lang.String getRowOnKeyPress()
AbstractHtmlDataTable
getRowOnKeyPress
in class AbstractHtmlDataTable
public void setRowOnKeyPress(java.lang.String rowOnKeyPress)
public java.lang.String getRowOnKeyUp()
AbstractHtmlDataTable
getRowOnKeyUp
in class AbstractHtmlDataTable
public void setRowOnKeyUp(java.lang.String rowOnKeyUp)
public java.lang.String getRowStyleClass()
AbstractHtmlDataTable
getRowStyleClass
in class AbstractHtmlDataTable
public void setRowStyleClass(java.lang.String rowStyleClass)
public java.lang.String getRowStyle()
AbstractHtmlDataTable
getRowStyle
in class AbstractHtmlDataTable
public void setRowStyle(java.lang.String rowStyle)
public java.lang.String getRowOnMouseDown()
AbstractHtmlDataTable
getRowOnMouseDown
in class AbstractHtmlDataTable
public void setRowOnMouseDown(java.lang.String rowOnMouseDown)
public java.lang.String getRowOnMouseMove()
AbstractHtmlDataTable
getRowOnMouseMove
in class AbstractHtmlDataTable
public void setRowOnMouseMove(java.lang.String rowOnMouseMove)
public java.lang.String getRowOnMouseUp()
AbstractHtmlDataTable
getRowOnMouseUp
in class AbstractHtmlDataTable
public void setRowOnMouseUp(java.lang.String rowOnMouseUp)
public java.lang.String getRowGroupStyle()
AbstractHtmlDataTable
getRowGroupStyle
in class AbstractHtmlDataTable
public void setRowGroupStyle(java.lang.String rowGroupStyle)
public java.lang.String getRowGroupStyleClass()
AbstractHtmlDataTable
getRowGroupStyleClass
in class AbstractHtmlDataTable
public void setRowGroupStyleClass(java.lang.String rowGroupStyleClass)
public java.lang.String getBodyStyle()
AbstractHtmlDataTable
getBodyStyle
in class AbstractHtmlDataTable
public void setBodyStyle(java.lang.String bodyStyle)
public java.lang.String getBodyStyleClass()
AbstractHtmlDataTable
getBodyStyleClass
in class AbstractHtmlDataTable
public void setBodyStyleClass(java.lang.String bodyStyleClass)
public int getNewspaperColumns()
AbstractHtmlDataTable
getNewspaperColumns
in interface NewspaperTable
getNewspaperColumns
in class AbstractHtmlDataTable
public void setNewspaperColumns(int newspaperColumns)
public java.lang.String getNewspaperOrientation()
AbstractHtmlDataTable
getNewspaperOrientation
in interface NewspaperTable
getNewspaperOrientation
in class AbstractHtmlDataTable
public void setNewspaperOrientation(java.lang.String newspaperOrientation)
public boolean isPreserveDataModel()
AbstractHtmlDataTable
isPreserveDataModel
in class AbstractHtmlDataTable
public void setPreserveDataModel(boolean preserveDataModel)
public boolean isPreserveSort()
AbstractHtmlDataTable
isPreserveSort
in class AbstractHtmlDataTable
public void setPreserveSort(boolean preserveSort)
public boolean isRenderedIfEmpty()
AbstractHtmlDataTable
isRenderedIfEmpty
in class AbstractHtmlDataTable
public void setRenderedIfEmpty(boolean renderedIfEmpty)
public java.lang.String getRowIndexVar()
AbstractHtmlDataTable
getRowIndexVar
in class AbstractHtmlDataTable
public void setRowIndexVar(java.lang.String rowIndexVar)
public java.lang.String getRowCountVar()
AbstractHtmlDataTable
getRowCountVar
in class AbstractHtmlDataTable
public void setRowCountVar(java.lang.String rowCountVar)
public java.lang.String getPreviousRowDataVar()
AbstractHtmlDataTable
getPreviousRowDataVar
in class AbstractHtmlDataTable
public void setPreviousRowDataVar(java.lang.String previousRowDataVar)
public java.lang.String getSortedColumnVar()
AbstractHtmlDataTable
getSortedColumnVar
in class AbstractHtmlDataTable
public void setSortedColumnVar(java.lang.String sortedColumnVar)
public java.lang.String getAlign()
AbstractHtmlDataTable
getAlign
in class AbstractHtmlDataTable
public void setAlign(java.lang.String align)
public java.lang.String getRowId()
AbstractHtmlDataTable
getRowId
in class AbstractHtmlDataTable
public void setRowId(java.lang.String rowId)
public java.lang.String getDatafld()
AbstractHtmlDataTable
getDatafld
in class AbstractHtmlDataTable
public void setDatafld(java.lang.String datafld)
public java.lang.String getDatasrc()
AbstractHtmlDataTable
getDatasrc
in class AbstractHtmlDataTable
public void setDatasrc(java.lang.String datasrc)
public java.lang.String getDataformatas()
AbstractHtmlDataTable
getDataformatas
in class AbstractHtmlDataTable
public void setDataformatas(java.lang.String dataformatas)
public java.lang.String getValueType()
AbstractHtmlDataTable
getValueType
in class AbstractHtmlDataTable
public void setValueType(java.lang.String valueType)
public boolean isAjaxRowRender()
AbstractHtmlDataTable
isAjaxRowRender
in class AbstractHtmlDataTable
public void setAjaxRowRender(boolean ajaxRowRender)
public java.lang.String getEnabledOnUserRole()
UserRoleAware
public void setEnabledOnUserRole(java.lang.String enabledOnUserRole)
public java.lang.String getVisibleOnUserRole()
UserRoleAware
public void setVisibleOnUserRole(java.lang.String visibleOnUserRole)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |