org.jesktop
Interface AppLauncher


public interface AppLauncher

Interface AppLauncher

Version:
* $Revision: 1.1 $
Author:
Paul Hammant Paul_Hammant@yahoo.com

Method Summary
 java.lang.String[] getAllAppList()
          Method getAllAppList
 java.lang.Object launchApp(LaunchableTarget launchableTarget)
          Ask the desktop to launch an application by it's name.
 java.lang.Object launchApp(LaunchableTarget launchableTarget, javax.swing.JComponent inHere)
          Method launchApp
 java.lang.Object launchAppByName(java.lang.String appTargetName)
          Method launchAppByName
 java.lang.Object launchAppWithoutInstallation(java.net.URL jarURL)
          Method launchAppWithoutInstallation
 

Method Detail

launchApp

public java.lang.Object launchApp(LaunchableTarget launchableTarget)
                           throws JesktopLaunchException
Ask the desktop to launch an application by it's name. it may be that a separate instance of the app is launched, or the app opens another window, if it is MDI.

Parameters:
launchableTarget -
Returns:
Throws:
JesktopLaunchException

launchApp

public java.lang.Object launchApp(LaunchableTarget launchableTarget,
                                  javax.swing.JComponent inHere)
                           throws JesktopLaunchException
Method launchApp

Parameters:
launchableTarget -
inHere -
Returns:
Throws:
JesktopLaunchException

launchAppWithoutInstallation

public java.lang.Object launchAppWithoutInstallation(java.net.URL jarURL)
                                              throws JesktopPackagingException,
                                                     JesktopLaunchException
Method launchAppWithoutInstallation

Parameters:
jarURL -
Returns:
Throws:
JesktopLaunchException
JesktopPackagingException

launchAppByName

public java.lang.Object launchAppByName(java.lang.String appTargetName)
                                 throws JesktopLaunchException
Method launchAppByName

Parameters:
appTargetName -
Returns:
Throws:
JesktopLaunchException

getAllAppList

public java.lang.String[] getAllAppList()
Method getAllAppList

Returns:


Copyright © 2004 Jesktop Project. All Rights Reserved.