All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Control.TextAreaListener

java.lang.Object
   |
   +----Control.TextAreaListener

public class TextAreaListener
extends Object
implements MouseListener
A class that handles all the events of main text area


Constructor Index

 o TextAreaListener(InterfaceView, String)
This constructor will create an text area listener object

Method Index

 o mouseClicked(MouseEvent)
This method will handle mouse clicked event by getting the definition of the word that the user clicked
 o mouseEntered(MouseEvent)
This method will handle mouse entered event
 o mouseExited(MouseEvent)
This method will handle mouse exited event
 o mousePressed(MouseEvent)
This method will handle mouse pressed event
 o mouseReleased(MouseEvent)
This method will handle mouse released event

Constructors

 o TextAreaListener
 public TextAreaListener(InterfaceView view,
                         String name)
This constructor will create an text area listener object

Methods

 o mousePressed
 public void mousePressed(MouseEvent e)
This method will handle mouse pressed event

Returns:
none
 o mouseReleased
 public void mouseReleased(MouseEvent e)
This method will handle mouse released event

Returns:
none
 o mouseEntered
 public void mouseEntered(MouseEvent e)
This method will handle mouse entered event

Returns:
none
 o mouseExited
 public void mouseExited(MouseEvent e)
This method will handle mouse exited event

Returns:
none
 o mouseClicked
 public void mouseClicked(MouseEvent e)
This method will handle mouse clicked event by getting the definition of the word that the user clicked

Returns:
none

All Packages  Class Hierarchy  This Package  Previous  Next  Index