de.jreality.tools
Class PrimitiveDragEvent
java.lang.Object
java.util.EventObject
de.jreality.tools.PrimitiveDragEvent
- All Implemented Interfaces:
- java.io.Serializable
public class PrimitiveDragEvent
- extends java.util.EventObject
The event that signals that some primitive geometry is being dragged.
- See Also:
- Serialized Form
Method Summary |
Geometry |
getGeometry()
|
double[] |
getPosition()
|
double |
getX()
The x-coordinate of this event's position. |
double |
getY()
The y-coordinate of this event's position. |
double |
getZ()
The z-coordinate of this event's position. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PrimitiveDragEvent
public PrimitiveDragEvent(Geometry geom,
double[] position)
getX
public double getX()
- The x-coordinate of this event's position.
getY
public double getY()
- The y-coordinate of this event's position.
getZ
public double getZ()
- The z-coordinate of this event's position.
getPosition
public double[] getPosition()
getGeometry
public Geometry getGeometry()