|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisFactory de.lmu.ifi.dbs.elki.visualization.visualizers.visunproj.LabelVisFactory
public class LabelVisFactory
Trivial "visualizer" that displays a static label. The visualizer is meant to be used for dimension labels in the overview.
Field Summary | |
---|---|
private String |
label
The label to render |
private boolean |
rotated
Flag to indicate rotated labels (90 deg to the left) |
Constructor Summary | |
---|---|
LabelVisFactory()
Constructor. |
|
LabelVisFactory(String label)
The actually used constructor - with a static label. |
|
LabelVisFactory(String label,
boolean rotated)
Constructor. |
Method Summary | |
---|---|
boolean |
allowThumbnails(VisualizationTask task)
Test whether to do a thumbnail or a full rendering. |
Visualization |
makeVisualization(VisualizationTask task)
Produce a visualization instance for the given task |
void |
processNewResult(HierarchicalResult baseResult,
Result newResult)
Add visualizers for the given result (tree) to the context. |
Methods inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisFactory |
---|
makeVisualizationOrThumbnail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private String label
private boolean rotated
Constructor Detail |
---|
public LabelVisFactory()
public LabelVisFactory(String label)
label
- Label to usepublic LabelVisFactory(String label, boolean rotated)
label
- Label to userotated
- Rotated 90 deg to the leftMethod Detail |
---|
public void processNewResult(HierarchicalResult baseResult, Result newResult)
VisFactory
baseResult
- Context to work withnewResult
- Result to processpublic Visualization makeVisualization(VisualizationTask task)
VisFactory
makeVisualization
in interface VisFactory
makeVisualization
in class AbstractVisFactory
task
- Visualization task
public boolean allowThumbnails(VisualizationTask task)
AbstractVisFactory
allowThumbnails
in class AbstractVisFactory
task
- Task requested
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |