U - UjoT - Enum typepublic class KeyColumnEnum<U extends org.ujorm.Ujo,T extends Enum<T>> extends KeyColumn<U,T>
cssClass, keySerializable, PROPERTY_PREFIX, SORTING_OFF, SORTING_ON| Constructor and Description |
|---|
KeyColumnEnum(org.ujorm.core.KeyRing<U> key,
org.ujorm.core.KeyRing<U> keySortable) |
| 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
|
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,
org.ujorm.Key<U,T> sort,
String cssClass)
A factory method
|
protected String |
resourceKey(T value)
Translates the
object into resource key that will be used to lookup the value shown
to the user |
appendCssClass, createValueModel, getCssClass, getKey, getPropertyExpression, of, populateItem, setCssClass, toStringprotected org.apache.wicket.Component createValueCoponent(String componentId, org.apache.wicket.model.IModel<?> valueModel, U ujo)
createValueCoponent in class KeyColumn<U extends org.ujorm.Ujo,T extends Enum<T>>KeyColumn.appendCssClass(org.apache.wicket.Component, org.ujorm.Ujo)protected String resourceKey(T value)
object into resource key that will be used to lookup the value shown
to the uservalue - 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 columnCopyright © 2024. All rights reserved.