org.openstreetmap.josm.tools
Enum ImageProvider.OverlayPosition

java.lang.Object
  extended by java.lang.Enum<ImageProvider.OverlayPosition>
      extended by org.openstreetmap.josm.tools.ImageProvider.OverlayPosition
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ImageProvider.OverlayPosition>
Enclosing class:
ImageProvider

public static enum ImageProvider.OverlayPosition
extends java.lang.Enum<ImageProvider.OverlayPosition>

Position of an overlay icon


Enum Constant Summary
NORTHEAST
           
NORTHWEST
           
SOUTHEAST
           
SOUTHWEST
           
 
Method Summary
static ImageProvider.OverlayPosition valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ImageProvider.OverlayPosition[] 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

NORTHWEST

public static final ImageProvider.OverlayPosition NORTHWEST

NORTHEAST

public static final ImageProvider.OverlayPosition NORTHEAST

SOUTHWEST

public static final ImageProvider.OverlayPosition SOUTHWEST

SOUTHEAST

public static final ImageProvider.OverlayPosition SOUTHEAST
Method Detail

values

public static ImageProvider.OverlayPosition[] 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 (ImageProvider.OverlayPosition c : ImageProvider.OverlayPosition.values())
    System.out.println(c);

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

valueOf

public static ImageProvider.OverlayPosition 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


JOSM