Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.4.0)

E12063-05

oracle.dss.gauge
Class DrawableObject.Transform

java.lang.Object
  extended by oracle.dss.gauge.DrawableObject
      extended by oracle.dss.gauge.DrawableObject.Transform
Enclosing class:
DrawableObject

public static class DrawableObject.Transform
extends DrawableObject

This class defines an AffineTransform.


Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.dss.gauge.DrawableObject
DrawableObject.Image, DrawableObject.Label, DrawableObject.Shape, DrawableObject.TickLabel, DrawableObject.Transform
 
Constructor Summary
DrawableObject.Transform(java.awt.geom.AffineTransform transform, boolean reset)
          Constructor for a transformation 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.AffineTransform getTransform()
          Gets the AffineTransform.
 boolean isResetTransform()
          Is this transform intended to reset the current transform?
 
Methods inherited from class oracle.dss.gauge.DrawableObject
getAffineTransform, getComponentIndex, 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

DrawableObject.Transform

public DrawableObject.Transform(java.awt.geom.AffineTransform transform,
                                boolean reset)
Constructor for a transformation object.

Parameters:
reset - True if this transform is intended to reset the current transform, False otherwise
transform - Instance of AffineTransform.
Method Detail

contains

public boolean contains(double x,
                        double y,
                        boolean useTruncated)
Perform an inclusion test on the object based on the given point

Specified by:
contains in class DrawableObject
Parameters:
useTruncated - True if the truncated rectangle should be used, False otherwise
y - Integer representing the Y location of the point
x - Integer representing the X location of the point
Returns:
True if the point is contained within this object, False otherwise

getTransform

public java.awt.geom.AffineTransform getTransform()
Gets the AffineTransform.

Returns:
AffineTransform instance.

isResetTransform

public boolean isResetTransform()
Is this transform intended to reset the current transform?

Returns:
True if this transform is intended to reset the current transform, False otherwise

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.4.0)

E12063-05

Copyright © 1997, 2011, Oracle. All rights reserved.