|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<U,KeyRing<U>>
org.ujorm.wicket.component.grid.KeyColumn<U,Date>
org.ujorm.wicket.component.grid.KeyColumnDate<U>
public class KeyColumnDate<U extends Ujo>
Key column for a Date data type
| Field Summary | |
|---|---|
static String |
DEFAULT_CSS_CLASS
Default CSS class for |
| Fields inherited from class org.ujorm.wicket.component.grid.KeyColumn |
|---|
cssClass, keySerializable, PROPERTY_PREFIX, SORTING_OFF, SORTING_ON |
| Constructor Summary | |
|---|---|
KeyColumnDate(KeyRing<U> key,
KeyRing<U> keySortable)
Constructor with the default value localeDateFormatKey = "locale.date.pattern". |
|
KeyColumnDate(KeyRing<U> key,
KeyRing<U> keySortable,
String localeDateFormatKey)
|
|
| Method Summary | ||
|---|---|---|
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
|
of(Key<U,T> key,
boolean sorted,
String cssClass)
A factory method |
|
static
|
of(Key<U,T> key,
boolean sorted,
String cssClass,
String localeDateFormatKey)
A factory method |
|
| Methods inherited from class org.ujorm.wicket.component.grid.KeyColumn |
|---|
appendCssClass, createValueModel, getCssClass, getKey, getPropertyExpression, of, of, populateItem, setCssClass, toString |
| Methods inherited from class org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn |
|---|
detach, getDisplayModel, getHeader, getSortProperty, isSortable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static String DEFAULT_CSS_CLASS
| Constructor Detail |
|---|
public KeyColumnDate(KeyRing<U> key,
KeyRing<U> keySortable)
"locale.date.pattern".
public KeyColumnDate(KeyRing<U> key,
KeyRing<U> keySortable,
String localeDateFormatKey)
| Method Detail |
|---|
protected org.apache.wicket.Component createValueCoponent(String componentId,
org.apache.wicket.model.IModel<?> valueModel,
U ujo)
createValueCoponent in class KeyColumn<U extends Ujo,Date>protected String getDatePattern(org.apache.wicket.Component component)
public static <U extends Ujo,T> KeyColumn<U,T> of(Key<U,T> key,
boolean sorted,
String cssClass)
key - Domain Keysorted - Sorted columncssOkClass - Class for a value Boolean.TRUE where a default value is #DEFAULT_CSS_OK_CLASS.
public static <U extends Ujo,T> KeyColumn<U,T> of(Key<U,T> key,
boolean sorted,
String cssClass,
String localeDateFormatKey)
key - Domain Keysorted - Sorted columncssOkClass - Class for a value Boolean.TRUE where a default value is #DEFAULT_CSS_OK_CLASS.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||