public class MouseRecorder
extends java.lang.Object
implements java.awt.event.AWTEventListener
Modifier and Type | Field and Description |
---|---|
protected java.awt.image.BufferedImage |
img |
protected java.awt.Point |
lastPoint |
protected java.awt.image.BufferedImage |
lastSnapshot |
protected long |
lastTime |
protected java.awt.Graphics2D |
pathGraphics |
protected java.awt.Robot |
r |
protected java.awt.Dimension |
screenSize |
Constructor and Description |
---|
MouseRecorder() |
Modifier and Type | Method and Description |
---|---|
protected void |
createSnapshot(java.awt.Point clicked,
boolean leftClick) |
void |
eventDispatched(java.awt.AWTEvent event) |
void |
startRecording() |
void |
stopRecording() |
protected java.awt.image.BufferedImage img
protected java.awt.image.BufferedImage lastSnapshot
protected java.awt.Point lastPoint
protected long lastTime
protected java.awt.Graphics2D pathGraphics
protected java.awt.Dimension screenSize
protected java.awt.Robot r
protected void createSnapshot(java.awt.Point clicked, boolean leftClick)
public void startRecording()
public void stopRecording()
public void eventDispatched(java.awt.AWTEvent event)
eventDispatched
in interface java.awt.event.AWTEventListener
Copyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.