public class ColumnDescriptor extends JSONBase
| Modifier and Type | Method and Description |
|---|---|
static ColumnDescriptor |
create(String attributeName,
String label) |
boolean |
equals(Object obj) |
String |
getAttributeName()
Name of the attribute rendered in this column.
|
String |
getFormat()
Format to use for the rendered values in this column.
|
String |
getLabel()
Header UI label of column.
|
String |
getType()
Datatype of values in this column.
|
Integer |
getWidth()
Width of this column in characters (hint only).
|
int |
hashCode() |
ColumnDescriptor |
setAttributeName(String attributeName) |
ColumnDescriptor |
setFormat(String format) |
ColumnDescriptor |
setLabel(String label) |
ColumnDescriptor |
setType(String type) |
ColumnDescriptor |
setWidth(Integer width) |
public String getAttributeName()
public ColumnDescriptor setAttributeName(String attributeName)
public String getLabel()
public ColumnDescriptor setLabel(String label)
public String getFormat()
public ColumnDescriptor setFormat(String format)
public String getType()
public ColumnDescriptor setType(String type)
public Integer getWidth()
public ColumnDescriptor setWidth(Integer width)
public static ColumnDescriptor create(String attributeName, String label)