com.valhalla.jbother
Class Emoticons.EmoteClickListener

java.lang.Object
  extended byjava.awt.event.MouseAdapter
      extended bycom.valhalla.jbother.Emoticons.EmoteClickListener
All Implemented Interfaces:
java.util.EventListener, java.awt.event.MouseListener
Enclosing class:
Emoticons

class Emoticons.EmoteClickListener
extends java.awt.event.MouseAdapter

Listens for an emoticon to get clicked

Author:
synic

Field Summary
(package private)  javax.swing.JTextArea area
           
(package private)  javax.swing.JDialog dialog
           
 
Constructor Summary
Emoticons.EmoteClickListener(javax.swing.JDialog dialog, javax.swing.JTextArea area)
          Constructor for the EmoteClickListener object
 
Method Summary
 void mouseReleased(java.awt.event.MouseEvent e)
          Called by the mouse listener
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseEntered, mouseExited, mousePressed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dialog

javax.swing.JDialog dialog

area

javax.swing.JTextArea area
Constructor Detail

Emoticons.EmoteClickListener

public Emoticons.EmoteClickListener(javax.swing.JDialog dialog,
                                    javax.swing.JTextArea area)
Constructor for the EmoteClickListener object

Parameters:
dialog - the emote dialog that called this listener
area - the textarea to append the emote symbol to
Method Detail

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Called by the mouse listener

Parameters:
e - the mouse event