|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectplatypus.Alignment
public class Alignment
Handles alignment of a given paragraph
| Nested Class Summary | |
|---|---|
static class |
Alignment.type
the only allowed alignment values |
| Field Summary | |
|---|---|
private int |
lineNumber
line number where alignment was set |
private Alignment.type |
present
the present alignment |
| Constructor Summary | |
|---|---|
Alignment()
sets default alignment to left |
|
| Method Summary | |
|---|---|
java.lang.String |
dump()
Creates a string containing the line # and the value of the bottom margin when last set |
int |
getLineNumber()
|
Alignment.type |
getPresent()
|
void |
setPresent(Alignment.type present)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Alignment.type present
private int lineNumber
| Constructor Detail |
|---|
public Alignment()
| Method Detail |
|---|
public Alignment.type getPresent()
public void setPresent(Alignment.type present)
public int getLineNumber()
public java.lang.String dump()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||