public interface GralMouseWidgetAction_ifc
SwtGralMouseListener
for an usage in graphic implementation layer.Modifier and Type | Field and Description |
---|---|
static int |
mUser1down
Bit mask to determine which mouse action should invoke the
GralWidget#getActionChange() . |
static int |
mUser1up
Bit mask to determine which mouse action should invoke the
GralWidget#getActionChange() . |
static int |
mUser2down
Bit mask to determine which mouse action should invoke the
GralWidget#getActionChange() . |
static int |
mUser2up
Bit mask to determine which mouse action should invoke the
GralWidget#getActionChange() . |
static int |
mUser3down
Bit mask to determine which mouse action should invoke the
GralWidget#getActionChange() . |
static int |
mUser3up
Bit mask to determine which mouse action should invoke the
GralWidget#getActionChange() . |
static int |
mUserAll
Bit mask to determine which mouse action should invoke the
GralWidget#getActionChange() . |
static int |
mUserAlldown
Bit mask to determine which mouse action should invoke the
GralWidget#getActionChange() . |
static int |
mUserAllup
Bit mask to determine which mouse action should invoke the
GralWidget#getActionChange() . |
static int |
mUserDouble
Bit mask to determine which mouse action should invoke the
GralWidget#getActionChange() . |
static int |
version
Version, history and licence
2013-10-13 Hartmut new:
mouse1Double(int, int, int, int, int, GralWidget) . |
Modifier and Type | Method and Description |
---|---|
void |
mouse1Double(int key,
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 xWidgetSizePixel,
int yWidgetSizePixel)
This routine is called only if a mouse button is pressed while moving the mouse cursor.
|
static final int version
mouse1Double(int, int, int, int, int, GralWidget)
.
#new
static final int mUser1down
GralWidget#getActionChange()
.
It is the second parameter of GralWidget.setActionMouse(GralMouseWidgetAction_ifc, int)
.
Use an | of this conditions. mUserAll includes any key of mouse.static final int mUser2down
GralWidget#getActionChange()
.
It is the second parameter of GralWidget.setActionMouse(GralMouseWidgetAction_ifc, int)
.
Use an | of this conditions. mUserAll includes any key of mouse.static final int mUser3down
GralWidget#getActionChange()
.
It is the second parameter of GralWidget.setActionMouse(GralMouseWidgetAction_ifc, int)
.
Use an | of this conditions. mUserAll includes any key of mouse.static final int mUserAlldown
GralWidget#getActionChange()
.
It is the second parameter of GralWidget.setActionMouse(GralMouseWidgetAction_ifc, int)
.
Use an | of this conditions. mUserAll includes any key of mouse.static final int mUser1up
GralWidget#getActionChange()
.
It is the second parameter of GralWidget.setActionMouse(GralMouseWidgetAction_ifc, int)
.
Use an | of this conditions. mUserAll includes any key of mouse.static final int mUser2up
GralWidget#getActionChange()
.
It is the second parameter of GralWidget.setActionMouse(GralMouseWidgetAction_ifc, int)
.
Use an | of this conditions. mUserAll includes any key of mouse.static final int mUser3up
GralWidget#getActionChange()
.
It is the second parameter of GralWidget.setActionMouse(GralMouseWidgetAction_ifc, int)
.
Use an | of this conditions. mUserAll includes any key of mouse.static final int mUserAllup
GralWidget#getActionChange()
.
It is the second parameter of GralWidget.setActionMouse(GralMouseWidgetAction_ifc, int)
.
Use an | of this conditions. mUserAll includes any key of mouse.static final int mUserDouble
GralWidget#getActionChange()
.
It is the second parameter of GralWidget.setActionMouse(GralMouseWidgetAction_ifc, int)
.
Use an | of this conditions. mUserAll includes any key of mouse.static final int mUserAll
GralWidget#getActionChange()
.
It is the second parameter of GralWidget.setActionMouse(GralMouseWidgetAction_ifc, int)
.
Use an | of this conditions. mUserAll includes any key of mouse.void mouse1Down(int key, int xMousePixel, int yMousePixel, int xWidgetSizePixel, int yWidgetSizePixel, GralWidget widgg)
xMousePixel
- yMousePixel
- 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)
xMousePixel
- yMousePixel
- void mouse2Up(int key, int xMousePixel, int yMousePixel, int xWidgetSizePixel, int yWidgetSizePixel, GralWidget widgg)
void mouse1Double(int key, int xMousePixel, int yMousePixel, int xWidgetSizePixel, int yWidgetSizePixel, GralWidget widgg)
boolean mouseMoved(int xMousePixel, int yMousePixel, int xWidgetSizePixel, int yWidgetSizePixel)
xMousePixel
- The current mouse cursor x valueyMousePixel
- The current mouse cursor y valuexWidgetSizePixel
- Width of the associated widget.yWidgetSizePixel
- Height of the associated widget.