public class PlatformHookWindows extends PlatformHookUnixoid implements PlatformHook
PlatformHook implementation for Microsoft Windows systems.PlatformHookUnixoid.LinuxReleaseInfo| Constructor and Description |
|---|
PlatformHookWindows() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultStyle()
Returns the default LAF to be used on this platform to look almost as a native application.
|
String |
getOSDescription()
Returns a detailed OS description (at least family + version).
|
void |
initSystemShortcuts()
The initSystemShortcuts hook will be called by the
Shortcut class after the modifier groups have been read
from the config, but before any shortcuts are read from
it or registered from within the application.
|
void |
openUrl(String url)
The openURL hook will be used to open an URL in the
default web browser.
|
boolean |
rename(File from,
File to)
Renames a file.
|
void |
startupHook()
The startupHook will be called early, but after the GUI
setup has started.
|
askUpdateJava, buildOSDescription, canFullscreen, getJavaPackageDetails, makeTooltip, preStartupHookclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanFullscreen, makeTooltip, preStartupHookpublic PlatformHookWindows()
public void startupHook()
PlatformHookstartupHook in interface PlatformHookstartupHook in class PlatformHookUnixoidpublic void openUrl(String url) throws IOException
PlatformHookopenUrl in interface PlatformHookopenUrl in class PlatformHookUnixoidurl - The URL to openIOException - if any I/O error occurspublic void initSystemShortcuts()
PlatformHookinitSystemShortcuts in interface PlatformHookinitSystemShortcuts in class PlatformHookUnixoidpublic String getDefaultStyle()
PlatformHookgetDefaultStyle in interface PlatformHookgetDefaultStyle in class PlatformHookUnixoidpublic boolean rename(File from, File to)
PlatformHookrename in interface PlatformHookrename in class PlatformHookUnixoidfrom - Source fileto - Target filetrue if the file has been renamed, false otherwisepublic String getOSDescription()
PlatformHookgetOSDescription in interface PlatformHookgetOSDescription in class PlatformHookUnixoid