de.jreality.tools
Class PointDragEvent

java.lang.Object
  extended by java.util.EventObject
      extended by de.jreality.tools.PointDragEvent
All Implemented Interfaces:
Serializable

public class PointDragEvent
extends EventObject

The event that signals that some Point of a pointset is being dragged.

See Also:
Serialized Form

Constructor Summary
PointDragEvent(PointSet pointSet, int index, double[] position)
           
 
Method Summary
 int getIndex()
           
 PointSet getPointSet()
           
 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
 

Constructor Detail

PointDragEvent

public PointDragEvent(PointSet pointSet,
                      int index,
                      double[] position)
Method Detail

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()

getIndex

public int getIndex()

getPointSet

public PointSet getPointSet()