public class LabelVisualization extends java.lang.Object implements VisFactory
| Modifier and Type | Field and Description | 
|---|---|
| private java.lang.String | labelThe label to render | 
| private boolean | rotatedFlag 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, waitmakeVisualizationOrThumbnailprivate 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)
VisFactoryprocessNewResult in interface VisualizationProcessorprocessNewResult in interface VisFactorycontext - Visualization contextstart - Result to processpublic Visualization makeVisualization(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
VisFactorymakeVisualization in interface VisFactorycontext - Visualization contexttask - Visualization taskplot - Plotwidth - Widthheight - Heightproj - Projectionpublic boolean allowThumbnails(VisualizationTask task)
VisFactoryallowThumbnails in interface VisFactorytask - Task requestedCopyright © 2019 ELKI Development Team. License information.