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, xViewer
Fields 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 XViewerDaysTillTodayColumn
copy()
XViewer uses copies of column definitions so originals that are registered are not corrupted.XViewerComputedColumn
createFromStored(XViewerColumn storedColumn)
java.lang.String
getColumnText(java.lang.Object element, XViewerColumn column, int columnIndex)
java.lang.String
getId()
java.lang.String
getName()
boolean
isApplicableFor(java.lang.String storedId)
boolean
isApplicableFor(XViewerColumn xViewerColumn)
Methods inherited from class org.eclipse.nebula.widgets.xviewer.XViewerComputedColumn
getSourceColumnId, getSourceXViewerColumn, getXViewer, setSourceXViewerColumn, setSourceXViewerColumnFromColumns, setXViewer
Methods inherited from class org.eclipse.nebula.widgets.xviewer.XViewerValueColumn
getBackground, getBackingData, getColumnImage, getFont, getForeground, getStyledText
Methods 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:
getColumnText
in interfaceIXViewerValueColumn
- Overrides:
getColumnText
in classXViewerValueColumn
-
isApplicableFor
- Specified by:
isApplicableFor
in classXViewerComputedColumn
-
getName
public java.lang.String getName()- Overrides:
getName
in classXViewerColumn
-
copy
Description copied from class:XViewerValueColumn
XViewer 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:
copy
in classXViewerComputedColumn
-
getId
public java.lang.String getId()- Overrides:
getId
in classXViewerColumn
-
isApplicableFor
public boolean isApplicableFor(java.lang.String storedId)- Specified by:
isApplicableFor
in classXViewerComputedColumn
-
createFromStored
- Specified by:
createFromStored
in classXViewerComputedColumn
-