|
|
|||||||||||||||||||||
| 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
de.lmu.ifi.dbs.elki.visualization.gui.overview.VisualizationLabel
public class VisualizationLabel
Trivial "visualizer" that displays a label. The visualizer is meant to be used for dimension labels in the overview, and doesn't support a "detail" view.
| Field Summary | |
|---|---|
(package private) String |
label
Label to display |
(package private) StyleLibrary |
style
|
| Fields inherited from class de.lmu.ifi.dbs.elki.visualization.gui.overview.VisualizationInfo |
|---|
height, thumbnail, width |
| Constructor Summary | |
|---|---|
VisualizationLabel(String label,
double width,
double height)
Constructor |
|
| Method Summary | |
|---|---|
Element |
build(SVGPlot plot,
double width,
double height)
Build (render) the visualization into an SVG tree. |
protected Visualizer |
getVisualization()
|
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 de.lmu.ifi.dbs.elki.visualization.gui.overview.VisualizationInfo |
|---|
generateThumbnail, getHeight, getThumbnailIfGenerated, getWidth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
StyleLibrary style
String label
| Constructor Detail |
|---|
public VisualizationLabel(String label,
double width,
double height)
label - Label to displaywidth - Widthheight - Height| Method Detail |
|---|
public boolean isVisible()
VisualizationInfo
isVisible in class VisualizationInfopublic boolean thumbnailEnabled()
VisualizationInfo
thumbnailEnabled in class VisualizationInfo
public Element build(SVGPlot plot,
double width,
double height)
VisualizationInfo
build in class VisualizationInfoplot - SVG plot context (factory)width - Canvas widthheight - Canvas height
protected Visualizer getVisualization()
getVisualization in class VisualizationInfopublic Element makeElement(SVGPlot plot)
VisualizationInfo
makeElement in class VisualizationInfoplot - Plot to insert into
public boolean hasDetails()
VisualizationInfo
hasDetails in class VisualizationInfo
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||