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

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

public class DviW
extends DviCommand

DVI: w

Version:
$Revision: 1.1 $
Author:
Michael Niedermair

Field Summary
 
Fields inherited from class de.dante.extex.format.dvi.command.DviCommand
BOP_LENGTH
 
Constructor Summary
DviW(int opc, int sp, int v)
          Create a new object.
DviW(int opc, int sp, int v, boolean w)
          Create a new object.
 
Method Summary
 java.lang.String getName()
          Returns the name of the command.
 int getValue()
          Returns the value.
 boolean isW0()
          Returns the w0.
 
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

DviW

public DviW(int opc,
            int sp,
            int v)
Create a new object.

Parameters:
opc - the opcode
sp - the start pointer
v - the value

DviW

public DviW(int opc,
            int sp,
            int v,
            boolean w)
Create a new object.

Parameters:
opc - the opcode
sp - the start pointer
v - the value
w - the w0
Method Detail

getValue

public int getValue()
Returns the value.

Returns:
Returns the value.

isW0

public boolean isW0()
Returns the w0.

Returns:
Returns the w0.

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()