Ontimize 5.2072EN

com.ontimize.report
Class ReportDesigner.ReportImage

java.lang.Object
  extended bycom.ontimize.report.ReportDesigner.AbstractReportComponent
      extended bycom.ontimize.report.ReportDesigner.ReportRectangle
          extended bycom.ontimize.report.ReportDesigner.ReportImage
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, ReportDesigner.ReportComponent, ReportDesigner.ReportImageProperty
Enclosing class:
ReportDesigner

public static class ReportDesigner.ReportImage
extends ReportDesigner.ReportRectangle
implements ReportDesigner.ReportImageProperty


Nested Class Summary
 
Nested classes inherited from class com.ontimize.report.ReportDesigner.ReportComponent
ReportDesigner.ReportComponent.ChangeListener
 
Field Summary
protected  java.awt.Image im
           
 boolean keepAspectRatio
           
 boolean scale
           
protected  java.lang.String src
           
protected  java.net.URL url
           
 
Fields inherited from class com.ontimize.report.ReportDesigner.ReportRectangle
selStroke
 
Fields inherited from class com.ontimize.report.ReportDesigner.AbstractReportComponent
background, backgroundNameColor, changeListeners, foreground, foregroundNameColor, height, heightPercent, name, RESIZE_PIXELS_DISTANCE, section, selected, stroke, weight, width, widthPercent, x1, x2, y1, y2, z
 
Constructor Summary
ReportDesigner.ReportImage(java.lang.String name, int x1, int y1, int x2, int y2, java.lang.String src)
           
 
Method Summary
 boolean getKeepAspectRatio()
           
 ReportDesigner.ReportProperty[] getProperties()
           
 boolean getScale()
           
 java.lang.String getSrc()
           
 void paintAt(java.awt.Graphics g)
           
 void setKeepAspectRatio(boolean s)
           
 void setScale(boolean s)
           
 void setSrc(java.lang.String s)
           
 
Methods inherited from class com.ontimize.report.ReportDesigner.ReportRectangle
isResizableAtPoint, resizeAtPoint
 
Methods inherited from class com.ontimize.report.ReportDesigner.AbstractReportComponent
addChangeListener, clone, compareTo, distance, firePropertiesChanged, getBackground, getBackgroundColorName, getForeground, getForegroundColorName, getHeight, getName, getReportSection, getWeight, getWidth, getX1, getX2, getY1, getY2, getZ, isAtPoint, isAtRectangle, isHeightPercent, isSelected, isWidthPercent, removeChangeListener, setBackground, setForeground, setHeight, setHeightPercent, setName, setReportSection, setSelected, setWeight, setWidth, setWidthPercent, setX, setX1, setX2, setY, setY1, setY2, setZ, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

src

protected java.lang.String src

scale

public boolean scale

keepAspectRatio

public boolean keepAspectRatio

im

protected java.awt.Image im

url

protected java.net.URL url
Constructor Detail

ReportDesigner.ReportImage

public ReportDesigner.ReportImage(java.lang.String name,
                                  int x1,
                                  int y1,
                                  int x2,
                                  int y2,
                                  java.lang.String src)
Method Detail

getSrc

public java.lang.String getSrc()

setSrc

public void setSrc(java.lang.String s)

setScale

public void setScale(boolean s)
Specified by:
setScale in interface ReportDesigner.ReportImageProperty

getScale

public boolean getScale()
Specified by:
getScale in interface ReportDesigner.ReportImageProperty

setKeepAspectRatio

public void setKeepAspectRatio(boolean s)
Specified by:
setKeepAspectRatio in interface ReportDesigner.ReportImageProperty

getKeepAspectRatio

public boolean getKeepAspectRatio()
Specified by:
getKeepAspectRatio in interface ReportDesigner.ReportImageProperty

getProperties

public ReportDesigner.ReportProperty[] getProperties()
Specified by:
getProperties in interface ReportDesigner.ReportComponent
Overrides:
getProperties in class ReportDesigner.ReportRectangle

paintAt

public void paintAt(java.awt.Graphics g)
Specified by:
paintAt in interface ReportDesigner.ReportComponent
Overrides:
paintAt in class ReportDesigner.ReportRectangle

Ontimize