|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.dss.gauge.DrawableObject
oracle.dss.gauge.DrawableObject.Image
public static class DrawableObject.Image
This class defines an area.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.dss.gauge.DrawableObject |
---|
DrawableObject.Image, DrawableObject.Label, DrawableObject.Shape, DrawableObject.TickLabel, DrawableObject.Transform |
Field Summary |
---|
Fields inherited from class oracle.dss.gauge.DrawableObject |
---|
m_transform |
Constructor Summary | |
---|---|
DrawableObject.Image(int compType,
java.lang.String url,
java.awt.Image img,
java.awt.geom.Rectangle2D rect,
double scaleRatio,
java.awt.image.ImageObserver imgObs,
java.awt.geom.AffineTransform transform)
Constructor of an image object. |
Method Summary | |
---|---|
boolean |
contains(double x,
double y,
boolean useTruncated)
Perform an inclusion test on the object based on the given point |
java.awt.geom.Rectangle2D |
getBounds()
Gets the rectangle defining this filled area. |
java.awt.Image |
getImage()
Gets the URL used to load this image. |
java.awt.image.ImageObserver |
getImageObserver()
Gets the ImageObserver for this image. |
double |
getScaleRatio()
Gets the ratio in which to scale the image. |
java.lang.String |
getURL()
Gets the URL used to load this image. |
Methods inherited from class oracle.dss.gauge.DrawableObject |
---|
getAffineTransform, getComponentType, getLabelDimensions, getLabelObject, getTickLabelObject, isSelected, isVisible, render, setSelected, setVisible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DrawableObject.Image(int compType, java.lang.String url, java.awt.Image img, java.awt.geom.Rectangle2D rect, double scaleRatio, java.awt.image.ImageObserver imgObs, java.awt.geom.AffineTransform transform)
java.awt.Image
instance may be null, but the URL to the load image will never be null.
transform
- Instance of AffineTransform
to apply
to this shape before rendering itimgObs
- Instance of ImageObserver
scaleRatio
- Ratio in which to scale imagerect
- Bounds of imageurl
- Instance of String
that is the URL
used to load the imageimg
- Instance of java.awt.Image
compType
- Type of component to which this object belongs;
valid values are constants in the
GaugeConstants
class beginning with
ID_
Method Detail |
---|
public boolean contains(double x, double y, boolean useTruncated)
contains
in class DrawableObject
useTruncated
- True
if the truncated rectangle
should be used, False
otherwisey
- Integer representing the Y location of the pointx
- Integer representing the X location of the point
True
if the point is contained within
this object, False
otherwisepublic java.lang.String getURL()
public java.awt.Image getImage()
java.awt.Image
instance.public java.awt.geom.Rectangle2D getBounds()
Rectangle
instance.Rectangle
public double getScaleRatio()
public java.awt.image.ImageObserver getImageObserver()
ImageObserver
for this image.
ImageObserver
.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |