|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.visualization.datasource.datatable.ColumnDescription
public class ColumnDescription
Holds all the information we keep for a single column in a DataTable.
This does not include all the values, which are kept in TableCells.
The information that is included is:
ValueType)Query))
| Constructor Summary | |
|---|---|
ColumnDescription(String id,
ValueType type,
String label)
Creates a new column description. |
|
| Method Summary | |
|---|---|
ColumnDescription |
clone()
Returns a clone of the ColumnDescription, meaning a column descriptor with the exact same properties. |
Map<String,String> |
getCustomProperties()
Returns an immutable map of the custom properties. |
String |
getCustomProperty(String key)
Retrieves a custom property. |
String |
getId()
Returns the column id. |
String |
getLabel()
Returns the column label. |
String |
getPattern()
Returns the column pattern. |
ValueType |
getType()
Returns the column type. |
void |
setCustomProperty(String propertyKey,
String propertyValue)
Sets a custom property. |
void |
setLabel(String label)
Sets a column label. |
void |
setPattern(String pattern)
Sets a column pattern. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnDescription(String id,
ValueType type,
String label)
id - The column's identifier.type - The column's data type.label - The column's displayed name (label).| Method Detail |
|---|
public String getId()
public ValueType getType()
public String getLabel()
public String getPattern()
public void setPattern(String pattern)
pattern - A pattern to set for this column.public void setLabel(String label)
label - A label to set for this column.public String getCustomProperty(String key)
key - The property key.
public void setCustomProperty(String propertyKey,
String propertyValue)
propertyKey - The property key.propertyValue - The property value.public Map<String,String> getCustomProperties()
public ColumnDescription clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||