public abstract class ContextualDisplayConverter extends Object implements IDisplayConverter
Constructor and Description |
---|
ContextualDisplayConverter() |
Modifier and Type | Method and Description |
---|---|
abstract Object |
canonicalToDisplayValue(ILayerCell cell,
IConfigRegistry configRegistry,
Object canonicalValue)
Convert backing data value to value to be displayed
Typically converted to a String for display.
|
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
|
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
canonicalToDisplayValue
in interface IDisplayConverter
public abstract Object displayToCanonicalValue(ILayerCell cell, IConfigRegistry configRegistry, Object displayValue)
IDisplayConverter
displayToCanonicalValue
in interface IDisplayConverter
Copyright © 2013. All Rights Reserved.