Fovia's .NET Client/Server API
|
Public Member Functions | |
void | mouseClicked (MouseEvent e) |
void | mouseClicked (int x, int y) |
void | mouseDragged (MouseEvent e) |
void | mouseDragged (int x, int y) |
void | mouseEntered (MouseEvent e) |
void | mouseEntered (int x, int y) |
void | mouseExited (MouseEvent e) |
void | mouseExited (int x, int y) |
void | mouseManuallyMoved (int offsetX, int offsetY) |
void | mouseMoved (MouseEvent e) |
void | mouseMoved (int x, int y) |
void | mousePressed (MouseEvent e) |
void | mousePressed (int x, int y) |
void | mouseReleased (MouseEvent e) |
void | mouseReleased (int x, int y) |
Allows you to use adaptors as direct mouse listeners
void com.fovia.hdrc.interact.hdrcAdaptor.mouseClicked | ( | MouseEvent | e | ) |
Call this function when the mouse is clicked on a rendered image.
e | A MouseEvent object with data on the mouseClicked event. |
References com.fovia.hdrc.interact.hdrcAdaptor.mouseClicked().
Referenced by com.fovia.hdrc.interact.hdrcAdaptor.mouseClicked().
void com.fovia.hdrc.interact.hdrcAdaptor.mouseClicked | ( | int | x, |
int | y | ||
) |
Call this function when the mouse is clicked on a rendered image.
x | The horizontal offset from the left side of the rendered image. |
y | The vertical offset from the top of the rendered image. |
void com.fovia.hdrc.interact.hdrcAdaptor.mouseDragged | ( | MouseEvent | e | ) |
Call this function when the mouse is dragged on a rendered image (mouse button is down and the mouse has moved).
e | A MouseEvent object with data on the mouseDragged event. |
References com.fovia.hdrc.interact.hdrcAdaptor.mouseDragged().
Referenced by com.fovia.hdrc.interact.hdrcAdaptor.mouseDragged().
void com.fovia.hdrc.interact.hdrcAdaptor.mouseDragged | ( | int | x, |
int | y | ||
) |
Call this function when the mouse is dragged on a rendered image (mouse button is down and the mouse has moved).
x | The horizontal offset from the left side of the rendered image. |
y | The vertical offset from the top of the rendered image. |
void com.fovia.hdrc.interact.hdrcAdaptor.mouseEntered | ( | MouseEvent | e | ) |
Call this function when the mouse has entered the active area of a rendered image.
e | A MouseEvent object with data on the mouseEntered event. |
References com.fovia.hdrc.interact.hdrcAdaptor.mouseEntered().
Referenced by com.fovia.hdrc.interact.hdrcAdaptor.mouseEntered().
void com.fovia.hdrc.interact.hdrcAdaptor.mouseEntered | ( | int | x, |
int | y | ||
) |
Call this function when the mouse has entered the active area of a rendered image.
x | The horizontal offset from the left side of the rendered image. |
y | The vertical offset from the top of the rendered image. |
void com.fovia.hdrc.interact.hdrcAdaptor.mouseExited | ( | MouseEvent | e | ) |
Call this function when the mouse has exited the active area of a rendered image.
e | A MouseEvent object with data on the mouseExited event. |
References com.fovia.hdrc.interact.hdrcAdaptor.mouseExited().
Referenced by com.fovia.hdrc.interact.hdrcAdaptor.mouseExited().
void com.fovia.hdrc.interact.hdrcAdaptor.mouseExited | ( | int | x, |
int | y | ||
) |
Call this function when the mouse has exited the active area of a rendered image.
x | The horizontal offset from the left side of the rendered image. |
y | The vertical offset from the top of the rendered image. |
void com.fovia.hdrc.interact.hdrcAdaptor.mouseManuallyMoved | ( | int | offsetX, |
int | offsetY | ||
) |
Sometimes one might want to move the mouse manually. Perhaps you don't want the mouse to hit the edge of the screen so you wrap it around to the other side of the image. This function is intended to allow this adjsutment without causing the adaptor to jump positions suddenly because it didn't know the cursor was manually moved. Essentially, this adds the offset to the last mouse position to keep things smooth.
offsetX | The x component of the vector subtraction of the new point minus the old point. |
offsetY | The y component of the vector subtraction of the new point minus the old point. |
void com.fovia.hdrc.interact.hdrcAdaptor.mouseMoved | ( | MouseEvent | e | ) |
Call this function when the mouse is moved on a rendered image (mouse button is up and the mouse has moved).
e | A MouseEvent object with data on the mouseMoved event. |
References com.fovia.hdrc.interact.hdrcAdaptor.mouseMoved().
Referenced by com.fovia.hdrc.interact.hdrcAdaptor.mouseMoved().
void com.fovia.hdrc.interact.hdrcAdaptor.mouseMoved | ( | int | x, |
int | y | ||
) |
Call this function when the mouse is moved on a rendered image (mouse button is up and the mouse has moved).
x | The horizontal offset from the left side of the rendered image. |
y | The vertical offset from the top of the rendered image. |
void com.fovia.hdrc.interact.hdrcAdaptor.mousePressed | ( | MouseEvent | e | ) |
Call this function when the mouse is first pressed on a rendered image.
e | A MouseEvent object with data on the mousePressed event. |
References com.fovia.hdrc.interact.hdrcAdaptor.mousePressed().
Referenced by com.fovia.hdrc.interact.hdrcAdaptor.mousePressed().
void com.fovia.hdrc.interact.hdrcAdaptor.mousePressed | ( | int | x, |
int | y | ||
) |
Call this function when the mouse is first pressed on a rendered image.
x | The horizontal offset from the left side of the rendered image. |
y | The vertical offset from the top of the rendered image. |
void com.fovia.hdrc.interact.hdrcAdaptor.mouseReleased | ( | MouseEvent | e | ) |
Call this function when the mouse is first released on a rendered image.
e | A MouseEvent object with data on the mouseReleased event. |
References com.fovia.hdrc.interact.hdrcAdaptor.mouseReleased().
Referenced by com.fovia.hdrc.interact.hdrcAdaptor.mouseReleased().
void com.fovia.hdrc.interact.hdrcAdaptor.mouseReleased | ( | int | x, |
int | y | ||
) |
Call this function when the mouse is first released on a rendered image.
x | The horizontal offset from the left side of the rendered image. |
y | The vertical offset from the top of the rendered image. |