|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openstreetmap.josm.tools.PlatformHookUnixoid
public class PlatformHookUnixoid
see PlatformHook.java BTW: THIS IS A STUB. See comments below for details. Don't write (Main.platform instanceof PlatformHookUnixoid) because other platform hooks are subclasses of this class.
| Constructor Summary | |
|---|---|
PlatformHookUnixoid()
|
|
| Method Summary | |
|---|---|
boolean |
canFullscreen()
|
java.lang.String |
getDefaultStyle()
|
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. |
java.lang.String |
makeTooltip(java.lang.String name,
Shortcut sc)
This should work for all platforms. |
void |
openUrl(java.lang.String url)
The openURL hook will be used to open an URL in the default webbrowser. |
void |
preStartupHook()
The preStartupHook will be called extremly early. |
boolean |
rename(java.io.File from,
java.io.File to)
|
void |
startupHook()
The startupHook will be called early, but after the GUI setup has started. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlatformHookUnixoid()
| Method Detail |
|---|
public void preStartupHook()
PlatformHook
preStartupHook in interface PlatformHookpublic void startupHook()
PlatformHook
startupHook in interface PlatformHook
public void openUrl(java.lang.String url)
throws java.io.IOException
PlatformHook
openUrl in interface PlatformHookjava.io.IOExceptionpublic void initSystemShortcuts()
PlatformHook
initSystemShortcuts in interface PlatformHook
public java.lang.String makeTooltip(java.lang.String name,
Shortcut sc)
makeTooltip in interface PlatformHookpublic java.lang.String getDefaultStyle()
getDefaultStyle in interface PlatformHookpublic boolean canFullscreen()
canFullscreen in interface PlatformHook
public boolean rename(java.io.File from,
java.io.File to)
rename in interface PlatformHook
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||