|Modifier and Type||Method and Description|
Derived classes should override this and provide a
Get an icon representing this value.
Returns a family of all renderers this type natively supports.
public Icon getIcon()
It is recommended to override this method and return an appropriate icon of size 16x16px.
protected DataValueComparator getComparator()
DataValueComparatorthat compares the respective
nullis returned the cell implementing the
DataValueinterface is said to be not comparable with respect to this
DataValueinterface. If none of the implemented
DataValueinterfaces is comparable, the fallback comparator based on the cell's
toString()method is used.
protected DataValueRendererFamily getRendererFamily(DataColumnSpec spec)
Views that rely on renderer implementations will get a list of all
available renderers by invoking
DataType.getRenderer(DataColumnSpec) on the column's
which makes sure that all renderer implementations of compatible
values are returned.
DataColumnSpecof the column for which the renderers are used. Most of the renderer implementations won't need column domain information but some do. For instance a class that renders the double value in the column according to the min/max values in the column domain.
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.