Package jmri.util
Class BusyGlassPane.CBListener
- java.lang.Object
-
- java.awt.event.MouseAdapter
-
- javax.swing.event.MouseInputAdapter
-
- jmri.util.BusyGlassPane.CBListener
-
- All Implemented Interfaces:
java.awt.event.MouseListener
,java.awt.event.MouseMotionListener
,java.awt.event.MouseWheelListener
,java.util.EventListener
,javax.swing.event.MouseInputListener
- Enclosing class:
- BusyGlassPane
static class BusyGlassPane.CBListener extends javax.swing.event.MouseInputAdapter
Listen for all events that our components are likely to be interested in. Redispatch them to the appropriate component.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.awt.Container
contentPane
(package private) BusyGlassPane
glassPane
(package private) boolean
inDrag
(package private) java.util.List<javax.swing.JComponent>
liveComponents
(package private) java.util.List<java.awt.Rectangle>
liveRectangles
(package private) javax.swing.JFrame
parentFrame
-
Constructor Summary
Constructors Constructor Description CBListener(java.util.List<javax.swing.JComponent> objects, java.util.List<java.awt.Rectangle> rectangles, BusyGlassPane glassPane, java.awt.Container contentPane, javax.swing.JFrame parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mouseClicked(java.awt.event.MouseEvent e)
void
mouseDragged(java.awt.event.MouseEvent e)
void
mouseEntered(java.awt.event.MouseEvent e)
void
mouseExited(java.awt.event.MouseEvent e)
void
mouseMoved(java.awt.event.MouseEvent e)
void
mousePressed(java.awt.event.MouseEvent e)
void
mouseReleased(java.awt.event.MouseEvent e)
-
-
-
Field Detail
-
parentFrame
javax.swing.JFrame parentFrame
-
liveComponents
java.util.List<javax.swing.JComponent> liveComponents
-
liveRectangles
java.util.List<java.awt.Rectangle> liveRectangles
-
glassPane
BusyGlassPane glassPane
-
contentPane
java.awt.Container contentPane
-
inDrag
boolean inDrag
-
-
Constructor Detail
-
CBListener
public CBListener(java.util.List<javax.swing.JComponent> objects, java.util.List<java.awt.Rectangle> rectangles, BusyGlassPane glassPane, java.awt.Container contentPane, javax.swing.JFrame parent)
-
-
Method Detail
-
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent e)
- Specified by:
mouseMoved
in interfacejava.awt.event.MouseMotionListener
- Overrides:
mouseMoved
in classjava.awt.event.MouseAdapter
-
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
- Specified by:
mouseDragged
in interfacejava.awt.event.MouseMotionListener
- Overrides:
mouseDragged
in classjava.awt.event.MouseAdapter
-
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- Specified by:
mouseClicked
in interfacejava.awt.event.MouseListener
- Overrides:
mouseClicked
in classjava.awt.event.MouseAdapter
-
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
- Specified by:
mouseEntered
in interfacejava.awt.event.MouseListener
- Overrides:
mouseEntered
in classjava.awt.event.MouseAdapter
-
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
- Specified by:
mouseExited
in interfacejava.awt.event.MouseListener
- Overrides:
mouseExited
in classjava.awt.event.MouseAdapter
-
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressed
in interfacejava.awt.event.MouseListener
- Overrides:
mousePressed
in classjava.awt.event.MouseAdapter
-
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Specified by:
mouseReleased
in interfacejava.awt.event.MouseListener
- Overrides:
mouseReleased
in classjava.awt.event.MouseAdapter
-
-