biz.chitec.quarterback.swing
Class JListMouser
java.lang.Object
java.awt.event.MouseAdapter
biz.chitec.quarterback.swing.JListMouser
- All Implemented Interfaces:
- java.util.EventListener, java.awt.event.MouseListener
- public class JListMouser
- extends java.awt.event.MouseAdapter
The somehow incorrect test of making a MouseAdapter which emulates CTRL pressing.
This object does not work as expected. It should however act on a list as
CTRL is pressed while selecting elements (and therefore changing the current selection
elementwise rather than beginning a new selection).
- Version:
- $Id: JListMouser.java,v 1.2 2003/01/31 22:07:46 dirkhillbrecht Exp $
- Author:
- Dirk Hillbrecht 1997-2000, chitec/Dirk Hillbrecht 2000.
Distributed under the terms of the GNU LGPL.
Field Summary |
protected javax.swing.JList |
list
|
Method Summary |
static void |
addToJList(javax.swing.JList l)
|
static void |
main(java.lang.String[] argv)
|
void |
mousePressed(java.awt.event.MouseEvent e)
|
Methods inherited from class java.awt.event.MouseAdapter |
mouseClicked, mouseEntered, mouseExited, mouseReleased |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
list
protected javax.swing.JList list
JListMouser
public JListMouser(javax.swing.JList jl)
addToJList
public static void addToJList(javax.swing.JList l)
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
main
public static void main(java.lang.String[] argv)