org.openstreetmap.josm.gui
Enum MainApplication.Option

java.lang.Object
  extended by java.lang.Enum<MainApplication.Option>
      extended by org.openstreetmap.josm.gui.MainApplication.Option
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MainApplication.Option>
Enclosing class:
MainApplication

public static enum MainApplication.Option
extends java.lang.Enum<MainApplication.Option>


Enum Constant Summary
DOWNLOAD
           
DOWNLOADGPS
           
GEOMETRY
           
HELP
           
LANGUAGE
           
LOAD_PREFERENCES
           
MAXIMIZE
           
NO_MAXIMIZE
           
RESET_PREFERENCES
           
SELECTION
           
SET
           
VERSION
           
 
Field Summary
private  java.lang.String name
           
private  boolean requiresArgument
           
 
Method Summary
static java.util.Map<MainApplication.Option,java.util.Collection<java.lang.String>> fromStringMap(java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> opts)
           
 java.lang.String getName()
           
 boolean requiresArgument()
           
static MainApplication.Option valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MainApplication.Option[] 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, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HELP

public static final MainApplication.Option HELP

VERSION

public static final MainApplication.Option VERSION

LANGUAGE

public static final MainApplication.Option LANGUAGE

RESET_PREFERENCES

public static final MainApplication.Option RESET_PREFERENCES

LOAD_PREFERENCES

public static final MainApplication.Option LOAD_PREFERENCES

SET

public static final MainApplication.Option SET

GEOMETRY

public static final MainApplication.Option GEOMETRY

NO_MAXIMIZE

public static final MainApplication.Option NO_MAXIMIZE

MAXIMIZE

public static final MainApplication.Option MAXIMIZE

DOWNLOAD

public static final MainApplication.Option DOWNLOAD

DOWNLOADGPS

public static final MainApplication.Option DOWNLOADGPS

SELECTION

public static final MainApplication.Option SELECTION
Field Detail

name

private java.lang.String name

requiresArgument

private boolean requiresArgument
Method Detail

values

public static MainApplication.Option[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MainApplication.Option c : MainApplication.Option.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MainApplication.Option valueOf(java.lang.String name)
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 name
java.lang.NullPointerException - if the argument is null

getName

public java.lang.String getName()

requiresArgument

public boolean requiresArgument()

fromStringMap

public static java.util.Map<MainApplication.Option,java.util.Collection<java.lang.String>> fromStringMap(java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> opts)


JOSM