List of usage examples for java.awt.event MouseMotionListener interface-usage
From source file Main.java
class MouseMotionEvents extends JPanel implements MouseListener, MouseMotionListener { Point p; public MouseMotionEvents() { addMouseListener(this); addMouseMotionListener(this);
From source file MainClass.java
class MouseMotionEvents extends JPanel implements MouseListener, MouseMotionListener { Point p; public MouseMotionEvents() { addMouseListener(this); addMouseMotionListener(this);
From source file BufferedDraw.java
public class BufferedDraw extends JPanel implements MouseListener, MouseMotionListener { Rectangle rect = new Rectangle(0, 0, 100, 50); BufferedImage bi = new BufferedImage(5, 5, BufferedImage.TYPE_INT_RGB); Graphics2D big;
From source file PolygonButton.java
public class PolygonButton extends JComponent implements MouseListener, MouseMotionListener { static public Color ACTIVE_COLOR = Color.red; static public Color INACTIVE_COLOR = Color.darkGray; protected String text;
From source file com.tag.MouseDragAndDrop.java
public abstract class MouseDragAndDrop implements MouseListener, MouseMotionListener { private Component component; private MouseEvent startEvent; private MouseEvent dragEvent;
From source file Main.java
class MoveMouseListener implements MouseListener, MouseMotionListener { JComponent target; Point start_drag; Point start_loc; public MoveMouseListener(JComponent target) {
From source file test.uk.co.modularaudio.util.swing.rollpainter.RPGestureRecogniser.java
public class RPGestureRecogniser implements MouseMotionListener, MouseListener { private static Log log = LogFactory.getLog(RPGestureRecogniser.class.getName()); private final JComponent componentToWatch; public RPGestureRecogniser(JComponent componentToWatch) {
From source file Main.java
class PolygonButton extends JComponent implements MouseListener, MouseMotionListener { static public Color ACTIVE_COLOR = Color.red; static public Color INACTIVE_COLOR = Color.darkGray; protected String text;
From source file org.jets3t.gui.JHtmlLabel.java
/**
* Enhanced version of {@link JLabel} that changes the mouse curser to indicate when it passes over a
* clickable HTML HREF link, and triggers a listener to follow the link when it is clicked.
* <p>
* This class is a modified version of example code authored by Jeffrey Bush:<br>
* <a href="http://forum.java.sun.com/thread.jspa?threadID=574895&messageID=2866170"
From source file com.original.widget.OPicture.java
/**
* (Class Annotation.)
* ?????
* @author Changjian Hu
* @encoding UTF-8
* @version 1.0