public class ExportTable extends Table
Modifier and Type | Field and Description |
---|---|
protected List<String> |
excludedColumns |
protected List<String> |
excludedExportColumns |
protected int |
exportAttachment |
protected int |
exportBannerPosition |
protected TableExportContainer |
exportContainer |
static int |
EXPORTER_ATTACHED |
static int |
EXPORTER_DETACHED |
static int |
EXPORTER_INLINE |
protected boolean |
exportTableHeaders |
protected int |
firstExportRow |
protected int |
lastExportRow |
ASCENDING, bannerPosition, caption, CLASS_BLUE1, CLASS_BLUE2, CLASS_COMPLEX, CLASS_ISI, CLASS_ITS, CLASS_MARS, CLASS_NOCOL, CLASS_ORANGE1, CLASS_ORANGE2, CLASS_REPORT, CLASS_SIMPLE, CLASS_STYLES, COLUMN, columnList, columns, controlLink, controlList, dataProvider, height, hoverRows, nullifyRowListOnDestroy, PAGE, pageNumber, pageSize, paginator, PAGINATOR_ATTACHED, PAGINATOR_DETACHED, PAGINATOR_INLINE, paginatorAttachment, POSITION_BOTH, POSITION_BOTTOM, POSITION_TOP, renderId, rowCount, rowList, showBanner, SORT, sortable, sorted, sortedAscending, sortedColumn, width
actionListener, attributes, behaviors, headElements, listener, listenerMethod, messages, name, parent, styles
CONTROL_MESSAGES
Constructor and Description |
---|
ExportTable() |
ExportTable(String name) |
add, addColumn, addControl, addRowAttributes, createRowList, getBannerPosition, getCaption, getColumn, getColumnList, getColumns, getControlLink, getControls, getControlSizeEst, getDataProvider, getFirstRow, getHeadElements, getHeight, getHoverRows, getLastRow, getNullifyRowListOnDestroy, getNumberPages, getPageNumber, getPageSize, getPaginator, getPaginatorAttachment, getRenderId, getRowCount, getRowList, getShowBanner, getSortable, getSortedColumn, getState, getTag, getWidth, hasControls, isSorted, isSortedAscending, onDestroy, removeColumn, removeColumn, removeColumns, removeState, renderFooterRow, renderPaginator, renderPagingControls, renderTableBanner, restoreState, saveState, setBannerPosition, setCaption, setClass, setDataProvider, setHeight, setHoverRows, setName, setNullifyRowListOnDestroy, setPageNumber, setPageSize, setPaginator, setPaginatorAttachment, setParent, setRenderId, setRowList, setShowBanner, setSortable, setSorted, setSortedAscending, setSortedColumn, setState, setWidth, sortRowList
addBehavior, addStyleClass, appendAttributes, dispatchActionEvent, getActionListener, getAttribute, getAttributes, getBehaviors, getContext, getHtmlImports, getId, getMessage, getMessage, getMessages, getName, getPage, getParent, getStyle, getStyles, hasAttribute, hasAttributes, hasBehaviors, hasStyles, isAjaxTarget, onDeploy, removeBehavior, removeStyleClass, renderTagBegin, renderTagEnd, setActionListener, setAttribute, setId, setListener, setStyle, toString
public static final int EXPORTER_ATTACHED
public static final int EXPORTER_DETACHED
public static final int EXPORTER_INLINE
protected boolean exportTableHeaders
protected int firstExportRow
protected int lastExportRow
protected int exportBannerPosition
protected int exportAttachment
protected TableExportContainer exportContainer
public ExportTable()
public ExportTable(String name)
public TableExportContainer getExportContainer()
public void setExportContainer(TableExportContainer exportContainer)
public boolean isExportTableHeaders()
public int getFirstExportRow()
public void setFirstExportRow(int firstExportRow)
firstExportRow
- the firstExportRow to setpublic int getLastExportRow()
public void setLastExportRow(int lastExportRow)
lastExportRow
- the lastExportRow to setpublic void setExportTableHeaders(boolean exportTableHeaders)
exportTableHeaders
- the exportTableHeaders to setpublic int getExportBannerPosition()
public void setExportBannerPosition(int exportBannerPosition)
exportBannerPosition
- the exportBannerPosition to setpublic List getExportColumnList()
public int getExportAttachment()
public void setExportAttachment(int exportAttachment)
public void onInit()
public void onRender()
public boolean onProcess()
public void render(HtmlStringBuffer buffer)
protected void renderBodyRows(HtmlStringBuffer buffer)
renderBodyRows
in class Table
protected void renderHeaderRow(HtmlStringBuffer buffer)
renderHeaderRow
in class Table
protected void renderBodyRowColumns(HtmlStringBuffer buffer, int rowIndex)
renderBodyRowColumns
in class Table
protected void renderBodyNoRows(HtmlStringBuffer buffer)
renderBodyNoRows
in class Table