| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static Cursor | createCursor(int width, int height, int xHotspot, int yHotspot, int numImages, IntBuffer images, IntBuffer delays)
Native cursor handles |
| public static Robot | |
| public static int | |
| public static Point | getCursorPosition(Component component)
Use the 1.5 API to get the cursor position relative to the component. |
| public static int | |
| public static int | |
| public static int | |
| private static Point | getPointerLocation(final Component component)
Use reflection to access the JDK 1.5 pointer location, if possible and only if the given component is on the same screen as the cursor. |
| public static boolean | |
| public static void | |
| private static int |
| AWTUtil | back to summary |
|---|---|
| pack-priv AWTUtil() | |
| createCursor | back to summary |
|---|---|
| public static Cursor createCursor(int width, int height, int xHotspot, int yHotspot, int numImages, IntBuffer images, IntBuffer delays) throws LWJGLException Native cursor handles | |
| createRobot | back to summary |
|---|---|
| public static Robot createRobot(final Component component) | |
| getButtonCount | back to summary |
|---|---|
| public static int getButtonCount() | |
| getCursorPosition | back to summary |
|---|---|
| public static Point getCursorPosition(Component component) Use the 1.5 API to get the cursor position relative to the component. Return null if it fails (JDK <= 1.4). | |
| getMaxCursorSize | back to summary |
|---|---|
| public static int getMaxCursorSize() | |
| getMinCursorSize | back to summary |
|---|---|
| public static int getMinCursorSize() | |
| getNativeCursorCapabilities | back to summary |
|---|---|
| public static int getNativeCursorCapabilities() | |
| getPointerLocation | back to summary |
|---|---|
| private static Point getPointerLocation(final Component component) Use reflection to access the JDK 1.5 pointer location, if possible and only if the given component is on the same screen as the cursor. Return null otherwise. | |
| hasWheel | back to summary |
|---|---|
| public static boolean hasWheel() | |
| setCursorPosition | back to summary |
|---|---|
| public static void setCursorPosition(Component component, Robot robot, int x, int y) | |
| transformY | back to summary |
|---|---|
| private static int transformY(Component component, int y) | |