Package com.jbstrap.jbmap.enums
Enum Class LayerType
- All Implemented Interfaces:
Serializable
,Comparable<LayerType>
,Constable
Layer types. This class defines the layer type. You have to use it with a DataDescriptor.
- Since:
- 4.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic LayerType
Gets an enum layer type based on its name.Gets the layer class corresponding to the layer type.static LayerType
Returns the enum constant of this class with the specified name.static LayerType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
POINT
-
POPUP_POINT
-
DIV_POINT
-
CIRCLE_POINT
-
CIRCLE
-
AREA
-
LINE
-
RECTANGLE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromName
Gets an enum layer type based on its name.- Parameters:
name
- Enum layer type name- Returns:
- A layer type corresponding to the specified name;
null
if there is no layer type for the specified name
-
getLayerClass
Gets the layer class corresponding to the layer type.- Returns:
- The layer class corresponding to the layer type
-