public class ControlWindow.Pointer
extends java.lang.Object
ControlWindow.getPointer()
.
Then use
controlP5.ControlWindow#set(int, int)
to
alter its position or invoke {
controlP5.ControlWindow#pressed()
or
controlP5.ControlWindow#released()
to change
its state. To disable the mouse and enable the
Pointer use controlP5.ControlWindow#enable()
and controlP5.ControlWindow#disable()
to
default back to the mouse as input parameter.Constructor and Description |
---|
ControlWindow.Pointer() |
Modifier and Type | Method and Description |
---|---|
void |
disable() |
void |
enable() |
int |
getPreviousX() |
int |
getPreviousY() |
int |
getX() |
int |
getY() |
boolean |
isEnabled() |
ControlWindow.Pointer |
pressed() |
ControlWindow.Pointer |
released() |
ControlWindow.Pointer |
set(int theX,
int theY) |
ControlWindow.Pointer |
set(int theX,
int theY,
boolean pressed) |
ControlWindow.Pointer |
setX(int theX) |
ControlWindow.Pointer |
setY(int theY) |
public void disable()
public void enable()
public int getPreviousX()
public int getPreviousY()
public int getX()
public int getY()
public boolean isEnabled()
public ControlWindow.Pointer pressed()
public ControlWindow.Pointer released()
public ControlWindow.Pointer set(int theX, int theY)
public ControlWindow.Pointer set(int theX, int theY, boolean pressed)
public ControlWindow.Pointer setX(int theX)
public ControlWindow.Pointer setY(int theY)
processing library controlP5 by Andreas Schlegel. (c) 2006-2014