Package provided.owlMaps.general
Enum SymbolPathConstants
java.lang.Object
java.lang.Enum<SymbolPathConstants>
provided.owlMaps.general.SymbolPathConstants
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SymbolPathConstants>
,java.lang.constant.Constable
,ISymbolPath
public enum SymbolPathConstants extends java.lang.Enum<SymbolPathConstants> implements ISymbolPath
Predefined symbols for use with markers, polylines, etc.
- Author:
- swong
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description BACKWARD_CLOSED_ARROW
A backward-pointing closed arrow.BACKWARD_OPEN_ARROW
A backward-pointing open arrow.CIRCLE
A circle.FORWARD_CLOSED_ARROW
A forward-pointing closed arrow.FORWARD_OPEN_ARROW
A forward-pointing open arrow. -
Field Summary
Fields Modifier and Type Field Description private java.lang.String
name
The Google Maps event name -
Constructor Summary
Constructors Modifier Constructor Description private
SymbolPathConstants(java.lang.String name)
Construct an enum instance -
Method Summary
Modifier and Type Method Description <R, P> R
execute(ISymbolPathAlgo<R,P> algo, P... params)
Standard visitor pattern "accept" method for ISymbolPath processing visitor algorithms.java.lang.String
getName()
Accessor for the associated Google Maps SymbolPath namestatic SymbolPathConstants
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SymbolPathConstants[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
BACKWARD_CLOSED_ARROW
A backward-pointing closed arrow. -
BACKWARD_OPEN_ARROW
A backward-pointing open arrow. -
CIRCLE
A circle. -
FORWARD_CLOSED_ARROW
A forward-pointing closed arrow. -
FORWARD_OPEN_ARROW
A forward-pointing open arrow.
-
-
Field Details
-
name
private final java.lang.String nameThe Google Maps event name
-
-
Constructor Details
-
SymbolPathConstants
private SymbolPathConstants(java.lang.String name)Construct an enum instance- Parameters:
name
- The associated Google Maps event name
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getName
public java.lang.String getName()Accessor for the associated Google Maps SymbolPath name- Returns:
- The associated Google Maps event name
-
execute
Description copied from interface:ISymbolPath
Standard visitor pattern "accept" method for ISymbolPath processing visitor algorithms.- Specified by:
execute
in interfaceISymbolPath
- Type Parameters:
R
- The return type of the algorithmP
- The parameter type of the algorithm- Parameters:
algo
- The visitor algorithm to executeparams
- Vararg parameter values for the algorithm- Returns:
- The return value of the algorithm
-