public class LabelVisualization extends AbstractVisFactory
Modifier and Type | Field and Description |
---|---|
private String |
label
The label to render
|
private boolean |
rotated
Flag to indicate rotated labels (90 deg to the left)
|
Constructor and Description |
---|
LabelVisualization()
Constructor.
|
LabelVisualization(String label)
The actually used constructor - with a static label.
|
LabelVisualization(String label,
boolean rotated)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowThumbnails(VisualizationTask task)
Test whether to do a thumbnail or a full rendering.
|
Visualization |
makeVisualization(VisualizationTask task,
VisualizationPlot plot,
double width,
double height,
Projection proj)
Produce a visualization instance for the given task
|
void |
processNewResult(VisualizerContext context,
Object start)
Add visualizers for the given result (tree) to the context.
|
makeVisualizationOrThumbnail
private String label
private boolean rotated
public LabelVisualization()
public LabelVisualization(String label)
label
- Label to usepublic LabelVisualization(String label, boolean rotated)
label
- Label to userotated
- Rotated 90 deg to the leftpublic void processNewResult(VisualizerContext context, Object start)
VisFactory
context
- Visualization contextstart
- Result to processpublic Visualization makeVisualization(VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
VisFactory
makeVisualization
in interface VisFactory
makeVisualization
in class AbstractVisFactory
task
- Visualization taskplot
- Plotwidth
- Widthheight
- Heightproj
- Projectionpublic boolean allowThumbnails(VisualizationTask task)
AbstractVisFactory
allowThumbnails
in class AbstractVisFactory
task
- Task requestedCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.