private static final class ClusterStyleAction.SetStyleAction extends java.lang.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 |
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.
|
java.lang.String |
getMenuName()
Name to display in the menu.
|
private final Clustering<?> c
private final VisualizerContext context
private SetStyleAction(Clustering<?> c, VisualizerContext context)
c
- Clusteringcontext
- Contextpublic void activate()
VisualizationMenuAction
activate
in interface VisualizationMenuAction
public java.lang.String getMenuName()
VisualizationItem
null
or empty string.getMenuName
in interface VisualizationItem
public boolean enabled()
VisualizationMenuAction
enabled
in interface VisualizationMenuAction
true
when enabled.Copyright © 2019 ELKI Development Team. License information.