|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.jfree.report.layout.BandLayoutManagerUtil
A collection of utility methods for use by classes that implement the BandLayoutManager interface.
| Method Summary | |
static StrictBounds |
doFixedLayout(Band band,
LayoutSupport support,
long width,
long height)
Performs all required steps to layout the band; the bands bounds are predefined by the caller and will not be computed. |
static StrictBounds |
doLayout(Band band,
LayoutSupport support,
long width,
long height)
Performs all required steps to layout the band. |
static StrictBounds |
getBounds(Element e,
StrictBounds bounds)
Returns the bounds of an element. |
static BandLayoutManager |
getLayoutManager(Element e)
Returns the layout manager for an element in a report. |
static void |
setBounds(Element e,
StrictBounds bounds)
Sets the bounds for an element. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Method Detail |
public static BandLayoutManager getLayoutManager(Element e)
e - the element.
public static StrictBounds getBounds(Element e,
StrictBounds bounds)
e - the element.bounds - if non-null, this structure will be updated and returned as the result
(use this to avoid creating unnecessary work for the garbage
collector).
public static void setBounds(Element e,
StrictBounds bounds)
e - the element.bounds - the new bounds.
public static StrictBounds doLayout(Band band,
LayoutSupport support,
long width,
long height)
band - the band that should be laid out.support - the LayoutSupport implementation used to calculate the bounds of
dynamic content.width - the initial maximum width of the container.height - the initial maximum height of the container.
public static StrictBounds doFixedLayout(Band band,
LayoutSupport support,
long width,
long height)
band - the band that should be laid out.support - the LayoutSupport implementation used to calculate the bounds of
dynamic content.width - the initial maximum width of the container.height - the initial maximum height of the container.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||