Appia Documentation

net.sf.appia.core
Class Direction

java.lang.Object
  extended by net.sf.appia.core.Direction

public final class Direction
extends java.lang.Object

The direction an Event will take.
It can take two possible values, UP or DOWN.

Version:
1.0
Author:
Alexandre Pinto
See Also:
Event

Field Summary
static int DOWN
          The direction value of a descending Event.
static int UP
          The direction value of an ascending Event.
 
Method Summary
static int invert(int dir)
          Gets the reverse direction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UP

public static final int UP
The direction value of an ascending Event.

See Also:
Constant Field Values

DOWN

public static final int DOWN
The direction value of a descending Event.

See Also:
Constant Field Values
Method Detail

invert

public static int invert(int dir)
Gets the reverse direction.

Returns:
the reverse direction.

Appia Documentation

COPYRIGHT 2006-2009, University of Lisbon and INESC-ID
For updates and related information please see Appia Home Page
Send questions, sugestions or remarks to the appia-users mailing list