Package adams.gui.event
Enum PlotPanelZoomEvent.ZoomEventType
- java.lang.Object
-
- java.lang.Enum<PlotPanelZoomEvent.ZoomEventType>
-
- adams.gui.event.PlotPanelZoomEvent.ZoomEventType
-
- All Implemented Interfaces:
Serializable
,Comparable<PlotPanelZoomEvent.ZoomEventType>
- Enclosing class:
- PlotPanelZoomEvent
public static enum PlotPanelZoomEvent.ZoomEventType extends Enum<PlotPanelZoomEvent.ZoomEventType>
The type of zoom event.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PlotPanelZoomEvent.ZoomEventType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PlotPanelZoomEvent.ZoomEventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUSH
public static final PlotPanelZoomEvent.ZoomEventType PUSH
added zoom.
-
POP
public static final PlotPanelZoomEvent.ZoomEventType POP
removed zoom.
-
CLEAR
public static final PlotPanelZoomEvent.ZoomEventType CLEAR
cleared all zooms.
-
-
Method Detail
-
values
public static PlotPanelZoomEvent.ZoomEventType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PlotPanelZoomEvent.ZoomEventType c : PlotPanelZoomEvent.ZoomEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlotPanelZoomEvent.ZoomEventType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-