java.lang.Object
org.autogui.swing.util.UIManagerUtil.OsVersion
- Direct Known Subclasses:
UIManagerUtil.OsVersionLinux
,UIManagerUtil.OsVersionMac
,UIManagerUtil.OsVersionWin
- Enclosing class:
UIManagerUtil
representing the OS version number
- Since:
- 1.2
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
arch
-
name
-
version
-
-
Constructor Details
-
OsVersion
-
OsVersion
public OsVersion()
-
-
Method Details
-
getArch
-
getName
-
getVersion
-
versionNumber
-
toString
-
isMacOS
public boolean isMacOS() -
isWindows
public boolean isWindows() -
isLinux
public boolean isLinux() -
isDarkTheme
public boolean isDarkTheme()- Returns:
- true if the current UI theme is dark mode. (not yet fully implemented)
- Since:
- 1.4
-
getKeyStrokeString
- Parameters:
mod
- KeyEvent modifier-keyskeyCode
- KeyEvent key-code- Returns:
- the platform independent key-string
- Since:
- 1.8
-
getKeyStrokeStringModifierTexts
- Returns:
- 4 names of modifier-keys; a sub-class can overrides
- Since:
- 1.8
-
getKeyStrokeStringJoin
- Parameters:
words
- key strings- Returns:
- combined word of given-words
- Since:
- 1.8
-