All Packages Class Hierarchy This Package Previous Next Index
Class com.sgi.sysadm.manager.RApp.RAppLaunchEvent
java.lang.Object
|
+----java.util.EventObject
|
+----com.sgi.sysadm.manager.RApp.RAppLaunchEvent
- public class RAppLaunchEvent
- extends EventObject
RAppLaunchEvent is passed to RAppLaunchListeners when the attempted
launch succeeds, fails, or is aborted because the application
is already running.
-
RAppLaunchEvent(Object, Object)
- Constructor.
-
getDialogParent()
- For a successful launch, get the component that can be used
as the login panel dialog parent.
-
getMessage()
- For a failed launch, get the localized string that
describes why the launch failed.
-
getResultObject()
- If the application was already running, get the Object
passed back from the application (if any).
RAppLaunchEvent
public RAppLaunchEvent(Object source,
Object result)
- Constructor.
- Parameters:
- source - The Object generating this RAppLaunchEvent.
- result - The result of the attempted launch.
- On success, result will be a
JComponent that can be used as the dialog
parent for the login panel in case the
connection to the server is lost.
- On failure, result should be a
localized message explaining the failure.
- If the application is already running,
result may be null or any Object
that the application wishes to pass back
to the caller. See the documentation for
the specific application being launched.
getDialogParent
public JComponent getDialogParent()
- For a successful launch, get the component that can be used
as the login panel dialog parent. If the connection is
lost while the application is running, the login panel will
be brought up centered over the dialog parent.
- Returns:
- The JComponent that can be used as the login panel
dialog parent.
getMessage
public String getMessage()
- For a failed launch, get the localized string that
describes why the launch failed.
- Returns:
- A localized string that describes why the launch
failed; null if the event does not
represent a failed launch.
getResultObject
public Object getResultObject()
- If the application was already running, get the Object
passed back from the application (if any).
- Returns:
- The Object passed back by the already-running
application. May be null.
All Packages Class Hierarchy This Package Previous Next Index