|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.visualization.svg.SVGPlot de.lmu.ifi.dbs.elki.visualization.gui.detail.DetailView
public class DetailView
Manages a detail view.
Nested Class Summary | |
---|---|
protected class |
DetailView.InsertVisualization
Class used to insert a new visualization layer |
Field Summary | |
---|---|
(package private) VisualizerContext |
context
The visualizer context |
private double |
height
The created height |
(package private) Map<VisualizationTask,Visualization> |
layermap
Map from visualizers to layers |
(package private) double |
ratio
Ratio of this view. |
(package private) PlotItem |
visi
Meta information on the visualizers contained. |
private double |
width
The created width |
Fields inherited from class de.lmu.ifi.dbs.elki.visualization.svg.SVGPlot |
---|
DEFAULT_QUALITY |
Constructor Summary | |
---|---|
DetailView(VisualizerContext context,
PlotItem vis,
double ratio)
Constructor. |
Method Summary | |
---|---|
private void |
addBackground(VisualizerContext context)
Create a background node. |
void |
destroy()
Cleanup function. |
private void |
destroyVisualizations()
|
void |
dispose()
Clean up the plot. |
double |
getRatio()
Get the plot ratio. |
protected void |
redraw()
|
void |
resultAdded(Result child,
Result parent)
A new derived result was added. |
void |
resultChanged(Result current)
Notify that the current result has changed substantially. |
void |
resultRemoved(Result child,
Result parent)
A result was removed. |
void |
setRatio(double ratio)
Set the plot ratio |
Methods inherited from class de.lmu.ifi.dbs.elki.visualization.svg.SVGPlot |
---|
addCSSClassOrLogError, dumpDebugFile, elementCoordinatesFromEvent, getAllIds, getCSSClassManager, getDefs, getDisableInteractions, getDocument, getIdElement, getRoot, getStyle, putIdElement, saveAsANY, saveAsEPS, saveAsJPEG, saveAsJPEG, saveAsPDF, saveAsPNG, saveAsPS, saveAsSVG, scheduleUpdate, setDisableInteractions, svgCircle, svgElement, svgLine, svgRect, svgText, synchronizeWith, transcode, unsynchronizeWith, updateStyleElement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
PlotItem visi
double ratio
VisualizerContext context
Map<VisualizationTask,Visualization> layermap
private double width
private double height
Constructor Detail |
---|
public DetailView(VisualizerContext context, PlotItem vis, double ratio)
vis
- Visualizations to useratio
- Plot ratioMethod Detail |
---|
private void addBackground(VisualizerContext context)
context
- protected void redraw()
public void destroy()
private void destroyVisualizations()
public void dispose()
SVGPlot
dispose
in class SVGPlot
public double getRatio()
public void setRatio(double ratio)
ratio
- the new ratio to setpublic void resultAdded(Result child, Result parent)
ResultListener
resultAdded
in interface ResultListener
child
- New child result addedparent
- Parent result that was added topublic void resultChanged(Result current)
ResultListener
resultChanged
in interface ResultListener
current
- Result that has changed.public void resultRemoved(Result child, Result parent)
ResultListener
resultRemoved
in interface ResultListener
child
- result that was removedparent
- Parent result that was removed from
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |