Class XViewerDaysTillTodayColumn
java.lang.Object
org.eclipse.nebula.widgets.xviewer.core.model.XViewerColumn
org.eclipse.nebula.widgets.xviewer.XViewerValueColumn
org.eclipse.nebula.widgets.xviewer.XViewerComputedColumn
org.eclipse.nebula.widgets.xviewer.column.XViewerDaysTillTodayColumn
- All Implemented Interfaces:
IXViewerValueColumn
public class XViewerDaysTillTodayColumn extends XViewerComputedColumn
-
Field Summary
Fields inherited from class org.eclipse.nebula.widgets.xviewer.XViewerComputedColumn
sourceXViewerColumn, xViewerFields inherited from class org.eclipse.nebula.widgets.xviewer.core.model.XViewerColumn
ALIGN, id, name, NAME, preComputedValueMap, SHOW, SORT_FORWARD, WIDTH, XTREECOLUMN_TAG -
Constructor Summary
Constructors Constructor Description XViewerDaysTillTodayColumn() -
Method Summary
Modifier and Type Method Description XViewerDaysTillTodayColumncopy()XViewer uses copies of column definitions so originals that are registered are not corrupted.XViewerComputedColumncreateFromStored(XViewerColumn storedColumn)java.lang.StringgetColumnText(java.lang.Object element, XViewerColumn column, int columnIndex)java.lang.StringgetId()java.lang.StringgetName()booleanisApplicableFor(java.lang.String storedId)booleanisApplicableFor(XViewerColumn xViewerColumn)Methods inherited from class org.eclipse.nebula.widgets.xviewer.XViewerComputedColumn
getSourceColumnId, getSourceXViewerColumn, getXViewer, setSourceXViewerColumn, setSourceXViewerColumnFromColumns, setXViewerMethods inherited from class org.eclipse.nebula.widgets.xviewer.XViewerValueColumn
getBackground, getBackingData, getColumnImage, getFont, getForeground, getStyledTextMethods inherited from class org.eclipse.nebula.widgets.xviewer.core.model.XViewerColumn
addElapsedTime, averageValues, copy, equals, getAlign, getAlignStoreName, getAlignStoreValue, getColumnId, getDescription, getDisplayName, getElapsedTime, getPreComputedValue, getPreComputedValueMap, getSortDataType, getToolTip, getWidth, hashCode, isMultiColumnEditable, isShow, isSortForward, isSummable, resetElapsedTime, reverseSort, setAlign, setDescription, setElapsedTime, setFromXml, setId, setMultiColumnEditable, setName, setPreComputedValueMap, setShow, setSortDataType, setSortForward, setToolTip, setWidth, sumValues, toString, toXml
-
Constructor Details
-
XViewerDaysTillTodayColumn
public XViewerDaysTillTodayColumn()
-
-
Method Details
-
getColumnText
public java.lang.String getColumnText(java.lang.Object element, XViewerColumn column, int columnIndex)- Specified by:
getColumnTextin interfaceIXViewerValueColumn- Overrides:
getColumnTextin classXViewerValueColumn
-
isApplicableFor
- Specified by:
isApplicableForin classXViewerComputedColumn
-
getName
public java.lang.String getName()- Overrides:
getNamein classXViewerColumn
-
copy
Description copied from class:XViewerValueColumnXViewer uses copies of column definitions so originals that are registered are not corrupted. Classes extending XViewerValueColumn MUST extend this constructor so the correct sub-class is created- Specified by:
copyin classXViewerComputedColumn
-
getId
public java.lang.String getId()- Overrides:
getIdin classXViewerColumn
-
isApplicableFor
public boolean isApplicableFor(java.lang.String storedId)- Specified by:
isApplicableForin classXViewerComputedColumn
-
createFromStored
- Specified by:
createFromStoredin classXViewerComputedColumn
-