|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.content.ShapeContentFactoryModule
The ShapeContentFactoryModule is used to create a content wrapper for java.awt.Shape objects. This FactoryModules is able to handle all elements with the content type "shape/*".
Constructor Summary | |
ShapeContentFactoryModule()
creates a new ShapeContentFactoryModule. |
Method Summary | |
boolean |
canHandleContent(java.lang.String contentType)
Returns true if the module can handle the specified content type, and
false otherwise. |
Content |
createContentForElement(Element e,
ElementLayoutInformation bounds,
LayoutSupport ot)
Creates content for an element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ShapeContentFactoryModule()
Method Detail |
public boolean canHandleContent(java.lang.String contentType)
true
if the module can handle the specified content type, and
false
otherwise. Returns true, if the content type is a subtype of
"shape".
canHandleContent
in interface ContentFactoryModule
contentType
- the content type.
true
or false
.public Content createContentForElement(Element e, ElementLayoutInformation bounds, LayoutSupport ot) throws ContentCreationException
createContentForElement
in interface ContentFactoryModule
e
- the element.bounds
- the bounds.ot
- the output target.
ContentCreationException
- if there is a problem with the OutputTarget.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |