public class AxisReorderVisualization.Instance extends AbstractParallelVisualization<NumberVector>
Modifier and Type | Field and Description |
---|---|
static String |
SDO_ARROW
CSS class for a button cross
|
static String |
SDO_BORDER
CSS class for a button border
|
static String |
SDO_BUTTON
CSS class for a tool button
|
static String |
SELECTDIMENSIONORDER
Generic tags to indicate the type of element.
|
private int |
selecteddim
Currently selected dimension.
|
axsep, margins, proj, relation, size
context, layer, svgp, task
Constructor and Description |
---|
Instance(VisualizationTask task,
VisualizationPlot plot,
double width,
double height,
Projection proj)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private void |
addCSSClasses(SVGPlot svgp)
Adds the required CSS-Classes
|
private void |
addEventListener(Element tag,
int i,
SVGArrow.Direction j)
Add an event listener to the Element
|
void |
fullRedraw()
Request a full redrawing of the visualization.
|
getAxisSep, getMarginLeft, getMarginTop, getSizeX, getSizeY, getVisibleAxisX, setupCanvas, visualizationChanged
addListeners, contentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved
public static final String SELECTDIMENSIONORDER
public static final String SDO_BUTTON
public static final String SDO_BORDER
public static final String SDO_ARROW
private int selecteddim
public Instance(VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
task
- VisualizationTaskplot
- Plot to draw towidth
- Embedding widthheight
- Embedding heightproj
- Projectionpublic void fullRedraw()
Visualization
fullRedraw
in interface Visualization
fullRedraw
in class AbstractParallelVisualization<NumberVector>
private void addEventListener(Element tag, int i, SVGArrow.Direction j)
tag
- Element to add the listeneri
- represented axisprivate void addCSSClasses(SVGPlot svgp)
svgp
- SVG-PlotCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.