public static enum JMapFrame.Tool extends Enum<JMapFrame.Tool>
JMapFrame.enableTool(org.geotools.swing.JMapFrame.Tool...) method.| Enum Constant and Description | 
|---|
| INFOThe feature info cursor tool | 
| PANThe panning cursor tool. | 
| POINTERSimple mouse cursor, used to unselect previous cursor tool. | 
| RESETThe reset map extent cursor tool. | 
| SCROLLWHEELThe map should zoom with the mouse wheel. | 
| ZOOMThe zoom display cursor tools. | 
| Modifier and Type | Method and Description | 
|---|---|
| static JMapFrame.Tool | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static JMapFrame.Tool[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final JMapFrame.Tool POINTER
public static final JMapFrame.Tool INFO
public static final JMapFrame.Tool PAN
public static final JMapFrame.Tool RESET
public static final JMapFrame.Tool ZOOM
public static final JMapFrame.Tool SCROLLWHEEL
public static JMapFrame.Tool[] values()
for (JMapFrame.Tool c : JMapFrame.Tool.values()) System.out.println(c);
public static JMapFrame.Tool valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 1996–2019 Geotools. All rights reserved.