Use is subject to license terms and the documentation redistribution policy. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.Ĭopyright © 1993, 2022, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.Īll rights reserved. Toolkit.getDesktopProperty()įor further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.Returns: number of buttons on the mouse Throws: HeadlessException - if GraphicsEnvironment.isHeadless() returns true Since: 1.5 See Also: Which is set by the underlying native platform. The number of buttons is obtained from the AWT Toolkitīy requesting the "" desktop property Returns the number of buttons on the mouse. Returns: location of the mouse pointer Throws: HeadlessException - if GraphicsEnvironment.isHeadless() returns true SecurityException - if a security manager exists and itsĬheckPermission method doesn't allow the operation Since: 1.5 See Also: Permission before creating and returning a PointerInfo Is called with an AWTPermission("watchMousePointer") If there is a security manager, its checkPermission method On systems without a mouse, returns null. See GraphicsConfigurationįor more information about the virtual screen devices. The coordinate system used for the mouse positionĭepends on whether or not the GraphicsDevice is part of a virtualįor virtual screen devices, the coordinates are given in the virtualĬoordinate system, otherwise they are returned in the coordinate system The GraphicsDevice stored in this PointerInfoĬontains the mouse pointer. Returns a PointerInfo instance that represents the current
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |