public class BasicRowRenderer<T> extends AbstractRowRenderer<T> implements IClickableRowRenderer<T>
AbstractRowRenderer.IRowRendered<T>| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULTSORT |
static String |
NOWRAP |
static String |
NUMERIC |
static String |
WRAP |
| Constructor and Description |
|---|
BasicRowRenderer(Class<T> dataClass,
ClassMetaModel cmm,
Object... cols) |
BasicRowRenderer(Class<T> dataClass,
Object... cols)
Create a renderer by handling the specified class and a list of properties off it.
|
| Modifier and Type | Method and Description |
|---|---|
<R> BasicRowRenderer<T> |
addColumns(Object... cols)
Add the specified list of property names and presentation options to the column definitions.
|
void |
addDefaultColumns()
Add all of the columns as defined by the metadata to the list.
|
protected void |
complete(TableModelTableBase<T> tbl)
Complete this object if it is not already complete.
|
beforeQuery, check, getActualClass, getCellClicked, getColumn, getColumnByName, getColumnCount, getColumnList, getNodeRenderer, getOnRowRendered, getRowButtonFactory, getRowClicked, getSortColumn, getUnknownColumnCaption, isComplete, isSortDescending, model, renderColumn, renderHeader, renderRow, setCellClicked, setColumnWidth, setColumnWidths, setDefaultSort, setNodeRenderer, setOnRowRendered, setRowButtonFactory, setRowClicked, setSort, setSortColumn, setUnknownColumnCaptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetCellClicked, setRowClickedbeforeQuery, getRowClicked, renderHeader, renderRowpublic static final String NOWRAP
public static final String WRAP
public static final String DEFAULTSORT
public static final String NUMERIC
public BasicRowRenderer(@Nonnull Class<T> dataClass, Object... cols) throws Exception
dataClass - cols - Exceptionpublic <R> BasicRowRenderer<T> addColumns(@Nonnull Object... cols)
clz - cols - public void addDefaultColumns()
protected void complete(@Nonnull TableModelTableBase<T> tbl)
complete in class AbstractRowRenderer<T>Copyright © 2017 etc.to. All rights reserved.