Skip navigation links 
 
oracle.dss.gauge
Class DrawableObject.Transform
java.lang.Object
  
oracle.dss.gauge.DrawableObject
      
oracle.dss.gauge.DrawableObject.Transform
- Enclosing class:
 
- DrawableObject
 
- 
public static class DrawableObject.Transform
 
- extends DrawableObject
 
This class defines an AffineTransform.
 
 
  
 
| 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 | 
 
 
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. 
 
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 
 
Skip navigation links 
 
Copyright © 1997, 2015, Oracle. All rights reserved.