public class ComponentMouseButtonAdapter extends Object implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentMouseButtonListener
Constructor and Description |
---|
ComponentMouseButtonAdapter() |
Modifier and Type | Method and Description |
---|---|
CallableWithArgs<Boolean> |
getMouseClick() |
CallableWithArgs<Boolean> |
getMouseDown() |
CallableWithArgs<Boolean> |
getMouseUp() |
boolean |
mouseClick(org.apache.pivot.wtk.Component arg0,
org.apache.pivot.wtk.Mouse.Button arg1,
int arg2,
int arg3,
int arg4) |
boolean |
mouseDown(org.apache.pivot.wtk.Component arg0,
org.apache.pivot.wtk.Mouse.Button arg1,
int arg2,
int arg3) |
boolean |
mouseUp(org.apache.pivot.wtk.Component arg0,
org.apache.pivot.wtk.Mouse.Button arg1,
int arg2,
int arg3) |
void |
setMouseClick(CallableWithArgs<Boolean> mouseClick) |
void |
setMouseDown(CallableWithArgs<Boolean> mouseDown) |
void |
setMouseUp(CallableWithArgs<Boolean> mouseUp) |
public CallableWithArgs<Boolean> getMouseClick()
public CallableWithArgs<Boolean> getMouseDown()
public CallableWithArgs<Boolean> getMouseUp()
public void setMouseClick(CallableWithArgs<Boolean> mouseClick)
public void setMouseDown(CallableWithArgs<Boolean> mouseDown)
public void setMouseUp(CallableWithArgs<Boolean> mouseUp)
public boolean mouseClick(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3, int arg4)
mouseClick
in interface org.apache.pivot.wtk.ComponentMouseButtonListener
public boolean mouseDown(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3)
mouseDown
in interface org.apache.pivot.wtk.ComponentMouseButtonListener
public boolean mouseUp(org.apache.pivot.wtk.Component arg0, org.apache.pivot.wtk.Mouse.Button arg1, int arg2, int arg3)
mouseUp
in interface org.apache.pivot.wtk.ComponentMouseButtonListener