Class AbstractOverlayLayerAction
- java.lang.Object
-
- adams.gui.visualization.segmentation.layer.overlaylayeraction.AbstractOverlayLayerAction
-
public abstract class AbstractOverlayLayerAction extends Object
Ancestor forOverlayLayer
actions.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description AbstractOverlayLayerAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ImageIcon
getIcon()
Returns the icon to use in the menu.abstract String
getIconName()
Returns the name of the icon to use.abstract String
getName()
The name to display in the menu.abstract void
performAction(OverlayLayer origin)
Performs the action.
-
-
-
Method Detail
-
getName
public abstract String getName()
The name to display in the menu.- Returns:
- the name
-
getIcon
public ImageIcon getIcon()
Returns the icon to use in the menu.- Returns:
- the icon
-
getIconName
public abstract String getIconName()
Returns the name of the icon to use.- Returns:
- the name, null for empty icon
-
performAction
public abstract void performAction(OverlayLayer origin)
Performs the action.- Parameters:
origin
- the origin of the action
-
-