bookExamples.ch26Graphics
Class MouseProcessor
java.lang.Object
   bookExamples.ch26Graphics.MouseProcessor
bookExamples.ch26Graphics.MouseProcessor
- All Implemented Interfaces: 
- java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener
- public class MouseProcessor 
- extends java.lang.Object- implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener
| Constructor Summary | 
| MouseProcessor(javax.swing.JFrame frame,
               int width,
               int height)This constructor requires a Frame and a desired size
 | 
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
MouseProcessor
public MouseProcessor(javax.swing.JFrame frame,
                      int width,
                      int height)
- This constructor requires a Frame and a desired size
 
- Parameters:
- frame- that contains the mouse
- width- of the pane
- height- of the panel
 
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
- 
- Specified by:
- mouseDraggedin interface- java.awt.event.MouseMotionListener
 
- 
 
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent e)
- 
- Specified by:
- mouseMovedin interface- java.awt.event.MouseMotionListener
 
- 
 
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- 
- Specified by:
- mouseClickedin interface- java.awt.event.MouseListener
 
- 
 
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- 
- Specified by:
- mousePressedin interface- java.awt.event.MouseListener
 
- 
 
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- 
- Specified by:
- mouseReleasedin interface- java.awt.event.MouseListener
 
- 
 
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
- 
- Specified by:
- mouseEnteredin interface- java.awt.event.MouseListener
 
- 
 
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
- 
- Specified by:
- mouseExitedin interface- java.awt.event.MouseListener
 
- 
 
getDrawPanel
public DrawPanel getDrawPanel()
- 
 
-