Class MouseRelayListener

java.lang.Object
java.awt.event.MouseAdapter
javax.swing.event.MouseInputAdapter
mgui.interfaces.graphics.util.MouseRelayListener
All Implemented Interfaces:
java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener, javax.swing.event.MouseInputListener

public class MouseRelayListener
extends javax.swing.event.MouseInputAdapter
implements java.awt.event.MouseWheelListener
Relays a mouse event from a child panel to the parent InterfaceGraphic.
Since:
1.0
Version:
1.0
Author:
Andrew Reid
  • Constructor Summary

    Constructors
    Constructor Description
    MouseRelayListener​(InterfaceGraphic<?> parent)  
  • Method Summary

    Modifier and Type Method Description
    void mouseClicked​(java.awt.event.MouseEvent e)  
    void mouseDragged​(java.awt.event.MouseEvent e)  
    void mouseMoved​(java.awt.event.MouseEvent e)  
    void mousePressed​(java.awt.event.MouseEvent e)  
    void mouseReleased​(java.awt.event.MouseEvent e)  
    void mouseWheelMoved​(java.awt.event.MouseWheelEvent e)  

    Methods inherited from class java.awt.event.MouseAdapter

    mouseEntered, mouseExited

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.awt.event.MouseListener

    mouseEntered, mouseExited
  • Constructor Details

  • Method Details

    • mouseMoved

      public void mouseMoved​(java.awt.event.MouseEvent e)
      Specified by:
      mouseMoved in interface java.awt.event.MouseMotionListener
      Overrides:
      mouseMoved in class java.awt.event.MouseAdapter
    • mouseDragged

      public void mouseDragged​(java.awt.event.MouseEvent e)
      Specified by:
      mouseDragged in interface java.awt.event.MouseMotionListener
      Overrides:
      mouseDragged in class java.awt.event.MouseAdapter
    • mouseWheelMoved

      public void mouseWheelMoved​(java.awt.event.MouseWheelEvent e)
      Specified by:
      mouseWheelMoved in interface java.awt.event.MouseWheelListener
      Overrides:
      mouseWheelMoved in class java.awt.event.MouseAdapter
    • mouseReleased

      public void mouseReleased​(java.awt.event.MouseEvent e)
      Specified by:
      mouseReleased in interface java.awt.event.MouseListener
      Overrides:
      mouseReleased in class java.awt.event.MouseAdapter
    • mousePressed

      public void mousePressed​(java.awt.event.MouseEvent e)
      Specified by:
      mousePressed in interface java.awt.event.MouseListener
      Overrides:
      mousePressed in class java.awt.event.MouseAdapter
    • mouseClicked

      public void mouseClicked​(java.awt.event.MouseEvent e)
      Specified by:
      mouseClicked in interface java.awt.event.MouseListener
      Overrides:
      mouseClicked in class java.awt.event.MouseAdapter