|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.picking.PickAdapter
public abstract class PickAdapter
This class is a simple implementation of the PickListener to ease the anonymous instanciation of PickListeners.
| Constructor Summary | |
|---|---|
PickAdapter()
|
|
| Method Summary | |
|---|---|
void |
onObjectPicked(PickResult nearest,
java.lang.Object userObject,
long pickTime)
This event is fired when a picking was successful It is very important to be aware of the fact, that the PickResult is not guaranteed to be valid after this method has been left. |
void |
onObjectsPicked(java.util.List<PickResult> pickResults,
java.lang.Object userObject,
long pickTime)
This event is fired when a picking was successful. |
void |
onPickingMissed(java.lang.Object userObject,
long pickTime)
this Event is fired when a pickray didn't hit any node |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xith3d.picking.PickListenerBase |
|---|
testIntersectionsInWorldSpaceForPicking |
| Constructor Detail |
|---|
public PickAdapter()
| Method Detail |
|---|
public void onObjectPicked(PickResult nearest,
java.lang.Object userObject,
long pickTime)
onObjectPicked in interface NearestPickListenernearest - the neares result.userObject - this userObject is passed to the Picker and back to this methodpickTime - the needed time to do this picking
public void onPickingMissed(java.lang.Object userObject,
long pickTime)
onPickingMissed in interface PickListenerBaseuserObject - this userObject is passed to the Picker and back to this methodpickTime - the needed time to do this picking
public void onObjectsPicked(java.util.List<PickResult> pickResults,
java.lang.Object userObject,
long pickTime)
onObjectsPicked in interface AllPickListenerpickResults - all PickResults from this picking operationuserObject - this userObject is passed to the Picker and back to this methodpickTime - the needed time to do this picking
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||