public class LabelVisualization extends java.lang.Object implements VisFactory
Modifier and Type | Field and Description |
---|---|
private java.lang.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(java.lang.String label)
The actually used constructor - with a static label.
|
LabelVisualization(java.lang.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(VisualizerContext context,
VisualizationTask task,
VisualizationPlot plot,
double width,
double height,
Projection proj)
Produce a visualization instance for the given task
|
void |
processNewResult(VisualizerContext context,
java.lang.Object start)
Add visualizers for the given result (tree) to the context.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
makeVisualizationOrThumbnail
private java.lang.String label
private boolean rotated
public LabelVisualization()
public LabelVisualization(java.lang.String label)
label
- Label to usepublic LabelVisualization(java.lang.String label, boolean rotated)
label
- Label to userotated
- Rotated 90 deg to the leftpublic void processNewResult(VisualizerContext context, java.lang.Object start)
VisFactory
processNewResult
in interface VisualizationProcessor
processNewResult
in interface VisFactory
context
- Visualization contextstart
- Result to processpublic Visualization makeVisualization(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
VisFactory
makeVisualization
in interface VisFactory
context
- Visualization contexttask
- Visualization taskplot
- Plotwidth
- Widthheight
- Heightproj
- Projectionpublic boolean allowThumbnails(VisualizationTask task)
VisFactory
allowThumbnails
in interface VisFactory
task
- Task requestedCopyright © 2019 ELKI Development Team. License information.