public static enum CmsDataViewColumn.Type extends java.lang.Enum<CmsDataViewColumn.Type>
| Enum Constant and Description |
|---|
booleanType
Column contains a value of type Boolean.
|
doubleType
Column contains a value of type Double.
|
imageType
Column contains a string representing an URL pointing to an image.
|
textType
Column contains a text to be displayed.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<?> |
getValueClass()
Gets the value class for this column type.
|
static CmsDataViewColumn.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CmsDataViewColumn.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmsDataViewColumn.Type textType
public static final CmsDataViewColumn.Type doubleType
public static final CmsDataViewColumn.Type imageType
public static final CmsDataViewColumn.Type booleanType
public static CmsDataViewColumn.Type[] values()
for (CmsDataViewColumn.Type c : CmsDataViewColumn.Type.values()) System.out.println(c);
public static CmsDataViewColumn.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.Class<?> getValueClass()
When calling getColumnData on an implementation of I_CmsDataViewItem for a given column, the returned object's class should match the value class of the column's type.