Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

:: com :: sun :: star :: awt ::
struct MouseEvent
  Base Hierarchy
      MouseEvent
       ┗ InputEvent
          ┗ ::com::sun::star::lang::EventObject
Description specifies an event from the mouse. This event is also used for pop-up menu requests on objects. See PopupTrigger for details. See also XMouseListener, XMouseMotionListener, InputEvent

Elements' Summary
Buttons | contains the pressed mouse buttons.
X | contains the x coordinate location of the mouse.
Y | contains the y coordinate location of the mouse.
ClickCount | contains the number of mouse clicks associated with event.
PopupTrigger | specifies if this event is a pop-up menu trigger event.

Elements' Details
Buttons
short Buttons; Description contains the pressed mouse buttons. Zero ore more constants from the MouseButton group.
X
long X; Description contains the x coordinate location of the mouse.
Y
long Y; Description contains the y coordinate location of the mouse.
ClickCount
long ClickCount; Description contains the number of mouse clicks associated with event.
PopupTrigger
boolean PopupTrigger; Description specifies if this event is a pop-up menu trigger event. If this member is true, the event describes a request for a pop-up menu, also known as context menu, on an object. In this case, X and Y describe the position where the request was issued. If those members are `-1`, then the request was issued using the keyboard, by pressing the operating-system dependent key combination for this purpose. See also XMouseListener::mousePressed

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.