public class Env
extends java.lang.Object
Constructor and Description |
---|
Env() |
Modifier and Type | Method and Description |
---|---|
static boolean |
addHotkey(char key,
int modifiers,
HotkeyListener listener) |
static boolean |
addHotkey(java.lang.String key,
int modifiers,
HotkeyListener listener) |
static void |
cleanUp() |
static java.lang.String |
getClipboard() |
static Location |
getMouseLocation() |
static OS |
getOS() |
static OSUtil |
getOSUtil() |
static java.lang.String |
getOSVersion() |
static java.lang.String |
getSeparator() |
static java.lang.String |
getSikuliVersion() |
static boolean |
isLinux() |
static boolean |
isLockOn(char key) |
static boolean |
isMac() |
static boolean |
isWindows() |
static boolean |
removeHotkey(char key,
int modifiers) |
static boolean |
removeHotkey(java.lang.String key,
int modifiers) |
public static Location getMouseLocation() throws java.awt.HeadlessException
java.awt.HeadlessException
public static java.lang.String getOSVersion()
public static OS getOS()
public static boolean isWindows()
public static boolean isLinux()
public static boolean isMac()
public static java.lang.String getSeparator()
public static java.lang.String getClipboard()
public static OSUtil getOSUtil()
public static boolean isLockOn(char key)
public static java.lang.String getSikuliVersion()
public static boolean addHotkey(java.lang.String key, int modifiers, HotkeyListener listener)
public static boolean addHotkey(char key, int modifiers, HotkeyListener listener)
public static boolean removeHotkey(java.lang.String key, int modifiers)
public static boolean removeHotkey(char key, int modifiers)
public static void cleanUp()