|
||||||||||
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.VisualizerParameterizer
public class VisualizerParameterizer
Utility class to determine the visualizers for a result class.
Nested Class Summary | |
---|---|
static class |
VisualizerParameterizer.Parameterizer
Parameterization class. |
Field Summary | |
---|---|
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 Summary | |
---|---|
VisualizerParameterizer(StyleLibrary stylelib,
Collection<ProjectorFactory> projectors,
Collection<VisFactory> factories,
Pattern hideVisualizers)
Constructor. |
Method Summary | |
---|---|
static String |
getTitle(Database db,
Result result)
Try to automatically generate a title for this. |
VisualizerContext |
newContext(HierarchicalResult result)
Make a new visualization context |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public VisualizerParameterizer(StyleLibrary stylelib, Collection<ProjectorFactory> projectors, Collection<VisFactory> factories, Pattern hideVisualizers)
stylelib
- Style libraryprojectors
- Projectorsfactories
- Factories to usehideVisualizers
- Visualizer hiding patternMethod Detail |
---|
public VisualizerContext newContext(HierarchicalResult result)
result
- Base result
public static String getTitle(Database db, Result result)
db
- Databaseresult
- Result object
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |