Package samer.units

Class MousePosition

  • java.lang.Object
    • samer.units.MousePosition
  • All Implemented Interfaces:
    java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener


    public class MousePosition
    extends java.lang.Object
    implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener
    • Constructor Summary

      Constructors 
      Constructor and Description
      MousePosition(java.awt.Component c) 
    • Constructor Detail

      • MousePosition

        public MousePosition(java.awt.Component c)
    • Method Detail

      • dispose

        public void dispose()
      • mouseClicked

        public void mouseClicked(java.awt.event.MouseEvent e)
        Specified by:
        mouseClicked in interface java.awt.event.MouseListener
      • mouseEntered

        public void mouseEntered(java.awt.event.MouseEvent e)
        Specified by:
        mouseEntered in interface java.awt.event.MouseListener
      • mouseExited

        public void mouseExited(java.awt.event.MouseEvent e)
        Specified by:
        mouseExited in interface java.awt.event.MouseListener
      • mousePressed

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

        public void mouseReleased(java.awt.event.MouseEvent e)
        Specified by:
        mouseReleased in interface java.awt.event.MouseListener
      • mouseDragged

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

        public void mouseMoved(java.awt.event.MouseEvent e)
        Specified by:
        mouseMoved in interface java.awt.event.MouseMotionListener