pictionary.pictionaryclient
Class PictionaryClientGUI.Paper.L1

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by pictionary.pictionaryclient.PictionaryClientGUI.Paper.L1
All Implemented Interfaces:
java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener
Enclosing class:
PictionaryClientGUI.Paper

 class PictionaryClientGUI.Paper.L1
extends java.awt.event.MouseAdapter

Handles the mousePressed(MouseEvent) event.

Author:
Kristoffer Nordkvist

Constructor Summary
PictionaryClientGUI.Paper.L1()
           
 
Method Summary
 void mousePressed(java.awt.event.MouseEvent me)
          If the paper is enabled, sends the clicked point to PictionaryClientGUI.Paper.addPointAndSend(Point).
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, mouseWheelMoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PictionaryClientGUI.Paper.L1

PictionaryClientGUI.Paper.L1()
Method Detail

mousePressed

public void mousePressed(java.awt.event.MouseEvent me)
If the paper is enabled, sends the clicked point to PictionaryClientGUI.Paper.addPointAndSend(Point).

Specified by:
mousePressed in interface java.awt.event.MouseListener
Overrides:
mousePressed in class java.awt.event.MouseAdapter