Class DockingInternalFrameUI.DesignModeAwareGlassPaneDispatcher
java.lang.Object
java.awt.event.MouseAdapter
javax.swing.event.MouseInputAdapter
com.inductiveautomation.factorypmi.application.DockingInternalFrameUI.DesignModeAwareGlassPaneDispatcher
- All Implemented Interfaces:
MouseListener
,MouseMotionListener
,MouseWheelListener
,EventListener
,MouseInputListener
- Enclosing class:
- DockingInternalFrameUI
The is glass pane dispatcher overrides the Handler in BasicInternalFrameUI. The dispatcher is in charge of
listening to the glasspane that is made visible when the frame is not selected. It selects the frame if the
glasspane is clicked. It also forwards the mouse events through to the frame's content pane. This is undesirable
for us when in design mode.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Ignore mouseClicked events.void
Forward the mouseDragged event to the underlying child container.void
Forward the mouseEntered event to the underlying child container.void
Forward the mouseExited event to the underlying child container.void
Forward the mouseMoved event to the underlying child container.void
void
Forward the mouseReleased event to the underlying child container.Methods inherited from class java.awt.event.MouseAdapter
mouseWheelMoved
-
Constructor Details
-
DesignModeAwareGlassPaneDispatcher
protected DesignModeAwareGlassPaneDispatcher()
-
-
Method Details
-
mousePressed
- Specified by:
mousePressed
in interfaceMouseListener
- Overrides:
mousePressed
in classMouseAdapter
-
mouseEntered
Forward the mouseEntered event to the underlying child container.- Specified by:
mouseEntered
in interfaceMouseListener
- Overrides:
mouseEntered
in classMouseAdapter
- See Also:
-
mouseMoved
Forward the mouseMoved event to the underlying child container.- Specified by:
mouseMoved
in interfaceMouseMotionListener
- Overrides:
mouseMoved
in classMouseAdapter
- See Also:
-
mouseExited
Forward the mouseExited event to the underlying child container.- Specified by:
mouseExited
in interfaceMouseListener
- Overrides:
mouseExited
in classMouseAdapter
- See Also:
-
mouseClicked
Ignore mouseClicked events.- Specified by:
mouseClicked
in interfaceMouseListener
- Overrides:
mouseClicked
in classMouseAdapter
- See Also:
-
mouseReleased
Forward the mouseReleased event to the underlying child container.- Specified by:
mouseReleased
in interfaceMouseListener
- Overrides:
mouseReleased
in classMouseAdapter
- See Also:
-
mouseDragged
Forward the mouseDragged event to the underlying child container.- Specified by:
mouseDragged
in interfaceMouseMotionListener
- Overrides:
mouseDragged
in classMouseAdapter
- See Also:
-