public static final class DataTable.Column
extends org.zkoss.json.JSONObject
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Column(ColumnType type,
ColumnRole role) |
Column(ColumnType type,
String label) |
Column(ColumnType type,
String label,
String id) |
Column(ColumnType type,
String label,
String id,
String pattern) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
String |
getLabel() |
ColumnType |
getType() |
toJSONString, toJSONString, toString, toStringclear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCodefinalize, getClass, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic Column(ColumnType type, String label)
type - The data type of the column.label - A label for the column.public Column(ColumnType type, String label, String id)
type - The data type of the column.label - A label for the column.id - An ID for the column.public Column(ColumnType type, String label, String id, String pattern)
type - The data type of the column.label - A label for the column.id - An ID for the column.pattern - A number (or date) format string specifying how to display the column value.public Column(ColumnType type, ColumnRole role)
type - The data type of the column.role - The role of the column.public ColumnType getType()
public String getLabel()
public String getId()
Copyright © 2016. All Rights Reserved.