MouseListener
, MouseMotionListener
, MouseWheelListener
, EventListener
protected class BasicFileChooserUI.DoubleClickListener extends MouseAdapter
Constructor | Description |
---|---|
DoubleClickListener(JList<?> list) |
Constucts a
DoubleClickListener . |
Modifier and Type | Method | Description |
---|---|---|
void |
mouseClicked(MouseEvent e) |
Invoked when the mouse button has been clicked (pressed
and released) on a component.
|
void |
mouseEntered(MouseEvent e) |
The JList used for representing the files is created by subclasses, but the
selection is monitored in this class.
|
mouseDragged, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved
public DoubleClickListener(JList<?> list)
DoubleClickListener
.list
- the lsitpublic void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
mouseEntered
in class MouseAdapter
e
- the event to be processedpublic void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
mouseClicked
in class MouseAdapter
e
- the event to be processed Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps