public class SelectionCubeVisualization.Instance extends AbstractScatterplotVisualization
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.
|
proj, rel, sample
context, layer, pendingRedraw, svgp, task
Constructor and Description |
---|
SelectionCubeVisualization.Instance(VisualizationTask task) |
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
public static final String MARKER
public static final String CSS_CUBE
public static final String CSS_CUBEFRAME
public SelectionCubeVisualization.Instance(VisualizationTask task)
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