Package gov.nih.mipav.view
Class ViewJFrameRegisteredImages.MouseClickAdapter
java.lang.Object
java.awt.event.MouseAdapter
gov.nih.mipav.view.ViewJFrameRegisteredImages.MouseClickAdapter
- All Implemented Interfaces:
MouseListener,MouseMotionListener,MouseWheelListener,EventListener
- Enclosing class:
ViewJFrameRegisteredImages
As an extension of MouseAdapter, this class merely responds on clicked list events. In particular, the
double-clicked item is brought to the front if the image is associated with an image frame.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmouseClicked(MouseEvent event) Responds only on double-clicked events from the JList.Methods inherited from class java.awt.event.MouseAdapter
mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved
-
Constructor Details
-
MouseClickAdapter
private MouseClickAdapter()
-
-
Method Details
-
mouseClicked
Responds only on double-clicked events from the JList. The double-clicked list item brings to the front the frame of the associated image.Ignores ClassCastExceptions, and will present to the user the error messages if there are NullPointerExceptions.
- Specified by:
mouseClickedin interfaceMouseListener- Overrides:
mouseClickedin classMouseAdapter- See Also:
-