public class VisualizerParameterizer extends Object implements Parameterizable
Modifier and Type | Class and Description |
---|---|
static class |
VisualizerParameterizer.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_HIDEVIS
Default pattern for visualizer disabling.
|
private Collection<VisFactory> |
factories
(Result-to-visualization) Adapters
|
static OptionID |
HIDEVIS_ID
Parameter to disable visualizers
Key: -vis.hide
Default: default properties file
|
private Pattern |
hideVisualizers
Visualizer disabling pattern
|
protected static Logging |
logger
Get a logger for this class.
|
private Collection<ProjectorFactory> |
projectors
Projectors to use.
|
private StyleLibrary |
stylelib
Style library to use.
|
static OptionID |
STYLELIB_ID
Parameter to get the style properties file.
|
Constructor and Description |
---|
VisualizerParameterizer(StyleLibrary stylelib,
Collection<ProjectorFactory> projectors,
Collection<VisFactory> factories,
Pattern hideVisualizers)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static String |
getTitle(Database db,
Result result)
Try to automatically generate a title for this.
|
VisualizerContext |
newContext(HierarchicalResult result)
Make a new visualization context
|
protected static final Logging logger
public static final OptionID STYLELIB_ID
Key: -visualizer.stylesheet Default: default properties file
public static final String DEFAULT_HIDEVIS
public static final OptionID HIDEVIS_ID
Key: -vis.hide Default: default properties file
private StyleLibrary stylelib
private Collection<VisFactory> factories
private Pattern hideVisualizers
private Collection<ProjectorFactory> projectors
public VisualizerParameterizer(StyleLibrary stylelib, Collection<ProjectorFactory> projectors, Collection<VisFactory> factories, Pattern hideVisualizers)
stylelib
- Style libraryprojectors
- Projectorsfactories
- Factories to usehideVisualizers
- Visualizer hiding patternpublic VisualizerContext newContext(HierarchicalResult result)
result
- Base result