|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.nebula.widgets.nattable.data.convert.ContextualDisplayConverter
public abstract class ContextualDisplayConverter
Constructor Summary | |
---|---|
ContextualDisplayConverter()
|
Method Summary | |
---|---|
abstract Object |
canonicalToDisplayValue(ILayerCell cell,
IConfigRegistry configRegistry,
Object canonicalValue)
Convert backing data value to value to be displayed. |
Object |
canonicalToDisplayValue(Object canonicalValue)
Convert backing data value to value to be displayed Typically converted to a String for display. |
abstract Object |
displayToCanonicalValue(ILayerCell cell,
IConfigRegistry configRegistry,
Object displayValue)
Convert from display value to value in the backing data structure NOTE: The type the display value is converted to must match the type in the setter of the backing bean/row object Use this method for contextual conversion. |
Object |
displayToCanonicalValue(Object displayValue)
Convert from display value to value in the backing data structure NOTE: The type the display value is converted to must match the type in the setter of the backing bean/row object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextualDisplayConverter()
Method Detail |
---|
public Object canonicalToDisplayValue(Object canonicalValue)
IDisplayConverter
canonicalToDisplayValue
in interface IDisplayConverter
public Object displayToCanonicalValue(Object displayValue)
IDisplayConverter
displayToCanonicalValue
in interface IDisplayConverter
public abstract Object canonicalToDisplayValue(ILayerCell cell, IConfigRegistry configRegistry, Object canonicalValue)
IDisplayConverter
Note that on returning a different type than String,
toString()
will be called on the returned object to render
the value for displaying.
canonicalToDisplayValue
in interface IDisplayConverter
public abstract Object displayToCanonicalValue(ILayerCell cell, IConfigRegistry configRegistry, Object displayValue)
IDisplayConverter
displayToCanonicalValue
in interface IDisplayConverter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |