
NV - Type of the NumberVector being visualized.public class SelectionCubeVisualization<NV extends NumberVector<NV,?>> extends P2DVisualization<NV> implements ContextChangeListener
| Modifier and Type | Class and Description |
|---|---|
static class |
SelectionCubeVisualization.Factory<NV extends NumberVector<NV,?>>
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, relcontext, 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
|
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
|
setupCanvascontextChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved, synchronizedRedraw, testRedrawclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontextChangedprivate 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)
private void addCSSClasses(SVGPlot svgp)
svgp - SVG-Plotprivate void setSVGRect(SVGPlot svgp, Projection2D proj)
svgp - The plotproj - The projectionprotected void redraw()
AbstractVisualizationredraw in class AbstractVisualization