Package elki.visualization.gui
Class VisualizationPlot
- java.lang.Object
-
- elki.visualization.svg.SVGPlot
-
- elki.visualization.gui.VisualizationPlot
-
- Direct Known Subclasses:
DetailView
public class VisualizationPlot extends SVGPlot
SVG plot that allows visualization to schedule updates.- Since:
- 0.7.0
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Runnable
pendingRedraw
Pending redraw request in Batik.protected java.util.concurrent.ConcurrentLinkedDeque<Visualization>
updateQueue
Update queue.-
Fields inherited from class elki.visualization.svg.SVGPlot
DEFAULT_QUALITY, NO_EXPORT_ATTRIBUTE
-
-
Constructor Summary
Constructors Constructor Description VisualizationPlot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
redraw()
Redraw all pending updates.void
requestRedraw(VisualizationTask task, Visualization vis)
Request a redraw of a visualization.protected void
synchronizedRedraw()
Trigger a redraw, but avoid excessive redraws.-
Methods inherited from class elki.visualization.svg.SVGPlot
addCSSClassOrLogError, cloneDocument, dispose, dumpDebugFile, elementCoordinatesFromEvent, getAllIds, getCSSClassManager, getDefs, getDisableInteractions, getDocument, getDomImpl, getIdElement, getRoot, makeAWTImage, putIdElement, saveAsANY, saveAsEPS, saveAsJPEG, saveAsJPEG, saveAsPDF, saveAsPNG, saveAsPS, saveAsSVG, scheduleUpdate, setDisableInteractions, svgCircle, svgElement, svgElement, svgLine, svgRect, svgText, synchronizeWith, transcode, unsynchronizeWith, updateStyleElement
-
-
-
-
Field Detail
-
pendingRedraw
protected java.lang.Runnable pendingRedraw
Pending redraw request in Batik.
-
updateQueue
protected java.util.concurrent.ConcurrentLinkedDeque<Visualization> updateQueue
Update queue.
-
-
Method Detail
-
synchronizedRedraw
protected final void synchronizedRedraw()
Trigger a redraw, but avoid excessive redraws.
-
redraw
protected void redraw()
Redraw all pending updates.
-
requestRedraw
public void requestRedraw(VisualizationTask task, Visualization vis)
Request a redraw of a visualization.
-
-