public class DatePropertyColumn extends PropertyColumn
DataTable| Constructor and Description |
|---|
DatePropertyColumn(org.apache.wicket.model.IModel<String> title,
String property)
Constructor
|
DatePropertyColumn(org.apache.wicket.model.IModel<String> title,
String property,
int width)
Constructor
|
DatePropertyColumn(String title)
Constructor
|
DatePropertyColumn(String title,
int width)
Constructor
|
DatePropertyColumn(String title,
String property)
Constructor
|
DatePropertyColumn(String title,
String property,
int width)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFormat()
The format that is applied to the value before it is displayed.
|
String |
getType()
Get the field's type
Available options are "string", "number", "boolean", "date". |
String |
getValue(Object object)
Gets the value of the supplied object.
Implementation may call PropertyColumn.getField() |
getField, newDataModelgetAggregates, getAggregatesAsString, getAttributes, getEditor, getFilterable, getFooterTemplate, getGroupFooterTemplate, getGroupHeaderTemplate, getMenu, getMinScreenWidth, getTemplate, getTitle, getWidth, isEditable, isEncoded, isNullable, isPopupVisible, isVisible, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAggregates, getAttributes, getEditor, getFilterable, getFooterTemplate, getGroupFooterTemplate, getGroupHeaderTemplate, getMenu, getMinScreenWidth, getTemplate, getTitle, getWidth, isEditable, isEncoded, isNullablepublic DatePropertyColumn(String title)
title - the text of the column headerpublic DatePropertyColumn(String title, int width)
title - the text of the column headerwidth - the desired width of the columnpublic DatePropertyColumn(String title, String property)
title - the text of the column headerproperty - the object property namepublic DatePropertyColumn(String title, String property, int width)
title - the text of the column headerproperty - the object property namewidth - the desired width of the columnpublic DatePropertyColumn(org.apache.wicket.model.IModel<String> title, String property)
title - the text of the column headerproperty - the object property namepublic String getType()
IColumngetType in interface IColumngetType in class AbstractColumnpublic String getFormat()
IColumngetFormat in interface IColumngetFormat in class AbstractColumnnull if it does not applypublic String getValue(Object object)
PropertyColumnPropertyColumn.getField()getValue in class PropertyColumnobject - the model objectCopyright © 2021 7thWeb. All rights reserved.