Interface VisualizationDelegate
- All Known Implementing Classes:
AbstractVisualizationDelegate,DefaultVisualizationDelegate,WVSVisualizationDelegate
public interface VisualizationDelegate
A delegate that decides whether visualization should be shown for a certain type.
It's best to extend the AbstractVisualizationDelegate, or the DefaultVisualizationDelegate rather
than implementing this interface directly.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptiongetVisualizationComponent(Object datum, javax.servlet.ServletRequest request) Care should be taken to return a VisualizationComponent which renders to the correct width and height, to avoid being resized in the browser.booleanshowMiniVisualization(UIValidationCriteria validationCriteria) booleanshowVisualization(UIValidationCriteria validationCriteria)
-
Method Details
-
getVisualizationComponent
VisualizationComponent getVisualizationComponent(Object datum, javax.servlet.ServletRequest request) Care should be taken to return a VisualizationComponent which renders to the correct width and height, to avoid being resized in the browser. If this is being rendered to the Information Page, refer to these two properties set in wvs.properties.xconf: thumbnail.generator.width and thumbnail.generator.height *
Supported API: true- Returns:
- the proper visualization component for the given datum
-
showVisualization
- Returns:
- true to show visualization on the info page and false otherwise
Supported API: true
-
showMiniVisualization
- Returns:
- true to show visualization on the mini info navigator and false otherwise
Supported API: true
-