com.valhalla.jbother
Class Emoticons.EmoteClickListener
java.lang.Object
java.awt.event.MouseAdapter
com.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 |
dialog
javax.swing.JDialog dialog
area
javax.swing.JTextArea area
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 listenerarea
- the textarea to append the emote symbol to
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Called by the mouse listener
- Parameters:
e
- the mouse event