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, pendingRedraw, svgp, task
Constructor and Description |
---|
AxisReorderVisualization.Instance(VisualizationTask task)
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
|
protected void |
redraw()
Perform a full redraw.
|
getAxisSep, getMarginLeft, getMarginTop, getSizeX, getSizeY, getVisibleAxisX, resultChanged, setupCanvas
contentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultRemoved, synchronizedRedraw
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 AxisReorderVisualization.Instance(VisualizationTask task)
task
- VisualizationTaskprotected void redraw()
AbstractVisualization
redraw
in class AbstractVisualization
private void addEventListener(Element tag, int i, SVGArrow.Direction j)
tag
- Element to add the listeneri
- represented axisprivate void addCSSClasses(SVGPlot svgp)
svgp
- SVG-Plot