public class PropertyColumn extends AbstractColumn implements IExportableColumn
DataTable| Constructor and Description |
|---|
PropertyColumn(org.apache.wicket.model.IModel<String> title,
String property)
Constructor
|
PropertyColumn(org.apache.wicket.model.IModel<String> title,
String property,
int width)
Constructor
|
PropertyColumn(String title)
Constructor
|
PropertyColumn(String title,
int width)
Constructor
|
PropertyColumn(String title,
String property)
Constructor
|
PropertyColumn(String title,
String property,
int width)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getField()
Get the field in the data set that this column should be bound to.
|
Object |
getValue(Object object)
Gets the value of the supplied object.
Implementation may call getField() |
org.apache.wicket.model.IModel<Object> |
newDataModel(org.apache.wicket.model.IModel<?> rowModel)
Gets a new
IModel of the data represented by this IExportableColumn, for the supplied row model |
getAggregates, getAggregatesAsString, getAttributes, getEditor, getFilterable, getFooterTemplate, getFormat, getGroupFooterTemplate, getGroupHeaderTemplate, getMenu, getMinScreenWidth, getTemplate, getTitle, getType, getWidth, isEditable, isEncoded, isNullable, isPopupVisible, isVisible, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAggregates, getAttributes, getEditor, getFilterable, getFooterTemplate, getFormat, getGroupFooterTemplate, getGroupHeaderTemplate, getMenu, getMinScreenWidth, getTemplate, getTitle, getType, getWidth, isEditable, isEncoded, isNullablepublic PropertyColumn(String title)
title - the text of the column headerpublic PropertyColumn(String title, int width)
title - the text of the column headerwidth - the desired width of the columnpublic PropertyColumn(String title, String property)
title - the text of the column headerproperty - the object property namepublic PropertyColumn(String title, String property, int width)
title - the text of the column headerproperty - the object property namewidth - the desired width of the columnpublic PropertyColumn(org.apache.wicket.model.IModel<String> title, String property)
title - the text of the column headerproperty - the object property namepublic String getField()
IColumngetField in interface IColumngetField in class AbstractColumnpublic Object getValue(Object object)
getField()object - the model objectpublic org.apache.wicket.model.IModel<Object> newDataModel(org.apache.wicket.model.IModel<?> rowModel)
IExportableColumnIModel of the data represented by this IExportableColumn, for the supplied row modelnewDataModel in interface IExportableColumnrowModel - the row modelIModel of the data represented by this IExportableColumnCopyright © 2021 7thWeb. All rights reserved.