org.jfree.report
Class DrawableElement

java.lang.Object
  extended byorg.jfree.report.Element
      extended byorg.jfree.report.DrawableElement
All Implemented Interfaces:
java.lang.Cloneable, DataTarget, java.io.Serializable

public class DrawableElement
extends Element

The element returns a drawable container. Drawable elements always scale.

Author:
Thomas Morgner
See Also:
Serialized Form

Field Summary
static java.lang.String CONTENT_TYPE
          The content type for the element.
 
Fields inherited from class org.jfree.report.Element
ANONYMOUS_ELEMENT_PREFIX
 
Constructor Summary
DrawableElement()
          Default constructor.
 
Method Summary
 java.lang.String getContentType()
          Defines the content-type for this element.
 
Methods inherited from class org.jfree.report.Element
clone, getDataSource, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getStyle, getStyleSheetCollection, getTreeLock, getValue, handleRegisterStyleSheetCollection, handleUnregisterStyleSheetCollection, isDynamicContent, isLayoutCacheable, isVisible, registerStyleSheetCollection, setDataSource, setDynamicContent, setLayoutCacheable, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setVisible, unregisterStyleSheetCollection, updateStyleSheetCollection
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTENT_TYPE

public static final java.lang.String CONTENT_TYPE
The content type for the element.

See Also:
Constant Field Values
Constructor Detail

DrawableElement

public DrawableElement()
Default constructor.

Method Detail

getContentType

public java.lang.String getContentType()
Defines the content-type for this element. The content-type is used as a hint how to process the contents of this element. An element implementation should restrict itself to the content-type set here, or the reportprocessing may fail or the element may not be printed.

An element is not allowed to change its content-type after ther report processing has started.

If an content-type is unknown to the output-target, the processor should ignore the content or clearly document its internal reprocessing. Ignoring is preferred.

Specified by:
getContentType in class Element
Returns:
the content-type as string.