Package adams.gui.event
Enum PlotPanelPanningEvent.PanningEventType
- java.lang.Object
-
- java.lang.Enum<PlotPanelPanningEvent.PanningEventType>
-
- adams.gui.event.PlotPanelPanningEvent.PanningEventType
-
- All Implemented Interfaces:
Serializable
,Comparable<PlotPanelPanningEvent.PanningEventType>
- Enclosing class:
- PlotPanelPanningEvent
public static enum PlotPanelPanningEvent.PanningEventType extends Enum<PlotPanelPanningEvent.PanningEventType>
The type of panning 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 PlotPanelPanningEvent.PanningEventType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PlotPanelPanningEvent.PanningEventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PANNING
public static final PlotPanelPanningEvent.PanningEventType PANNING
panning.
-
RESET
public static final PlotPanelPanningEvent.PanningEventType RESET
resets panning.
-
-
Method Detail
-
values
public static PlotPanelPanningEvent.PanningEventType[] 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 (PlotPanelPanningEvent.PanningEventType c : PlotPanelPanningEvent.PanningEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlotPanelPanningEvent.PanningEventType 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
-
-