|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.dviware.type.AbstractDviCode
org.extex.dviware.type.DviRight
public class DviRight
This class represents the DVI instruction right.
| Field Summary |
|---|
| Fields inherited from class org.extex.dviware.type.AbstractDviCode |
|---|
ONE_BYTE_MASK, THREE_BYTE_MASK, TWO_BYTE_MASK |
| Fields inherited from interface org.extex.dviware.type.DviCode |
|---|
POP, PUSH, W0, X0, Y0, Z0 |
| Constructor Summary | |
|---|---|
DviRight(int dist)
Creates a new object. |
|
| Method Summary | |
|---|---|
void |
add(int x)
Add some value to the move distance. |
int |
write(java.io.OutputStream stream)
Write the code to the output stream. |
| Methods inherited from class org.extex.dviware.type.AbstractDviCode |
|---|
getName, opcode, opcodeSigned, variant, write2, write3, write4 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DviRight(int dist)
dist - the distance to move rightwards| Method Detail |
|---|
public void add(int x)
x - the value to add
public int write(java.io.OutputStream stream)
throws java.io.IOException
stream - the target stream
java.io.IOException - in case of an errorDviCode.write(java.io.OutputStream)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||