|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.eclipse.birt.chart.event.ChartEvent
org.eclipse.birt.chart.event.PrimitiveRenderEvent
org.eclipse.birt.chart.event.TransformationEvent
An event type for transformation.
Field Summary | |
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. |
Fields inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent |
DRAW, FILL, iObjIndex |
Constructor Summary | |
TransformationEvent(java.lang.Object oSource)
The constructor. |
Method Summary | |
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. |
Methods inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent |
compareRegular, compareTo, compareTransposed, copy, draw, fill, getBackground, getBounds, getDepth, getLabel, getLineAttributes, setDepth |
Methods inherited from class org.eclipse.birt.chart.event.ChartEvent |
setSourceObject |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int UNDEFINED
public static final int SCALE
public static final int TRANSLATE
public static final int ROTATE
Constructor Detail |
public TransformationEvent(java.lang.Object oSource)
Method Detail |
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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |