de.dante.extex.format.dvi.command
Class DviRule

java.lang.Object
  extended byde.dante.extex.format.dvi.command.DviCommand
      extended byde.dante.extex.format.dvi.command.DviRule

public class DviRule
extends DviCommand

DVI: rule

Version:
$Revision: 1.1 $
Author:
Michael Niedermair

Field Summary
 
Fields inherited from class de.dante.extex.format.dvi.command.DviCommand
BOP_LENGTH
 
Constructor Summary
DviRule(int opc, int sp, int a, int b)
          Create a new object.
DviRule(int opc, int sp, int a, int b, boolean pm)
          Create a new object.
 
Method Summary
 int getHeight()
          Returns the height.
 java.lang.String getName()
          Returns the name of the command.
 int getWidth()
          Returns the width.
 boolean isPut()
          Returns the put.
 
Methods inherited from class de.dante.extex.format.dvi.command.DviCommand
getFntDefs, getNextCommand, getOpcode, getPost, getPre, getStartPointer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DviRule

public DviRule(int opc,
               int sp,
               int a,
               int b)
Create a new object.

Parameters:
opc - the opcode
sp - the start pointer
a - the height
b - the width

DviRule

public DviRule(int opc,
               int sp,
               int a,
               int b,
               boolean pm)
Create a new object.

Parameters:
opc - the opcode
sp - the start pointer
a - the height
b - the width
pm - the put mode
Method Detail

getHeight

public int getHeight()
Returns the height.

Returns:
Returns the height.

getWidth

public int getWidth()
Returns the width.

Returns:
Returns the width.

isPut

public boolean isPut()
Returns the put.

Returns:
Returns the put.

getName

public java.lang.String getName()
Description copied from class: DviCommand
Returns the name of the command.

Specified by:
getName in class DviCommand
Returns:
Returns the name of the command.
See Also:
DviCommand.getName()