Class AbstractOverlayLayerAction
- java.lang.Object
-
- adams.gui.visualization.segmentation.layer.overlaylayeraction.AbstractOverlayLayerAction
-
-
Constructor Summary
Constructors Constructor Description AbstractOverlayLayerAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ImageIcongetIcon()Returns the icon to use in the menu.abstract StringgetIconName()Returns the name of the icon to use.abstract StringgetName()The name to display in the menu.abstract voidperformAction(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
-
-