public class LabelVisFactory 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 |
---|
LabelVisFactory()
Constructor.
|
LabelVisFactory(String label)
The actually used constructor - with a static label.
|
LabelVisFactory(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)
Produce a visualization instance for the given task
|
void |
processNewResult(HierarchicalResult baseResult,
Result newResult)
Add visualizers for the given result (tree) to the context.
|
makeVisualizationOrThumbnail
private String label
private boolean rotated
public LabelVisFactory()
public LabelVisFactory(String label)
label
- Label to usepublic LabelVisFactory(String label, boolean rotated)
label
- Label to userotated
- Rotated 90 deg to the leftpublic 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 taskpublic boolean allowThumbnails(VisualizationTask task)
AbstractVisFactory
allowThumbnails
in class AbstractVisFactory
task
- Task requested