protected class GralCurveView.GralCurveViewMouseAction extends java.lang.Object implements GralMouseWidgetAction_ifc
mUser1down, mUser1up, mUser2down, mUser2up, mUser3down, mUser3up, mUserAll, mUserAlldown, mUserAllup, mUserDouble, version
Modifier | Constructor and Description |
---|---|
protected |
GralCurveViewMouseAction() |
Modifier and Type | Method and Description |
---|---|
void |
mouse1Double(int keyCode,
int xMousePixel,
int yMousePixel,
int xWidgetSizePixel,
int yWidgetSizePixel,
GralWidget widgg) |
void |
mouse1Down(int key,
int xMousePixel,
int yMousePixel,
int xWidgetSizePixel,
int yWidgetSizePixel,
GralWidget widgg)
Called from the graphic implementation layer if the standard left mouse button is pressed.
|
void |
mouse1Up(int key,
int xMousePixel,
int yMousePixel,
int xWidgetSizePixel,
int yWidgetSizePixel,
GralWidget widgg) |
void |
mouse2Down(int key,
int xMousePixel,
int yMousePixel,
int xWidgetSizePixel,
int yWidgetSizePixel,
GralWidget widgg)
Called from the graphic implementation layer if the standard right mouse button is pressed.
|
void |
mouse2Up(int key,
int xMousePixel,
int yMousePixel,
int xWidgetSizePixel,
int yWidgetSizePixel,
GralWidget widgg) |
boolean |
mouseMoved(int xMousePixel,
int yMousePixel,
int xWidgetPixelSize,
int yWidgetPixelSize)
This routine is called only if a mouse button is pressed while moving the mouse cursor.
|
public void mouse1Down(int key, int xMousePixel, int yMousePixel, int xWidgetSizePixel, int yWidgetSizePixel, GralWidget widgg)
GralMouseWidgetAction_ifc
mouse1Down
in interface GralMouseWidgetAction_ifc
public void mouse1Up(int key, int xMousePixel, int yMousePixel, int xWidgetSizePixel, int yWidgetSizePixel, GralWidget widgg)
mouse1Up
in interface GralMouseWidgetAction_ifc
public void mouse2Down(int key, int xMousePixel, int yMousePixel, int xWidgetSizePixel, int yWidgetSizePixel, GralWidget widgg)
GralMouseWidgetAction_ifc
mouse2Down
in interface GralMouseWidgetAction_ifc
public void mouse2Up(int key, int xMousePixel, int yMousePixel, int xWidgetSizePixel, int yWidgetSizePixel, GralWidget widgg)
mouse2Up
in interface GralMouseWidgetAction_ifc
public void mouse1Double(int keyCode, int xMousePixel, int yMousePixel, int xWidgetSizePixel, int yWidgetSizePixel, GralWidget widgg)
mouse1Double
in interface GralMouseWidgetAction_ifc
public boolean mouseMoved(int xMousePixel, int yMousePixel, int xWidgetPixelSize, int yWidgetPixelSize)
GralMouseWidgetAction_ifc
mouseMoved
in interface GralMouseWidgetAction_ifc
xMousePixel
- The current mouse cursor x valueyMousePixel
- The current mouse cursor y valuexWidgetPixelSize
- Width of the associated widget.yWidgetPixelSize
- Height of the associated widget.