public class KeyColumnLocalDate<U extends org.ujorm.Ujo> extends KeyColumn<U,LocalDate>
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CSS_CLASS
Default CSS class for
|
cssClass, keySerializable, PROPERTY_PREFIX, SORTING_OFF, SORTING_ON| Constructor and Description |
|---|
KeyColumnLocalDate(org.ujorm.core.KeyRing<U> key,
org.ujorm.core.KeyRing<U> keySortable)
Constructor with the default value localeDateFormatKey =
"locale.date.pattern". |
KeyColumnLocalDate(org.ujorm.core.KeyRing<U> key,
org.ujorm.core.KeyRing<U> keySortable,
String localeDateFormatKey) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.wicket.Component |
createValueCoponent(String componentId,
org.apache.wicket.model.IModel<?> valueModel,
U ujo)
Create the Label for a Value component
|
protected String |
getDatePattern(org.apache.wicket.Component component)
Returns localizadDate pattern
|
static <U extends org.ujorm.Ujo,T> |
of(org.ujorm.Key<U,T> key,
boolean sorted,
String cssClass)
A factory method
|
static <U extends org.ujorm.Ujo,T> |
of(org.ujorm.Key<U,T> key,
boolean sorted,
String cssClass,
String localeDateFormatKey)
A factory method
|
appendCssClass, createValueModel, getCssClass, getKey, getPropertyExpression, of, of, populateItem, setCssClass, toStringpublic static String DEFAULT_CSS_CLASS
public KeyColumnLocalDate(org.ujorm.core.KeyRing<U> key, org.ujorm.core.KeyRing<U> keySortable)
"locale.date.pattern".protected org.apache.wicket.Component createValueCoponent(String componentId, org.apache.wicket.model.IModel<?> valueModel, U ujo)
createValueCoponent in class KeyColumn<U extends org.ujorm.Ujo,LocalDate>KeyColumn.appendCssClass(org.apache.wicket.Component, org.ujorm.Ujo)protected String getDatePattern(org.apache.wicket.Component component)
public static <U extends org.ujorm.Ujo,T> KeyColumn<U,T> of(org.ujorm.Key<U,T> key, boolean sorted, String cssClass)
key - Domain Keysorted - Sorted columncssClass - Class for a value Boolean.TRUE where a default value is #DEFAULT_CSS_OK_CLASS.public static <U extends org.ujorm.Ujo,T> KeyColumn<U,T> of(org.ujorm.Key<U,T> key, boolean sorted, String cssClass, String localeDateFormatKey)
key - Domain Keysorted - Sorted columncssClass - Class for a value Boolean.TRUE where a default value is #DEFAULT_CSS_OK_CLASS.Copyright © 2021. All rights reserved.