Class MouseAdapter

    • Constructor Detail

      • MouseAdapter

        public MouseAdapter()
    • Method Detail

      • mouseDoubleClick

        public void mouseDoubleClick​(MouseEvent e)
        Sent when a mouse button is pressed twice within the (operating system specified) double click period. The default behavior is to do nothing.
        Specified by:
        mouseDoubleClick in interface MouseListener
        Parameters:
        e - an event containing information about the mouse double click
        See Also:
        Display.getDoubleClickTime()
      • mouseDown

        public void mouseDown​(MouseEvent e)
        Sent when a mouse button is pressed. The default behavior is to do nothing.
        Specified by:
        mouseDown in interface MouseListener
        Parameters:
        e - an event containing information about the mouse button press
      • mouseUp

        public void mouseUp​(MouseEvent e)
        Sent when a mouse button is released. The default behavior is to do nothing.
        Specified by:
        mouseUp in interface MouseListener
        Parameters:
        e - an event containing information about the mouse button release