org.pentaho.reporting.engine.classic.core
Class ImageElement

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.Element
      extended by org.pentaho.reporting.engine.classic.core.ImageElement
All Implemented Interfaces:
Serializable, Cloneable, DataTarget, ReportElement

Deprecated. This class is no longer used and will be removed in the next version.

public class ImageElement
extends Element

Used to draw images. References to the Images must be given as ImageContainer. If you use the ImageElementFactory implementations, the necessary wrapping is done for you, if needed.

Author:
Thomas Morgner
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.pentaho.reporting.engine.classic.core.Element
ANONYMOUS_ELEMENT_PREFIX
 
Constructor Summary
ImageElement()
          Deprecated. Constructs a image element.
 
Method Summary
 boolean isKeepAspectRatio()
          Deprecated. Returns true if the image's aspect ratio should be preserved, and false otherwise.
 boolean isScale()
          Deprecated. Returns true if the image should be scaled, and false otherwise.
 void setKeepAspectRatio(boolean kar)
          Deprecated. Sets a flag that controls whether the shape's aspect ratio should be preserved.
 void setScale(boolean scale)
          Deprecated. Sets a flag that controls whether the image should be scaled to fit the element bounds.
 
Methods inherited from class org.pentaho.reporting.engine.classic.core.Element
clone, derive, derive, getAttribute, getAttributeExpression, getAttributeExpressionNames, getAttributeExpressionNamespaces, getAttributeNames, getAttributeNamespaces, getAttributes, getChangeTracker, getContentBase, getDataSource, getDefinitionSource, getElementType, getElementTypeName, getHRefTarget, getId, getMetaData, getName, getObjectID, getParent, getParentSection, getReportDefinition, getStyle, getStyleExpression, getStyleExpressions, getTreeLock, getValue, isDynamicContent, isVisible, notifyNodeChildAdded, notifyNodeChildRemoved, notifyNodePropertiesChanged, notifyNodePropertiesChanged, notifyNodeStructureChanged, setAttribute, setAttribute, setAttributeExpression, setDataSource, setDynamicContent, setElementType, setHRefTarget, setId, setName, setStyleExpression, setVisible, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageElement

public ImageElement()
Deprecated. 
Constructs a image element.

Method Detail

isScale

public boolean isScale()
Deprecated. 
Returns true if the image should be scaled, and false otherwise.

Returns:
true or false.

setScale

public void setScale(boolean scale)
Deprecated. 
Sets a flag that controls whether the image should be scaled to fit the element bounds.

Parameters:
scale - the flag.

isKeepAspectRatio

public boolean isKeepAspectRatio()
Deprecated. 
Returns true if the image's aspect ratio should be preserved, and false otherwise.

Returns:
true or false.

setKeepAspectRatio

public void setKeepAspectRatio(boolean kar)
Deprecated. 
Sets a flag that controls whether the shape's aspect ratio should be preserved.

Parameters:
kar - the flag.