public class DTColumnConfig52 extends Object implements BaseColumn, DiffColumn
| Modifier and Type | Field and Description |
|---|---|
String |
defaultValue |
static String |
FIELD_DEFAULT_VALUE
Available fields for this type of column.
|
static String |
FIELD_HEADER |
static String |
FIELD_HIDE_COLUMN |
static String |
FIELD_WIDTH |
| Constructor and Description |
|---|
DTColumnConfig52() |
| Modifier and Type | Method and Description |
|---|---|
void |
cloneCommonColumnConfigFrom(DTColumnConfig52 model)
Clones the configuration (width, header, hide, default value) of the argument into this instance.
|
List<BaseColumnFieldDiff> |
diff(BaseColumn otherColumn)
Analyze differences between two columns of same type.
|
boolean |
equals(Object o) |
protected Object |
extractDefaultValue(DTCellValue52 dcv) |
DTCellValue52 |
getDefaultValue() |
String |
getHeader() |
int |
getWidth() |
int |
hashCode() |
static boolean |
isEqualOrNull(Object s1,
Object s2) |
boolean |
isHideColumn() |
void |
setDefaultValue(DTCellValue52 defaultValue) |
void |
setHeader(String header) |
void |
setHideColumn(boolean hideColumn) |
void |
setWidth(int width) |
public static final String FIELD_DEFAULT_VALUE
public static final String FIELD_HIDE_COLUMN
public static final String FIELD_WIDTH
public static final String FIELD_HEADER
public String defaultValue
public DTCellValue52 getDefaultValue()
getDefaultValue in interface BaseColumnpublic int getWidth()
getWidth in interface BaseColumnpublic boolean isHideColumn()
isHideColumn in interface BaseColumnpublic void setDefaultValue(DTCellValue52 defaultValue)
setDefaultValue in interface BaseColumnpublic List<BaseColumnFieldDiff> diff(BaseColumn otherColumn)
DiffColumndiff in interface DiffColumnotherColumn - The column to compare with this one.public void cloneCommonColumnConfigFrom(DTColumnConfig52 model)
model - column instance to be clonedprotected Object extractDefaultValue(DTCellValue52 dcv)
public void setHideColumn(boolean hideColumn)
setHideColumn in interface BaseColumnpublic void setWidth(int width)
setWidth in interface BaseColumnpublic void setHeader(String header)
setHeader in interface BaseColumnpublic String getHeader()
getHeader in interface BaseColumnCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.