public class KeyColumnBoolean<UJO extends Ujo> extends KeyColumn<UJO,Boolean>
| Modifier and Type | Field and Description |
|---|---|
protected String |
cssOkClass
Class for OK value
|
protected static String |
DEFAULT_CSS_OK_CLASS
Default CSS class for an OK value
|
protected static String |
DEFAULT_LOGICAL_CLASS
Default CSS class for an OK value
|
cssClass, keySerializable, PROPERTY_PREFIX, SORTING_OFF, SORTING_ON| Constructor and Description |
|---|
KeyColumnBoolean(Key<UJO,?> key,
Key<UJO,?> keySortable,
String cssClass) |
KeyColumnBoolean(KeyRing<UJO> key,
KeyRing<UJO> keySortable,
String cssClass,
String cssOkClass) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendCssClass(org.apache.wicket.Component value,
UJO ujo)
Append css class
|
protected org.apache.wicket.model.IModel<?> |
createValueModel(UJO ujo)
Create a Value component
|
String |
getCssOkClass()
Returns a CSS class of the
true value |
static <U extends Ujo,T> |
of(Key<U,T> key,
boolean sorted)
A factory method where a default key
getCssOkClass() have got value DEFAULT_CSS_OK_CLASS |
static <U extends Ujo,T> |
of(Key<U,T> key,
boolean sorted,
String cssOkClass)
A factory method
|
static <U extends Ujo,T> |
of(Key<U,T> key,
Key<U,T> sort,
String cssOkClass)
A factory method
|
createValueCoponent, getCssClass, getKey, getPropertyExpression, populateItem, setCssClass, toStringprotected static String DEFAULT_LOGICAL_CLASS
protected static String DEFAULT_CSS_OK_CLASS
protected final String cssOkClass
protected org.apache.wicket.model.IModel<?> createValueModel(UJO ujo)
createValueModel in class KeyColumn<UJO extends Ujo,Boolean>protected void appendCssClass(org.apache.wicket.Component value,
UJO ujo)
appendCssClass in class KeyColumn<UJO extends Ujo,Boolean>public String getCssOkClass()
true valuepublic static <U extends Ujo,T> KeyColumn<U,T> of(Key<U,T> key, boolean sorted)
getCssOkClass() have got value DEFAULT_CSS_OK_CLASSkey - Domain Keysorted - A sorting requestpublic static <U extends Ujo,T> KeyColumn<U,T> of(Key<U,T> key, boolean sorted, String cssOkClass)
key - Domain Keysorted - Sorted columncssOkClass - Class for a value Boolean.TRUE where a default value is DEFAULT_CSS_OK_CLASS.Copyright © 2014. All Rights Reserved.