Class CurrencyPropertyColumn
- java.lang.Object
-
- com.googlecode.wicket.kendo.ui.datatable.column.AbstractColumn
-
- com.googlecode.wicket.kendo.ui.datatable.column.PropertyColumn
-
- com.googlecode.wicket.kendo.ui.datatable.column.CurrencyPropertyColumn
-
- All Implemented Interfaces:
IColumn
,IExportableColumn
,Serializable
,org.apache.wicket.util.io.IClusterable
public class CurrencyPropertyColumn extends PropertyColumn
Provides a currency property column for aDataTable
- Author:
- Sebastien Briquet - sebfz1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CurrencyPropertyColumn(String title)
ConstructorCurrencyPropertyColumn(String title, int width)
ConstructorCurrencyPropertyColumn(String title, String property)
ConstructorCurrencyPropertyColumn(String title, String property, int width)
ConstructorCurrencyPropertyColumn(org.apache.wicket.model.IModel<String> title, String property)
ConstructorCurrencyPropertyColumn(org.apache.wicket.model.IModel<String> title, String property, int width)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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".-
Methods inherited from class com.googlecode.wicket.kendo.ui.datatable.column.PropertyColumn
getField, getValue, newDataModel
-
Methods inherited from class com.googlecode.wicket.kendo.ui.datatable.column.AbstractColumn
getAggregates, getAggregatesAsString, getAttributes, getEditor, getFilterable, getFooterTemplate, getGroupFooterTemplate, getGroupHeaderTemplate, getMenu, getMinScreenWidth, getTemplate, getTitle, getWidth, isEditable, isEncoded, isNullable, isPopupVisible, isVisible, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.googlecode.wicket.kendo.ui.datatable.column.IColumn
getAggregates, getAttributes, getEditor, getFilterable, getFooterTemplate, getGroupFooterTemplate, getGroupHeaderTemplate, getMenu, getMinScreenWidth, getTemplate, getTitle, getWidth, isEditable, isEncoded, isNullable
-
-
-
-
Constructor Detail
-
CurrencyPropertyColumn
public CurrencyPropertyColumn(String title)
Constructor- Parameters:
title
- the text of the column header
-
CurrencyPropertyColumn
public CurrencyPropertyColumn(String title, int width)
Constructor- Parameters:
title
- the text of the column headerwidth
- the desired width of the column
-
CurrencyPropertyColumn
public CurrencyPropertyColumn(String title, String property)
Constructor- Parameters:
title
- the text of the column headerproperty
- the object property name
-
CurrencyPropertyColumn
public CurrencyPropertyColumn(String title, String property, int width)
Constructor- Parameters:
title
- the text of the column headerproperty
- the object property namewidth
- the desired width of the column
-
CurrencyPropertyColumn
public CurrencyPropertyColumn(org.apache.wicket.model.IModel<String> title, String property)
Constructor- Parameters:
title
- the text of the column headerproperty
- the object property name
-
-
Method Detail
-
getType
public String getType()
Description copied from interface:IColumn
Get the field's type
Available options are "string", "number", "boolean", "date".- Specified by:
getType
in interfaceIColumn
- Overrides:
getType
in classAbstractColumn
- Returns:
- the the field's type
-
getFormat
public String getFormat()
Description copied from interface:IColumn
The format that is applied to the value before it is displayed. Takes the form "{0:format}" where "format" is a standard number format, custom number format, standard date format or a custom date format.- Specified by:
getFormat
in interfaceIColumn
- Overrides:
getFormat
in classAbstractColumn
- Returns:
- the format or
null
if it does not apply - See Also:
- standard-number-formats, custom-number-formats, standard-date-formats, custom-date-formats
-
-