public class MouseHandler extends MapEventBroadcaster
eventDispatcher, maps
Constructor and Description |
---|
MouseHandler(processing.core.PApplet p,
java.util.List<UnfoldingMap> maps)
Creates a MouseHandler for the given maps.
|
MouseHandler(processing.core.PApplet p,
UnfoldingMap... maps)
Creates a MouseHandler for the given maps.
|
Modifier and Type | Method and Description |
---|---|
void |
mouseClicked() |
void |
mouseDragged() |
void |
mouseEvent(processing.event.MouseEvent event) |
void |
mouseMoved() |
void |
mouseWheel(float delta) |
void |
mouseWheel(processing.event.MouseEvent event) |
setEventDispatcher
public MouseHandler(processing.core.PApplet p, UnfoldingMap... maps)
p
- The PApplet.maps
- One or more maps.public MouseHandler(processing.core.PApplet p, java.util.List<UnfoldingMap> maps)
p
- The PApplet.maps
- A list of maps.public void mouseClicked()
public void mouseWheel(processing.event.MouseEvent event)
public void mouseWheel(float delta)
public void mouseDragged()
public void mouseMoved()
public void mouseEvent(processing.event.MouseEvent event)