com.oziexplorer
Enum ObjectClickType

java.lang.Object
  extended by java.lang.Enum<ObjectClickType>
      extended by com.oziexplorer.ObjectClickType
All Implemented Interfaces:
Serializable, Comparable<ObjectClickType>

public enum ObjectClickType
extends Enum<ObjectClickType>

Enumeration of the different types of object click events.

Copyright 2011 Alan Burlison, . All rights reserved. Use is subject to license terms, see LICENSE.txt.
SourceForge.net


Enum Constant Summary
ACTIVE_POINT
          Click on an active point.
ACTIVE_TRACKPOINT
          Click on an active track point.
EVENT
          Click on an event.
MAP_COMMENT
          Click on a map comment.
MAP_FEATURE
          Click on a map feature.
WAYPOINT
          Click on a waypoint.
 
Method Summary
 String getType()
          Retrieve the string type of the click event.
 String toString()
          Retrieve a string representation of the click type.
static ObjectClickType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ObjectClickType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

WAYPOINT

public static final ObjectClickType WAYPOINT
Click on a waypoint.


EVENT

public static final ObjectClickType EVENT
Click on an event.


MAP_FEATURE

public static final ObjectClickType MAP_FEATURE
Click on a map feature.


MAP_COMMENT

public static final ObjectClickType MAP_COMMENT
Click on a map comment.


ACTIVE_TRACKPOINT

public static final ObjectClickType ACTIVE_TRACKPOINT
Click on an active track point.


ACTIVE_POINT

public static final ObjectClickType ACTIVE_POINT
Click on an active point.

Method Detail

values

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

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

valueOf

public static ObjectClickType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getType

public String getType()
Retrieve the string type of the click event.

Returns:
the string type of the click event

toString

public String toString()
Retrieve a string representation of the click type.

Overrides:
toString in class Enum<ObjectClickType>
Returns:
a string representation of the click type