Package org.sikuli.basics
Class Settings
- java.lang.Object
-
- org.sikuli.basics.Settings
-
public class Settings extends Object
This is the container for all
-
-
Field Summary
Fields Modifier and Type Field Description static booleanActionLogsstatic floatAlwaysResizestatic booleanAutoDetectKeyboardLayoutstatic floatAutoWaitTimeoutstatic StringBundlePathstatic booleanCheckLastSeenstatic floatCheckLastSeenSimilarstatic booleancheckMousePositionstatic doubleClickDelaySpecify a delay between the mouse down and up in seconds as 0.nnn.static booleanClickTypeHackstatic booleanDebugLogsstatic StringDefaultHighlightColorstatic floatDefaultHighlightTimestatic intDefaultPaddingstatic doubleDelayAfterDragstatic doubleDelayBeforeDragstatic doubleDelayBeforeDropstatic doubleDelayBeforeMouseDownstatic doubleDelayValuestatic booleanexperimentalstatic booleanFALSEstatic booleanFindProfilingstatic floatFOREVERstatic booleanHighlighttrue = highlight every match (default: false) (show red rectangle around) for DefaultHighlightTime seconds (default: 2)static booleanHighlightTransparentstatic ImageCallbackImageCallbackstatic booleanInfoLogsstatic booleanInputFontMonostatic intInputFontSizestatic intISLINUXstatic intISMACstatic booleanisMacAppstatic intISWINDOWSstatic booleanLogTimestatic doubleMinSimilaritystatic floatMoveMouseDelaystatic intObserveMinChangedPixelsstatic floatObserveScanRatestatic StringOcrDataPathstatic StringOcrLanguagestatic StringOcrLanguageDefaultstatic booleanOcrTextReadstatic booleanOcrTextSearchstatic booleanOverwriteImagesstatic booleanProfileLogsstatic Proxyproxystatic InetAddressproxyAddressstatic booleanproxyCheckedstatic StringproxyIPstatic StringproxyNamestatic StringproxyPortstatic intRepeatWaitTimestatic floatSlowMotionDelaystatic booleanSwitchToTextstatic booleanThrowExceptionstatic booleanTraceLogsstatic booleanTRUEstatic doubleTypeDelaySpecify a delay between the key presses in seconds as 0.nnn.static StringUserLogPrefixstatic booleanUserLogsstatic booleanUserLogTimestatic doubleWaitAfterHighlightstatic floatWaitScanRatestatic booleanWheelNatural
-
Constructor Summary
Constructors Constructor Description Settings()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetDataPath()static StringgetFilePathSeperator()static intgetImageCache()static OSgetOS()static StringgetOSVersion()static StringgetPathSeparator()static StringgetTimestamp()static StringgetVersion()static StringgetVersionBuild()static voidinit(RunTime givenRunTime)static booleanisLinux()static booleanisMac()static booleanisShowActions()static booleanisWindows()static voidsetImageCache(int max)static voidsetShowActions(boolean ShowActions)
-
-
-
Field Detail
-
experimental
public static boolean experimental
-
FindProfiling
public static boolean FindProfiling
-
InputFontMono
public static boolean InputFontMono
-
InputFontSize
public static int InputFontSize
-
FOREVER
public static final float FOREVER
- See Also:
- Constant Field Values
-
proxyName
public static String proxyName
-
proxyIP
public static String proxyIP
-
proxyAddress
public static InetAddress proxyAddress
-
proxyPort
public static String proxyPort
-
proxyChecked
public static boolean proxyChecked
-
proxy
public static Proxy proxy
-
isMacApp
public static boolean isMacApp
-
ThrowException
public static boolean ThrowException
-
AutoWaitTimeout
public static float AutoWaitTimeout
-
WaitScanRate
public static float WaitScanRate
-
ObserveScanRate
public static float ObserveScanRate
-
ObserveMinChangedPixels
public static int ObserveMinChangedPixels
-
RepeatWaitTime
public static int RepeatWaitTime
-
MinSimilarity
public static double MinSimilarity
-
AlwaysResize
public static float AlwaysResize
-
DefaultPadding
public static int DefaultPadding
-
AutoDetectKeyboardLayout
public static boolean AutoDetectKeyboardLayout
-
CheckLastSeen
public static boolean CheckLastSeen
-
CheckLastSeenSimilar
public static float CheckLastSeenSimilar
-
ImageCallback
public static ImageCallback ImageCallback
-
DelayValue
public static double DelayValue
-
DelayBeforeMouseDown
public static double DelayBeforeMouseDown
-
DelayAfterDrag
public static double DelayAfterDrag
-
DelayBeforeDrag
public static double DelayBeforeDrag
-
DelayBeforeDrop
public static double DelayBeforeDrop
-
WheelNatural
public static boolean WheelNatural
-
checkMousePosition
public static boolean checkMousePosition
-
TypeDelay
public static double TypeDelay
Specify a delay between the key presses in seconds as 0.nnn. This only applies to the next type and is then reset to 0 again. A value > 1 is cut to 1.0 (max delay of 1 second)
-
ClickDelay
public static double ClickDelay
Specify a delay between the mouse down and up in seconds as 0.nnn. This only applies to the next click action and is then reset to 0 again. A value > 1 is cut to 1.0 (max delay of 1 second)
-
ClickTypeHack
public static boolean ClickTypeHack
-
BundlePath
public static String BundlePath
-
OverwriteImages
public static boolean OverwriteImages
-
OcrLanguageDefault
public static final String OcrLanguageDefault
- See Also:
- Constant Field Values
-
OcrLanguage
public static String OcrLanguage
-
OcrDataPath
public static String OcrDataPath
-
OcrTextSearch
public static boolean OcrTextSearch
-
OcrTextRead
public static boolean OcrTextRead
-
SwitchToText
public static boolean SwitchToText
-
TRUE
public static boolean TRUE
-
FALSE
public static boolean FALSE
-
SlowMotionDelay
public static float SlowMotionDelay
-
MoveMouseDelay
public static float MoveMouseDelay
-
Highlight
public static boolean Highlight
true = highlight every match (default: false) (show red rectangle around) for DefaultHighlightTime seconds (default: 2)
-
DefaultHighlightTime
public static float DefaultHighlightTime
-
DefaultHighlightColor
public static String DefaultHighlightColor
-
HighlightTransparent
public static boolean HighlightTransparent
-
WaitAfterHighlight
public static double WaitAfterHighlight
-
ActionLogs
public static boolean ActionLogs
-
InfoLogs
public static boolean InfoLogs
-
DebugLogs
public static boolean DebugLogs
-
ProfileLogs
public static boolean ProfileLogs
-
TraceLogs
public static boolean TraceLogs
-
LogTime
public static boolean LogTime
-
UserLogs
public static boolean UserLogs
-
UserLogPrefix
public static String UserLogPrefix
-
UserLogTime
public static boolean UserLogTime
-
ISWINDOWS
public static final int ISWINDOWS
- See Also:
- Constant Field Values
-
ISMAC
public static final int ISMAC
- See Also:
- Constant Field Values
-
ISLINUX
public static final int ISLINUX
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public static void init(RunTime givenRunTime)
-
setImageCache
public static void setImageCache(int max)
-
getImageCache
public static int getImageCache()
-
isShowActions
public static boolean isShowActions()
-
setShowActions
public static void setShowActions(boolean ShowActions)
-
getFilePathSeperator
public static String getFilePathSeperator()
-
getPathSeparator
public static String getPathSeparator()
-
getDataPath
public static String getDataPath()
-
getOS
public static OS getOS()
-
isWindows
public static boolean isWindows()
-
isLinux
public static boolean isLinux()
-
isMac
public static boolean isMac()
-
getOSVersion
public static String getOSVersion()
-
getTimestamp
public static String getTimestamp()
-
getVersion
public static String getVersion()
-
getVersionBuild
public static String getVersionBuild()
-
-