|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.report.layout.LayoutManagerCache
A cache for a band layout manager. This caches element bounds, not elements. todo: check how to improve performance or how to reuse the cached objects ...
| Constructor Summary | |
LayoutManagerCache()
Default constructor. |
|
| Method Summary | |
void |
flush()
Flushes the cache. |
java.awt.geom.Dimension2D |
getMinSize(LayoutCacheKey e)
Returns the minimum size of ???. |
java.awt.geom.Dimension2D |
getPrefSize(LayoutCacheKey e)
Returns the preferred size of ???. |
boolean |
isCachable(Element e)
Returns true if the specified element is cachable, and false otherwise. |
static void |
printResults()
Prints debugging information. |
void |
setMinSize(LayoutCacheKey key,
Element element,
java.awt.geom.Dimension2D d)
Sets the minimum size of ???. |
void |
setPrefSize(LayoutCacheKey key,
Element element,
java.awt.geom.Dimension2D d)
Sets the preferred size of ???. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LayoutManagerCache()
| Method Detail |
public java.awt.geom.Dimension2D getMinSize(LayoutCacheKey e)
e - the layout cache key.
public java.awt.geom.Dimension2D getPrefSize(LayoutCacheKey e)
e - the layout cache key.
public void setMinSize(LayoutCacheKey key,
Element element,
java.awt.geom.Dimension2D d)
key - the key.element - the element.d - the minimum size.
public void setPrefSize(LayoutCacheKey key,
Element element,
java.awt.geom.Dimension2D d)
key - the key.element - the element.d - the minimum size.public boolean isCachable(Element e)
e - the element.
public void flush()
public static void printResults()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||