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 TypeMethodDescriptionvoidIgnore mouseClicked events.voidForward the mouseDragged event to the underlying child container.voidForward the mouseEntered event to the underlying child container.voidForward the mouseExited event to the underlying child container.voidForward the mouseMoved event to the underlying child container.voidvoidForward 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:
mousePressedin interfaceMouseListener- Overrides:
mousePressedin classMouseAdapter
-
mouseEntered
Forward the mouseEntered event to the underlying child container.- Specified by:
mouseEnteredin interfaceMouseListener- Overrides:
mouseEnteredin classMouseAdapter- See Also:
-
mouseMoved
Forward the mouseMoved event to the underlying child container.- Specified by:
mouseMovedin interfaceMouseMotionListener- Overrides:
mouseMovedin classMouseAdapter- See Also:
-
mouseExited
Forward the mouseExited event to the underlying child container.- Specified by:
mouseExitedin interfaceMouseListener- Overrides:
mouseExitedin classMouseAdapter- See Also:
-
mouseClicked
Ignore mouseClicked events.- Specified by:
mouseClickedin interfaceMouseListener- Overrides:
mouseClickedin classMouseAdapter- See Also:
-
mouseReleased
Forward the mouseReleased event to the underlying child container.- Specified by:
mouseReleasedin interfaceMouseListener- Overrides:
mouseReleasedin classMouseAdapter- See Also:
-
mouseDragged
Forward the mouseDragged event to the underlying child container.- Specified by:
mouseDraggedin interfaceMouseMotionListener- Overrides:
mouseDraggedin classMouseAdapter- See Also:
-