private static final class ClusterStyleAction.SetStyleAction extends Object implements VisualizationMenuAction
ClusterStylingPolicy
.Modifier and Type | Field and Description |
---|---|
private Clustering<?> |
c
Clustering to use
|
private VisualizerContext |
context
Visualization context.
|
Modifier | Constructor and Description |
---|---|
private |
ClusterStyleAction.SetStyleAction(Clustering<?> c,
VisualizerContext context)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
activate()
Menu item was activated.
|
boolean |
enabled()
Indicate if the menu option is enabled or greyed out.
|
String |
getMenuName()
Name to display in the menu.
|
private final Clustering<?> c
private final VisualizerContext context
private ClusterStyleAction.SetStyleAction(Clustering<?> c, VisualizerContext context)
c
- Clusteringcontext
- Contextpublic void activate()
VisualizationMenuAction
activate
in interface VisualizationMenuAction
public String getMenuName()
VisualizationItem
null
or empty string.getMenuName
in interface VisualizationItem
public boolean enabled()
VisualizationMenuAction
enabled
in interface VisualizationMenuAction
true
when enabled.Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.