org.miv.pherd
Enum ParticleBoxRunner.OutputProtocol

java.lang.Object
  extended by java.lang.Enum<ParticleBoxRunner.OutputProtocol>
      extended by org.miv.pherd.ParticleBoxRunner.OutputProtocol
All Implemented Interfaces:
Serializable, Comparable<ParticleBoxRunner.OutputProtocol>
Enclosing class:
ParticleBoxRunner

public static enum ParticleBoxRunner.OutputProtocol
extends Enum<ParticleBoxRunner.OutputProtocol>

Messages output by this object.

Since:
2007
Author:
Antoine Dutot

Enum Constant Summary
CELL_ADDED
          Data [7]: this token, 2 identifiers (Object) for the cell and its parent cell, the lo point (Anchor), the hi point (Anchor), a depth (Integer) and the cell index (Integer).
CELL_DATA
          Data [4]: this token, an identifier (Object), a message (String) and arbitrary data (Object).
CELL_REMOVED
          Data [2]: this token an identifier (Object).
PARTICLE_ADDED
          Data [5]: this token, an identifier (Object), three coordinates (Float).
PARTICLE_ATTRIBUTE_CHANGED
          Data [5]: this token, an identifier (Object), a string, an object, a boolean.
PARTICLE_MOVED
          Data [5]: this token, an identifier (Object), three coordinates (Float).
PARTICLE_REMOVED
          Data [2]: this token, an identifier (Object).
STEP_FINISHED
          Data [2]: this token, an integer (Integer).
 
Method Summary
static ParticleBoxRunner.OutputProtocol valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ParticleBoxRunner.OutputProtocol[] 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

PARTICLE_ADDED

public static final ParticleBoxRunner.OutputProtocol PARTICLE_ADDED
Data [5]: this token, an identifier (Object), three coordinates (Float).


PARTICLE_REMOVED

public static final ParticleBoxRunner.OutputProtocol PARTICLE_REMOVED
Data [2]: this token, an identifier (Object).


PARTICLE_MOVED

public static final ParticleBoxRunner.OutputProtocol PARTICLE_MOVED
Data [5]: this token, an identifier (Object), three coordinates (Float).


PARTICLE_ATTRIBUTE_CHANGED

public static final ParticleBoxRunner.OutputProtocol PARTICLE_ATTRIBUTE_CHANGED
Data [5]: this token, an identifier (Object), a string, an object, a boolean.


STEP_FINISHED

public static final ParticleBoxRunner.OutputProtocol STEP_FINISHED
Data [2]: this token, an integer (Integer).


CELL_ADDED

public static final ParticleBoxRunner.OutputProtocol CELL_ADDED
Data [7]: this token, 2 identifiers (Object) for the cell and its parent cell, the lo point (Anchor), the hi point (Anchor), a depth (Integer) and the cell index (Integer).


CELL_REMOVED

public static final ParticleBoxRunner.OutputProtocol CELL_REMOVED
Data [2]: this token an identifier (Object).


CELL_DATA

public static final ParticleBoxRunner.OutputProtocol CELL_DATA
Data [4]: this token, an identifier (Object), a message (String) and arbitrary data (Object).

Method Detail

values

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

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

valueOf

public static ParticleBoxRunner.OutputProtocol 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


Copyright © 2011. All Rights Reserved.