Package com.jbstrap.jbmap.enums
Enum Class DivLayerAlign
- All Implemented Interfaces:
Serializable
,Comparable<DivLayerAlign>
,Constable
DivLayer align used for maps.
- 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 ConstantDescriptionAligns the DivLayer to the lower left corner of the map.Aligns the DivLayer to the lower right corner of the map.Aligns the DivLayer to the upper left corner of the map.Aligns the DivLayer to the upper right corner of the map. -
Method Summary
Modifier and TypeMethodDescriptionstatic DivLayerAlign
Determines a DivLayerAlign by its specified name.static DivLayerAlign
Determines the divLayer aligngetValue()
Gets the alignment text.static DivLayerAlign
Returns the enum constant of this class with the specified name.static DivLayerAlign[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOP_LEFT
Aligns the DivLayer to the upper left corner of the map. -
TOP_RIGHT
Aligns the DivLayer to the upper right corner of the map. -
BOTTOM_LEFT
Aligns the DivLayer to the lower left corner of the map. -
BOTTOM_RIGHT
Aligns the DivLayer to the lower right corner of the map.
-
-
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
-
getValue
Gets the alignment text.- Returns:
- Alignment text
-
fromName
Determines a DivLayerAlign by its specified name.- Parameters:
name
- DivLayerAlign name- Returns:
- DivLayerAlign for the specified name or
null
if there is no DivLayerAlign for the specified name
-
fromValue
Determines the divLayer align- Parameters:
value
- DivLayer align- Returns:
- DivLayerAlign for the specified value or
null
if there is no DivLayerAlign for the specified value
-