Enum Class ExportRelationToGpxAction.Mode
java.lang.Object
java.lang.Enum<ExportRelationToGpxAction.Mode>
org.openstreetmap.josm.actions.relation.ExportRelationToGpxAction.Mode
- All Implemented Interfaces:
Serializable,Comparable<ExportRelationToGpxAction.Mode>,Constable
- Enclosing class:
- ExportRelationToGpxAction
Enumeration of export variants
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionconcatenate members from first to last elementconcatenate members from last to first elementexport to GPX file and open FileChooserexport to GPX layer and add to LayerManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ExportRelationToGpxAction.Mode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FROM_FIRST_MEMBER
concatenate members from first to last element -
FROM_LAST_MEMBER
concatenate members from last to first element -
TO_LAYER
export to GPX layer and add to LayerManager -
TO_FILE
export to GPX file and open FileChooser
-
-
Constructor Details
-
Mode
private Mode()
-
-
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
-