Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 17 java.desktop.jmod - Desktop Module
JDK 17 java.desktop.jmod is the JMOD file for JDK 17 Desktop module.
JDK 17 Desktop module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\java.desktop.jmod.
JDK 17 Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Desktop module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\java.desktop.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ java/awt/peer/RobotPeer.java
/* * Copyright (c) 1999, 2020, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.awt.peer; import java.awt.Rectangle; import java.awt.Robot; /** * RobotPeer defines an interface whereby toolkits support automated testing * by allowing native input events to be generated from Java code. * * This interface should not be directly imported by code outside the * java.awt.* hierarchy; it is not to be considered public and is subject * to change. * * @author Robi Khan */ public interface RobotPeer { /** * Moves the mouse pointer to the specified screen location. * * @param x the X location on screen * @param y the Y location on screen * * @see Robot#mouseMove(int, int) */ void mouseMove(int x, int y); /** * Simulates a mouse press with the specified button(s). * * @param buttons the button mask * * @see Robot#mousePress(int) */ void mousePress(int buttons); /** * Simulates a mouse release with the specified button(s). * * @param buttons the button mask * * @see Robot#mouseRelease(int) */ void mouseRelease(int buttons); /** * Simulates mouse wheel action. * * @param wheelAmt number of notches to move the mouse wheel * * @see Robot#mouseWheel(int) */ void mouseWheel(int wheelAmt); /** * Simulates a key press of the specified key. * * @param keycode the key code to press * * @see Robot#keyPress(int) */ void keyPress(int keycode); /** * Simulates a key release of the specified key. * * @param keycode the key code to release * * @see Robot#keyRelease(int) */ void keyRelease(int keycode); /** * Gets the RGB value of the specified pixel on screen. * * @param x the X screen coordinate * @param y the Y screen coordinate * * @return the RGB value of the specified pixel on screen * * @see Robot#getPixelColor(int, int) */ int getRGBPixel(int x, int y); /** * Gets the RGB values of the specified screen area as an array. * * @param bounds the screen area to capture the RGB values from * * @return the RGB values of the specified screen area * * @see Robot#createScreenCapture(Rectangle) */ int[] getRGBPixels(Rectangle bounds); /** * Determines if absolute coordinates should be used by this peer. * * @return {@code true} if absolute coordinates should be used, * {@code false} otherwise */ default boolean useAbsoluteCoordinates() { return false; } }
⏎ java/awt/peer/RobotPeer.java
Or download all of them as a single archive file:
File name: java.desktop-17.0.5-src.zip File size: 9152233 bytes Release date: 2022-09-13 Download
⇒ JDK 17 java.instrument.jmod - Instrument Module
2023-09-16, 33661👍, 0💬
Popular Posts:
How to display types defined in an XML Schema file with the xs\QueryXS.java provided in the Apache X...
How to download and install Apache XMLBeans Source Package? The source package contains Java source ...
How to download and install ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is a Java 5 J...
maven-compat-3.8.6.jar is the JAR file for Apache Maven 3.8.6 Compact module. The JAR file name may ...
How to download and install JDK (Java Development Kit) 5? If you want to write Java applications, yo...