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, preStartupHook
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canFullscreen, makeTooltip, preStartupHook
public PlatformHookWindows()
public void startupHook()
PlatformHook
startupHook
in interface PlatformHook
startupHook
in class PlatformHookUnixoid
public void openUrl(String url) throws IOException
PlatformHook
openUrl
in interface PlatformHook
openUrl
in class PlatformHookUnixoid
url
- The URL to openIOException
- if any I/O error occurspublic void initSystemShortcuts()
PlatformHook
initSystemShortcuts
in interface PlatformHook
initSystemShortcuts
in class PlatformHookUnixoid
public String getDefaultStyle()
PlatformHook
getDefaultStyle
in interface PlatformHook
getDefaultStyle
in class PlatformHookUnixoid
public boolean rename(File from, File to)
PlatformHook
rename
in interface PlatformHook
rename
in class PlatformHookUnixoid
from
- Source fileto
- Target filetrue
if the file has been renamed, false
otherwisepublic String getOSDescription()
PlatformHook
getOSDescription
in interface PlatformHook
getOSDescription
in class PlatformHookUnixoid