de.dante.extex.interpreter.context.tc
Class Direction

java.lang.Object
  extended byde.dante.extex.interpreter.context.tc.Direction
All Implemented Interfaces:
java.io.Serializable

public class Direction
extends java.lang.Object
implements java.io.Serializable

This interface provides a limited set of writing directions. The writing directions are defined as constants. The constructor is private to avoid that additional directions are defined.

Version:
$Revision: 1.2 $
Author:
Gerd Neugebauer
See Also:
Serialized Form

Nested Class Summary
static interface Direction.Dir
          This interface restricts the values which can be used as components of a direction.
 
Field Summary
static Direction.Dir B
          The constant B contains the direction component bottom.
static Direction.Dir L
          The constant L contains the direction component left.
static Direction LR
          The constant LR contains the direction for left-to-right languages.
static Direction.Dir R
          The constant R contains the direction component right.
static Direction RL
          The constant RL contains the direction for right-to-left languages.
protected static long serialVersionUID
          The constant serialVersionUID contains the id for serialization.
static Direction.Dir T
          The constant T contains the direction component top.
 
Constructor Summary
Direction(Direction.Dir beginningOfPage, Direction.Dir beginningOfLine, Direction.Dir topOfLine)
          Creates a new object.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

B

public static final Direction.Dir B
The constant B contains the direction component bottom.


L

public static final Direction.Dir L
The constant L contains the direction component left.


LR

public static final Direction LR
The constant LR contains the direction for left-to-right languages.


R

public static final Direction.Dir R
The constant R contains the direction component right.


RL

public static final Direction RL
The constant RL contains the direction for right-to-left languages.


serialVersionUID

protected static final long serialVersionUID
The constant serialVersionUID contains the id for serialization.

See Also:
Constant Field Values

T

public static final Direction.Dir T
The constant T contains the direction component top.

Constructor Detail

Direction

public Direction(Direction.Dir beginningOfPage,
                 Direction.Dir beginningOfLine,
                 Direction.Dir topOfLine)
Creates a new object.

Parameters:
beginningOfPage - the beginning of the page
beginningOfLine - the beginning of the line
topOfLine - the top of the line
Method Detail

toString

public java.lang.String toString()
See Also:
Object.toString()