|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.littleshoot.util.NativeUtils
public class NativeUtils
Utilities for native calls.
| Constructor Summary | |
|---|---|
NativeUtils()
|
|
| Method Summary | |
|---|---|
static void |
addTray(Image image,
String name,
PopupMenu popup)
Adds a tray icon using reflection. |
static void |
openFolder(File folder)
|
static Process |
openUri(String uri)
Opens the specified URI using the native file system. |
static boolean |
supportsTray()
Uses reflection to determine whether or not this operating system and java version supports the system tray. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NativeUtils()
| Method Detail |
|---|
public static Process openUri(String uri)
uri - The URI to open.
null if there was an
error.
public static void openFolder(File folder)
throws IOException
IOException
public static void addTray(Image image,
String name,
PopupMenu popup)
image - The image to use for the system tray icon.name - The name of the system tray item.popup - The popup menu to display when someone clicks on the tray.public static boolean supportsTray()
true if it supports the tray, otherwise
false.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||