org.jdesktop.wonderland.client.cell
Enum TransformChangeListener.ChangeSource

java.lang.Object
  extended by java.lang.Enum<TransformChangeListener.ChangeSource>
      extended by org.jdesktop.wonderland.client.cell.TransformChangeListener.ChangeSource
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TransformChangeListener.ChangeSource>
Enclosing interface:
TransformChangeListener

public static enum TransformChangeListener.ChangeSource
extends java.lang.Enum<TransformChangeListener.ChangeSource>

The source, or originator of a transform change.


Enum Constant Summary
LOCAL
          The change was originated from the local client
REMOTE
          Change was originated from a remote client
SERVER_ADJUST
          The change was originated by the server because a previous transform was illegal
 
Method Summary
static TransformChangeListener.ChangeSource valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TransformChangeListener.ChangeSource[] 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

LOCAL

public static final TransformChangeListener.ChangeSource LOCAL
The change was originated from the local client


REMOTE

public static final TransformChangeListener.ChangeSource REMOTE
Change was originated from a remote client


SERVER_ADJUST

public static final TransformChangeListener.ChangeSource SERVER_ADJUST
The change was originated by the server because a previous transform was illegal

Method Detail

values

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

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

valueOf

public static TransformChangeListener.ChangeSource 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


Open Wonderland - http://openwonderland.org