public class PropertyColumn extends AbstractColumn
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() |
getAggregates, getAggregatesAsString, getFilterable, getFormat, getGroupFooterTemplate, getGroupHeaderTemplate, getMenu, getTitle, getWidth, isVisible, toStringpublic 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 objectCopyright © 2014 7thWeb. All Rights Reserved.