List of usage examples for java.awt.event MouseMotionListener interface-usage
From source file uk.co.modularaudio.util.swing.dndtable.layeredpane.LayeredPaneDndTableMouseListener.java
public class LayeredPaneDndTableMouseListener<A extends RackModelTableSpanningContents, B extends SpanningContentsProperties, C extends Component & LayeredPaneTableComponent & GuiDndTableComponent> implements MouseMotionListener, MouseListener { private static final Point OFFSCREEN_MOUSE_MOVE_POINT = new Point(-1, -1); private static Log log = LogFactory.getLog(LayeredPaneDndTableMouseListener.class.getName());
From source file org.pmedv.blackboard.commands.AddTextCommand.java
/**
* This command adds a new {@link Resistor} with a specified value to the board.
*
* @author Matthias Pueski (29.05.2011)
*
*/
From source file cl.almejo.vsim.gui.SimWindow.java
public class SimWindow extends JFrame implements ComponentListener, WindowListener, MouseListener, MouseMotionListener, CircuitStateListener { private static final Logger LOGGER = LoggerFactory.getLogger(SimWindow.class); private static final long serialVersionUID = 1L;
From source file org.ietr.preesm.mapper.ui.MouseClickedListener.java
/**
* Listening for mouse events to refresh correctly the awt display when Gantt
* chart is changed.
*
* @author mpelcat
*/
From source file LayeredPaneDemo.java
public class LayeredPaneDemo extends JPanel implements ActionListener, MouseMotionListener { private String[] layerStrings = { "Yellow (0)", "Magenta (1)", "Cyan (2)", "Red (3)", "Green (4)" }; private Color[] layerColors = { Color.yellow, Color.magenta, Color.cyan, Color.red, Color.green }; private JLayeredPane layeredPane;
From source file net.panthema.BispanningGame.MyEditingGraphMousePlugin.java
/**
* A plugin that can create vertices, undirected edges, and directed edges using
* mouse gestures.
*
* @author Tom Nelson
*/
From source file org.kalypso.mt.input.MTMouseInput.java
/** * @author cybernixadm */ public class MTMouseInput extends AbstractInputSource implements MouseMotionListener, MouseListener { private class MTMouseEventData { public MTMouseEventData() {
From source file MouseDrag.java
/** * MouseDrag -- implement simple mouse drag in a window. */ public class MouseDrag extends Component implements MouseListener, MouseMotionListener { /** The Image we are to paint */ Image curImage;
From source file graph.eventhandlers.MyEditingGraphMousePlugin.java
/**
* A plugin that can create vertices, undirected edges, and directed edges using
* mouse gestures.
*
* @author Tom Nelson - RABA Technologies
*
From source file SwingMouseMotionEventDemo.java
public class SwingMouseMotionEventDemo extends JPanel implements MouseMotionListener { BlankArea blankArea; JTextArea textArea; static final String newline = "\n";