|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.jdic.tray.internal.ServiceManager
public class ServiceManager
The ServiceManager
class provides static fields to refer to
the available services, and static methods to get the approprate service
objects with the given service name. This class is abstract and final and
cannot be instantiated.
ServiceManagerStub
Field Summary | |
---|---|
static java.lang.String |
SYSTEM_TRAY_SERVICE
Constant name for looking up the SystemTray service object. |
static java.lang.String |
TRAY_APPLET_SERVICE
Constant name for looking up the TrayApplet service object. |
static java.lang.String |
TRAY_ICON_SERVICE
Constant name for looking up the TrayIcon service object. |
Method Summary | |
---|---|
static java.lang.Object |
getService(java.lang.String serviceName)
Gets a service object with the given name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SYSTEM_TRAY_SERVICE
public static final java.lang.String TRAY_ICON_SERVICE
public static final java.lang.String TRAY_APPLET_SERVICE
Method Detail |
---|
public static java.lang.Object getService(java.lang.String serviceName) throws java.lang.NullPointerException
serviceName
- the given service name.
java.lang.NullPointerException
- if the given service name is null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |