Class DendrogramVisualization.SwitchStyleAction
- java.lang.Object
-
- elki.visualization.visualizers.visunproj.DendrogramVisualization.SwitchStyleAction
-
- All Implemented Interfaces:
VisualizationItem
,VisualizationMenuAction
- Enclosing class:
- DendrogramVisualization
public class DendrogramVisualization.SwitchStyleAction extends java.lang.Object implements VisualizationMenuAction
Menu item to change visualization styles.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private VisualizerContext
context
Visualizer context.private VisualizationTask
task
Task we represent.
-
Constructor Summary
Constructors Constructor Description SwitchStyleAction(VisualizationTask task, VisualizerContext context)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate()
Menu item was activated.java.lang.String
getMenuName()
Name to display in the menu.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.visualization.VisualizationMenuAction
enabled
-
-
-
-
Field Detail
-
task
private VisualizationTask task
Task we represent.
-
context
private VisualizerContext context
Visualizer context.
-
-
Constructor Detail
-
SwitchStyleAction
public SwitchStyleAction(VisualizationTask task, VisualizerContext context)
Constructor.- Parameters:
task
- Taskcontext
- Visualizer context
-
-
Method Detail
-
getMenuName
public java.lang.String getMenuName()
Description copied from interface:VisualizationItem
Name to display in the menu. May benull
or empty string.- Specified by:
getMenuName
in interfaceVisualizationItem
- Returns:
- Menu name.
-
activate
public void activate()
Description copied from interface:VisualizationMenuAction
Menu item was activated.- Specified by:
activate
in interfaceVisualizationMenuAction
-
-