public final class TransformationEvent extends PrimitiveRenderEvent
Modifier and Type | Field and Description |
---|---|
static int |
ROTATE
Indicates this is a rotating transformation.
|
static int |
SCALE
Indicates this is a scaling transformation.
|
static int |
TRANSLATE
Indicates this is a tranlating transformatino.
|
static int |
UNDEFINED
Indicates the transformation type is undefined.
|
DRAW, FILL, iObjIndex
Constructor and Description |
---|
TransformationEvent(java.lang.Object oSource)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getRotation() |
double |
getScale() |
int |
getTransform() |
double |
getTranslateX() |
double |
getTranslateY() |
void |
reset()
Resets the inner state of current event.
|
void |
setRotation(double dAngleInDegrees)
Sets the rotation of current event.
|
void |
setScale(double dScale)
Sets the scale of current event.
|
void |
setTransform(int iTransform)
Sets the transformation type of this event.
|
void |
setTranslation(double dTranslateX,
double dTranslateY)
Sets the translation of current event.
|
compareRegular, compareTo, compareTransposed, copy, draw, fill, getBackground, getBounds, getDepth, getLabel, getLineAttributes, isEnabled, setDepth, setEnable
setSourceObject
public static final int UNDEFINED
public static final int SCALE
public static final int TRANSLATE
public static final int ROTATE
public TransformationEvent(java.lang.Object oSource)
public final void setTransform(int iTransform)
public final int getTransform()
public final void setScale(double dScale)
public final double getScale()
public final void setTranslation(double dTranslateX, double dTranslateY)
public final double getTranslateX()
public final double getTranslateY()
public final void setRotation(double dAngleInDegrees)
public final double getRotation()
public void reset()
ChartEvent
reset
in class ChartEvent
Copyright © 2005-2008 Actuate Corp. All rights reserved.