public static enum MapBoundsEvent.Type extends Enum<MapBoundsEvent.Type>
Modifier and Type | Method and Description |
---|---|
int |
getMask()
Return the traditional mask value one of:
MapBoundsEvent.AREA_OF_INTEREST_MASK or
MapBoundsEvent.COORDINATE_SYSTEM_MASK |
static MapBoundsEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MapBoundsEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapBoundsEvent.Type BOUNDS
public static final MapBoundsEvent.Type CRS
public static MapBoundsEvent.Type[] values()
for (MapBoundsEvent.Type c : MapBoundsEvent.Type.values()) System.out.println(c);
public static MapBoundsEvent.Type 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 nullpublic int getMask()
MapBoundsEvent.AREA_OF_INTEREST_MASK
or
MapBoundsEvent.COORDINATE_SYSTEM_MASK
Copyright © 1996–2023 Geotools. All rights reserved.