public class ColumnDefinition
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
COLUMN_TYPE_DOUBLE |
static int |
COLUMN_TYPE_INTEGER |
static int |
COLUMN_TYPE_LINK |
static int |
COLUMN_TYPE_LONG |
static int |
COLUMN_TYPE_LONG_STRING |
static int |
COLUMN_TYPE_STRING |
static int |
COLUMN_TYPE_TIMESTAMP |
Constructor and Description |
---|
ColumnDefinition() |
ColumnDefinition(java.lang.String id,
java.lang.String label,
java.lang.String descr,
int type) |
ColumnDefinition(java.lang.String id,
java.lang.String label,
java.lang.String descr,
int type,
boolean hidden) |
ColumnDefinition(java.lang.String id,
java.lang.String label,
java.lang.String descr,
int type,
IconMapEntry[] map) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getColumnDescription() |
java.lang.String |
getColumnId() |
java.lang.String |
getColumnLabel() |
java.lang.String |
getColumnLabelLocalized() |
int |
getColumnType() |
java.lang.String |
getGroupName() |
IconMapEntry[] |
getIcons() |
int |
getPrecision() |
boolean |
isHasIcon() |
boolean |
isHidden() |
boolean |
isShowTextWithIcon() |
void |
setColumnDescription(java.lang.String columnDescription) |
void |
setColumnId(java.lang.String columnId) |
void |
setColumnLabel(java.lang.String columnLabel) |
void |
setColumnLabelLocalized(java.lang.String columnLabelLocalized) |
void |
setColumnType(int columnType) |
void |
setGroupName(java.lang.String groupName) |
void |
setHasIcon(boolean hasIcon) |
void |
setHidden(boolean isHidden) |
void |
setIcons(IconMapEntry[] icons) |
void |
setIcons(IconMapEntry[] icons,
boolean hasIcon,
boolean showText) |
void |
setPrecision(int precision) |
void |
setShowTextWithIcon(boolean showTextWithIcon) |
ColumnDefinition |
withGroupName(java.lang.String groupName) |
public static final int COLUMN_TYPE_INTEGER
public static final int COLUMN_TYPE_TIMESTAMP
public static final int COLUMN_TYPE_DOUBLE
public static final int COLUMN_TYPE_STRING
public static final int COLUMN_TYPE_LONG_STRING
public static final int COLUMN_TYPE_LINK
public static final int COLUMN_TYPE_LONG
public ColumnDefinition()
public ColumnDefinition(java.lang.String id, java.lang.String label, java.lang.String descr, int type)
public ColumnDefinition(java.lang.String id, java.lang.String label, java.lang.String descr, int type, IconMapEntry[] map)
public ColumnDefinition(java.lang.String id, java.lang.String label, java.lang.String descr, int type, boolean hidden)
public java.lang.String getColumnLabel()
public void setColumnLabel(java.lang.String columnLabel)
columnLabel
- the columnLabel to setpublic java.lang.String getColumnDescription()
public void setColumnDescription(java.lang.String columnDescription)
columnDescription
- the columnDescription to setpublic int getColumnType()
public void setColumnType(int columnType)
columnType
- the columnType to setpublic java.lang.String getColumnId()
public void setColumnId(java.lang.String columnId)
columnId
- the columnId to setpublic void setHidden(boolean isHidden)
public boolean isHidden()
public void setPrecision(int precision)
public int getPrecision()
public boolean isHasIcon()
public boolean isShowTextWithIcon()
public IconMapEntry[] getIcons()
public void setHasIcon(boolean hasIcon)
hasIcon
- the hasIcon to setpublic void setShowTextWithIcon(boolean showTextWithIcon)
showTextWithIcon
- the showTextWithIcon to setpublic void setIcons(IconMapEntry[] icons)
icons
- the icons to setpublic void setIcons(IconMapEntry[] icons, boolean hasIcon, boolean showText)
public java.lang.String getGroupName()
public void setGroupName(java.lang.String groupName)
public ColumnDefinition withGroupName(java.lang.String groupName)
public java.lang.String getColumnLabelLocalized()
public void setColumnLabelLocalized(java.lang.String columnLabelLocalized)