org.drools.workbench.models.guided.dtable.shared.model
Class DTColumnConfig52
java.lang.Object
org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52
- All Implemented Interfaces:
- BaseColumn, DiffColumn
- Direct Known Subclasses:
- ActionCol52, AnalysisCol52, AttributeCol52, ConditionCol52, DescriptionCol52, MetadataCol52, RowNumberCol52
public class DTColumnConfig52
- extends Object
- implements BaseColumn, DiffColumn
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIELD_DEFAULT_VALUE
public static final String FIELD_DEFAULT_VALUE
- Available fields for this type of column.
- See Also:
- Constant Field Values
FIELD_HIDE_COLUMN
public static final String FIELD_HIDE_COLUMN
- See Also:
- Constant Field Values
FIELD_WIDTH
public static final String FIELD_WIDTH
- See Also:
- Constant Field Values
FIELD_HEADER
public static final String FIELD_HEADER
- See Also:
- Constant Field Values
defaultValue
public String defaultValue
DTColumnConfig52
public DTColumnConfig52()
getDefaultValue
public DTCellValue52 getDefaultValue()
- Specified by:
getDefaultValue in interface BaseColumn
getWidth
public int getWidth()
- Specified by:
getWidth in interface BaseColumn
isHideColumn
public boolean isHideColumn()
- Specified by:
isHideColumn in interface BaseColumn
setDefaultValue
public void setDefaultValue(DTCellValue52 defaultValue)
- Specified by:
setDefaultValue in interface BaseColumn
diff
public List<BaseColumnFieldDiff> diff(BaseColumn otherColumn)
- Description copied from interface:
DiffColumn
- Analyze differences between two columns of same type.
- Specified by:
diff in interface DiffColumn
- Parameters:
otherColumn - The column to compare with this one.
- Returns:
- A list of fields and its values that have changed.
extractDefaultValue
protected Object extractDefaultValue(DTCellValue52 dcv)
isEqualOrNull
public static boolean isEqualOrNull(Object s1,
Object s2)
setHideColumn
public void setHideColumn(boolean hideColumn)
- Specified by:
setHideColumn in interface BaseColumn
setWidth
public void setWidth(int width)
- Specified by:
setWidth in interface BaseColumn
setHeader
public void setHeader(String header)
- Specified by:
setHeader in interface BaseColumn
getHeader
public String getHeader()
- Specified by:
getHeader in interface BaseColumn
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.