public interface IXViewerPreComputedColumn
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getKey(java.lang.Object obj)
Called to get index for element for retrieval of cached text value
|
java.lang.String |
getText(java.lang.Object obj,
java.lang.Long key,
java.lang.String cachedValue)
Optional method available to make other checks during loading or otherwise change the cached value.
|
void |
populateCachedValues(java.util.Collection<?> objects,
java.util.Map<java.lang.Long,java.lang.String> preComputedValueMap)
Called in a background thread to populate values in XViewerColumn.preComputedValueMap.
|
java.lang.Long getKey(java.lang.Object obj)
void populateCachedValues(java.util.Collection<?> objects, java.util.Map<java.lang.Long,java.lang.String> preComputedValueMap)
java.lang.String getText(java.lang.Object obj, java.lang.Long key, java.lang.String cachedValue)
key
- returned from getKey callcachedValue
- that will be used if this method isn't overridden or returns null