|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lmu.ifi.dbs.elki.visualization.gui.overview.VisualizationInfo
abstract class VisualizationInfo
Class representing a single visualization on the screen.
Field Summary | |
---|---|
protected double |
height
Height |
protected File |
thumbnail
Thumbnail reference. |
protected double |
width
Width |
Constructor Summary | |
---|---|
VisualizationInfo(double width,
double height)
Constructor. |
Method Summary | |
---|---|
abstract Element |
build(SVGPlot plot,
double width,
double height)
Build (render) the visualization into an SVG tree. |
(package private) File |
generateThumbnail(Thumbnailer t,
int uwidth)
Generate a thumbnail for this visualization. |
protected double |
getHeight()
Get the height |
(package private) File |
getThumbnailIfGenerated()
Access the existing thumbnail, or null . |
protected abstract Visualizer |
getVisualization()
|
protected double |
getWidth()
Get the width |
boolean |
hasDetails()
Test whether a detail view is available. |
boolean |
isVisible()
Test whether the visualization is set to be visible. |
Element |
makeElement(SVGPlot plot)
Make an element for this visualization. |
boolean |
thumbnailEnabled()
Test whether a thumbnail is needed for this visualization. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected File thumbnail
protected double width
protected double height
Constructor Detail |
---|
public VisualizationInfo(double width, double height)
width
- Widthheight
- HeightMethod Detail |
---|
public abstract Element build(SVGPlot plot, double width, double height)
plot
- SVG plot context (factory)width
- Canvas widthheight
- Canvas height
File getThumbnailIfGenerated()
null
.
File generateThumbnail(Thumbnailer t, int uwidth)
getThumbnailIfGenerated()
.
t
- Thumbnailer to useuwidth
- Thumbnail width
protected abstract Visualizer getVisualization()
public boolean thumbnailEnabled()
public boolean hasDetails()
public boolean isVisible()
public Element makeElement(SVGPlot plot)
plot
- Plot to insert into
protected double getWidth()
protected double getHeight()
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |