org.thdl.tib.bibl
Class DiacriticPanel.TiblEditMouseAdapter
java.lang.Object
|
+--java.awt.event.MouseAdapter
|
+--org.thdl.tib.bibl.DiacriticPanel.TiblEditMouseAdapter
- All Implemented Interfaces:
- EventListener, MouseListener
- Enclosing class:
- DiacriticPanel
- private class DiacriticPanel.TiblEditMouseAdapter
- extends MouseAdapter
This inner class is a MouseAdapter that implements "mousePressed". It is added to a label with a diacritic
so that when that label is clicked, the corresponding Unicode diacritic character is inserted in the
open document, a TextPane
, at the cursor.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiacriticPanel.TiblEditMouseAdapter
private DiacriticPanel.TiblEditMouseAdapter()
mousePressed
public void mousePressed(MouseEvent me)
This version of mousePressed. Takes the TibFrame
supplied with the DiacriticPanel's constructor
and gets its TextPane
. It then inserts the Unicode diacritic character from the source
label at the cursor of this text pane.
- Specified by:
mousePressed
in interface MouseListener
- Overrides:
mousePressed
in class MouseAdapter
These API docs were created 02/02/2003 08:20 PM.
Copyright © 2001-2002 Tibetan and Himalayan Digital Library. All Rights Reserved.
Hosted by