public static enum LayerEvent.Type extends Enum<LayerEvent.Type>
Enum Constant and Description |
---|
BASELAYERCHANGE |
LAYERADD |
LAYERREMOVE |
OVERLAYADD |
OVERLAYREMOVE |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static LayerEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LayerEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LayerEvent.Type LAYERADD
public static final LayerEvent.Type LAYERREMOVE
public static final LayerEvent.Type BASELAYERCHANGE
public static final LayerEvent.Type OVERLAYADD
public static final LayerEvent.Type OVERLAYREMOVE
public static LayerEvent.Type[] values()
for (LayerEvent.Type c : LayerEvent.Type.values()) System.out.println(c);
public static LayerEvent.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 String toString()
toString
in class Enum<LayerEvent.Type>
Copyright © 2017. All rights reserved.