public class SelectionCubeVisualization extends AbstractScatterplotVisualization
Modifier and Type | Class and Description |
---|---|
static class |
SelectionCubeVisualization.Factory
Factory for visualizers to generate an SVG-Element containing a cube as
marker representing the selected range for each dimension
|
Modifier and Type | Field and Description |
---|---|
static String |
CSS_CUBE
CSS class for the filled cube
|
static String |
CSS_CUBEFRAME
CSS class for the cube frame
|
static String |
MARKER
Generic tag to indicate the type of element.
|
private static String |
NAME
A short name characterizing this Visualizer.
|
protected boolean |
nofill
Fill parameter.
|
proj, rel, sample
context, layer, pendingRedraw, svgp, task
Constructor and Description |
---|
SelectionCubeVisualization(VisualizationTask task,
boolean nofill) |
Modifier and Type | Method and Description |
---|---|
private void |
addCSSClasses(SVGPlot svgp)
Adds the required CSS-Classes
|
void |
destroy()
Destroy the visualization.
|
protected void |
redraw()
Perform a full redraw.
|
private void |
setSVGRect(SVGPlot svgp,
Projection2D proj)
Generates a cube and a frame depending on the selection stored in the
context
|
resultChanged, setupCanvas
contentChanged, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultRemoved, synchronizedRedraw
private static final String NAME
public static final String MARKER
public static final String CSS_CUBE
public static final String CSS_CUBEFRAME
protected boolean nofill
public SelectionCubeVisualization(VisualizationTask task, boolean nofill)
public void destroy()
Visualization
destroy
in interface Visualization
destroy
in class AbstractVisualization
private void addCSSClasses(SVGPlot svgp)
svgp
- SVG-Plotprivate void setSVGRect(SVGPlot svgp, Projection2D proj)
svgp
- The plotproj
- The projectionprotected void redraw()
AbstractVisualization
redraw
in class AbstractVisualization