org.diamondspin
Class DSElementEvent
java.lang.Object
java.util.EventObject
org.diamondspin.DSElementEvent
- All Implemented Interfaces:
- Serializable
public class DSElementEvent
- extends EventObject
- Author:
- Besacier
- See Also:
- Serialized Form
Constructor Summary |
DSElementEvent(Object source,
int type,
int cause)
|
DSElementEvent(Object source,
int type,
int cause,
double a)
|
DSElementEvent(Object source,
int type,
int cause,
double a,
double b)
|
DSElementEvent(Object source,
int type,
int cause,
int a,
int b)
|
MOVE
public static final int MOVE
- See Also:
- Constant Field Values
RESIZE
public static final int RESIZE
- See Also:
- Constant Field Values
ZOOM
public static final int ZOOM
- See Also:
- Constant Field Values
ROTATE
public static final int ROTATE
- See Also:
- Constant Field Values
FOLD
public static final int FOLD
- See Also:
- Constant Field Values
CENTER
public static final int CENTER
- See Also:
- Constant Field Values
DEMOTE
public static final int DEMOTE
- See Also:
- Constant Field Values
REPAINT
public static final int REPAINT
- See Also:
- Constant Field Values
UNKOWN
public static final int UNKOWN
- See Also:
- Constant Field Values
USER
public static final int USER
- See Also:
- Constant Field Values
PILING
public static final int PILING
- See Also:
- Constant Field Values
FRONTIER
public static final int FRONTIER
- See Also:
- Constant Field Values
NO_MORE_ALLOWED
public static final int NO_MORE_ALLOWED
- See Also:
- Constant Field Values
GRAB_DROP
public static final int GRAB_DROP
- See Also:
- Constant Field Values
RESET
public static final int RESET
- See Also:
- Constant Field Values
INERTIA
public static final int INERTIA
- See Also:
- Constant Field Values
FINGER_ORIENTATION
public static final int FINGER_ORIENTATION
- See Also:
- Constant Field Values
SOFTWARE
public static final int SOFTWARE
- See Also:
- Constant Field Values
DSElementEvent
public DSElementEvent(Object source,
int type,
int cause)
DSElementEvent
public DSElementEvent(Object source,
int type,
int cause,
double a,
double b)
DSElementEvent
public DSElementEvent(Object source,
int type,
int cause,
int a,
int b)
DSElementEvent
public DSElementEvent(Object source,
int type,
int cause,
double a)
getType
public int getType()
getCause
public int getCause()
getD
public double getD()
getAlpha
public double getAlpha()
getBeta
public double getBeta()
getScale
public double getScale()
getFoldAngle
public double getFoldAngle()
getFoldProportion
public double getFoldProportion()
getWidth
public int getWidth()
getHeight
public int getHeight()
getGrabX
public int getGrabX()
getGrabY
public int getGrabY()
getCenterX
public int getCenterX()
getCenterY
public int getCenterY()
getElement
public DSElement getElement()
- Conveniance method. If the source is a DSElement, cast it to DSElement and return it. Else, throw a IllegalCastException
- Returns:
- getSource()
Copyright © 2006 Frederic Vernier(LIMSI) Chia Shen(MERL) Guillaume Besacier(LIMSI). All Rights Reserved.