Package elki.visualization.visualizers
Class StaticVisualizationInstance
- java.lang.Object
-
- elki.visualization.visualizers.AbstractVisualization
-
- elki.visualization.visualizers.StaticVisualizationInstance
-
- All Implemented Interfaces:
DataStoreListener
,ResultListener
,VisualizationListener
,Visualization
,java.util.EventListener
public class StaticVisualizationInstance extends AbstractVisualization
Static visualization- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Field Summary
-
Fields inherited from class elki.visualization.visualizers.AbstractVisualization
context, layer, svgp, task
-
-
Constructor Summary
Constructors Constructor Description StaticVisualizationInstance(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, org.w3c.dom.Element element)
Unchanging precomputed visualization.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fullRedraw()
Request a full redrawing of the visualization.void
incrementalRedraw()
Redraw the visualization (maybe incremental).-
Methods inherited from class elki.visualization.visualizers.AbstractVisualization
addListeners, contentChanged, destroy, getHeight, getLayer, getWidth, resultChanged, visualizationChanged
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.result.ResultListener
resultAdded, resultRemoved
-
-
-
-
Constructor Detail
-
StaticVisualizationInstance
public StaticVisualizationInstance(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, org.w3c.dom.Element element)
Unchanging precomputed visualization.- Parameters:
context
- Visualizer contexttask
- Task to visualizeplot
- Plot to draw towidth
- Embedding widthheight
- Embedding heightelement
- Element containing the resulting visualization
-
-
Method Detail
-
incrementalRedraw
public void incrementalRedraw()
Description copied from class:AbstractVisualization
Redraw the visualization (maybe incremental). Optional - by default, it will do a full redraw, which often is faster!- Specified by:
incrementalRedraw
in interfaceVisualization
- Overrides:
incrementalRedraw
in classAbstractVisualization
-
fullRedraw
public void fullRedraw()
Description copied from interface:Visualization
Request a full redrawing of the visualization.- Specified by:
fullRedraw
in interfaceVisualization
- Specified by:
fullRedraw
in classAbstractVisualization
-
-