|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfree.layouting.renderer.process.AlignmentCollector
public class AlignmentCollector
The collector holds the total height of all elements and the baseline positions of the last element. When a new element is added, it gets added either unaligned (in respect to any baseline) or alignd to one of the baselines.
| Constructor Summary | |
|---|---|
AlignmentCollector(long lineheight)
|
|
| Method Summary | |
|---|---|
long |
add(InlineSequenceElement sequenceElement)
Adding unaligned elements increases the total height and either shifts the stored baselines upward or downwards. |
long |
getHeight()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlignmentCollector(long lineheight)
minorAxis - lineheight - | Method Detail |
|---|
public long getHeight()
public long add(InlineSequenceElement sequenceElement)
height - shiftDown -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||