|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A sensor associated with a mouse input device, which provides position and button status that should be interpreted relative to none or more sensor target spaces. A mouse can be 2D or 3D.
Method Summary | |
void |
addMouseTarget(SpaceNode target)
Adds a target space to be monitored by this sensor. |
BooleanField.EventOut |
getMouseActiveOut()
Sends an event when the sensor starts or stops being active on a given sensor target. |
StateSetField.EventOut |
getMouseButtonsOut()
Sends an event each time the mouse button state (MouseSensors.BUTTON_???) changes while this sensor is active (see getMouseActiveOut()). |
BooleanField.EventOut |
getMouseCaptureOut()
Sends an event when the sensor target captures or releases the mouse inputs (movement and buttons). |
BooleanField.EventIn |
getMouseEnableIn()
Enables/disables this sensor. |
Point3Field.EventOut |
getMouseMoveOut()
Sends an event each time the mouse position changes while this sensor is active (see getMouseActiveOut()). |
BooleanField.EventOut |
getMouseOverOut()
Sends an event when the mouse enters or exists a sensor target area. |
SpaceNodeField.EventOut |
getMouseSpaceOut()
Sends an event when the sensor starts being active in a new sensor target space. |
void |
removeMouseTarget(SpaceNode target)
Removes a target space being monitored by this sensor. |
Methods inherited from interface gumbo.util.Disposable |
dispose, isDisposed |
Method Detail |
public void addMouseTarget(SpaceNode target)
target
- Reference to the target. Never null.
Duplicates are ignored.public void removeMouseTarget(SpaceNode target)
target
- Reference to the target. Never null.
Missing are ignored.public BooleanField.EventIn getMouseEnableIn()
public BooleanField.EventOut getMouseOverOut()
public BooleanField.EventOut getMouseCaptureOut()
public SpaceNodeField.EventOut getMouseSpaceOut()
public BooleanField.EventOut getMouseActiveOut()
public StateSetField.EventOut getMouseButtonsOut()
public Point3Field.EventOut getMouseMoveOut()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |