|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
de.jreality.tools.LineDragEvent
public class LineDragEvent
| Constructor Summary | |
|---|---|
LineDragEvent(IndexedLineSet lineSet,
int index,
double[] translation,
double[] position)
|
|
| Method Summary | |
|---|---|
int |
getIndex()
|
IndexedLineSet |
getIndexedLineSet()
|
int[] |
getLineIndices()
BE CAREFUL: this method uses the line index when the drag started. |
double[][] |
getLineVertices()
BE CAREFUL: this method uses the line index when the drag started. |
double[] |
getPosition()
|
double[] |
getTranslation()
|
double |
getX()
The x-coordinate of this event's translation. |
double |
getY()
The y-coordinate of this event's translation. |
double |
getZ()
The z-coordinate of this event's translation. |
| 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 |
|---|
public LineDragEvent(IndexedLineSet lineSet,
int index,
double[] translation,
double[] position)
| Method Detail |
|---|
public double getX()
public double getY()
public double getZ()
public double[] getTranslation()
public double[] getPosition()
public int getIndex()
public int[] getLineIndices()
ArrayIndexOutOfBoundsExceptionpublic double[][] getLineVertices()
ArrayIndexOutOfBoundsExceptionpublic IndexedLineSet getIndexedLineSet()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||