de.dante.extex.backend.documentWriter.dvi
Class DviPositions

java.lang.Object
  extended byde.dante.extex.backend.documentWriter.dvi.DviPositions
All Implemented Interfaces:
java.lang.Cloneable

public class DviPositions
extends java.lang.Object
implements java.lang.Cloneable

This is a implementation of class holding the dvi postions register.

Version:
$Revision: 1.1 $
Author:
Sebastian Waschik

Constructor Summary
DviPositions(int h, int v, int w, int x, int y, int z)
          Creates a new instance.
 
Method Summary
 void addToH(int increment)
          Increment horizontal position.
 void addToV(int increment)
          Increment vertical position.
 java.lang.Object clone()
          Creates and returns a copy of this object.
 int getH()
          Get horizontal position.
 int getV()
          Get vertical position.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DviPositions

public DviPositions(int h,
                    int v,
                    int w,
                    int x,
                    int y,
                    int z)
Creates a new instance.

Parameters:
h - horizontal position
v - vertical position
w - for repeated horizontal space
x - for repeated horizontal space
y - for repeated vertical space
z - for repeated vertical space
Method Detail

clone

public java.lang.Object clone()
Creates and returns a copy of this object.

Returns:
a clone of this instance

addToH

public void addToH(int increment)
Increment horizontal position.

Parameters:
increment - for incrementing

addToV

public void addToV(int increment)
Increment vertical position.

Parameters:
increment - for incrementing

getH

public int getH()
Get horizontal position.

Returns:
horizontal position

getV

public int getV()
Get vertical position.

Returns:
vertical position