|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.dandelion.datatables.core.configuration.ColumnConfig
public final class ColumnConfig
All possible configurations (or ConfigToken) that can be applied on a
ColumnConfiguration object.
Only header columns have a ColumnConfiguration instance attached.
| Method Summary | |
|---|---|
static void |
applyConfiguration(Map<ConfigToken<?>,Object> stagingConf,
Map<ConfigToken<?>,Extension> stagingExtensions,
HtmlColumn column)
Overloads the configurations stored in the ColumnConfiguration
instance with the one passed as parameter. |
static void |
processConfiguration(HtmlColumn column,
HtmlTable table)
At this point, the configuration stored inside the ColumnConfiguration contains only Strings. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static ConfigToken<String> ID
public static ConfigToken<String> TITLE
public static ConfigToken<String> TITLEKEY
public static ConfigToken<String> NAME
public static ConfigToken<String> PROPERTY
public static ConfigToken<String> DEFAULTVALUE
public static ConfigToken<StringBuilder> CSSSTYLE
public static ConfigToken<StringBuilder> CSSCELLSTYLE
public static ConfigToken<StringBuilder> CSSCLASS
public static ConfigToken<StringBuilder> CSSCELLCLASS
public static ConfigToken<Boolean> SORTABLE
public static ConfigToken<List<Direction>> SORTDIRECTION
public static ConfigToken<String> SORTINITDIRECTION
public static ConfigToken<Integer> SORTINITORDER
public static ConfigToken<String> SORTTYPE
public static ConfigToken<Boolean> FILTERABLE
public static ConfigToken<Boolean> SEARCHABLE
public static ConfigToken<Boolean> VISIBLE
public static ConfigToken<FilterType> FILTERTYPE
public static ConfigToken<String> FILTERDATEFORMAT
public static ConfigToken<String> FILTERVALUES
public static ConfigToken<String> FILTERCSSCLASS
public static ConfigToken<String> FILTERPLACEHOLDER
public static ConfigToken<Integer> FILTERMINLENGTH
public static ConfigToken<String> RENDERFUNCTION
public static ConfigToken<String> SELECTOR
| Method Detail |
|---|
public static void applyConfiguration(Map<ConfigToken<?>,Object> stagingConf,
Map<ConfigToken<?>,Extension> stagingExtensions,
HtmlColumn column)
Overloads the configurations stored in the ColumnConfiguration
instance with the one passed as parameter.
Only configuration token with not blank values will be merged into the
ColumnConfiguration instance.
stagingConf - The staging configurations filled either with the JSP taglib
or with the Thymeleaf dialect.stagingExtensions - The staging extensions filled either with the JSP taglib or
with the Thymeleaf dialect.column - The column which holds the ColumnConfiguration to
overload.
public static void processConfiguration(HtmlColumn column,
HtmlTable table)
At this point, the configuration stored inside the
ColumnConfiguration contains only Strings. All these strings will
be processed in this method, depending on the ConfigToken they
are bound to.
Once processed, all strings will be replaced by the typed value.
column - The column which contains the configurations to process.table - The table may be used by processor to register extensions.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||