netx.start
Class Start
java.lang.Object
|
+--netx.start.Start
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, LaunchHandler
- public class Start
- extends java.lang.Object
- implements java.awt.event.ActionListener, LaunchHandler
Constructor Summary |
Start()
|
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent evt)
|
static java.net.URL |
getResource(java.lang.String resource)
|
void |
launchCompleted(ApplicationInstance application)
Called when an application, applet, or installer has been
launched successfully (the main method or applet start method
returned normally). |
void |
launchError(LaunchException exception)
Called when the application could not be launched due to a
fatal error, such as the inability to find the main class or
non-parseable XML. |
boolean |
launchWarning(LaunchException warning)
Called when launching the application can not be launched due
to an error that is not fatal. |
static void |
main(java.lang.String[] args)
|
boolean |
validationError(LaunchException invalidSecurity)
Called when a security validation error occurs while
launching the application. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Start
public Start()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent evt)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
launchError
public void launchError(LaunchException exception)
- Description copied from interface:
LaunchHandler
- Called when the application could not be launched due to a
fatal error, such as the inability to find the main class or
non-parseable XML.
- Specified by:
launchError
in interface LaunchHandler
launchWarning
public boolean launchWarning(LaunchException warning)
- Description copied from interface:
LaunchHandler
- Called when launching the application can not be launched due
to an error that is not fatal. For example a JNLP file that
is not strictly correct yet does not necessarily prohibit the
system from attempting to launch the application.
- Specified by:
launchWarning
in interface LaunchHandler
- Following copied from interface:
netx.jnlp.LaunchHandler
- Returns:
- true if the launch should continue, false to abort
validationError
public boolean validationError(LaunchException invalidSecurity)
- Description copied from interface:
LaunchHandler
- Called when a security validation error occurs while
launching the application.
- Specified by:
validationError
in interface LaunchHandler
- Following copied from interface:
netx.jnlp.LaunchHandler
- Returns:
- true to allow the application to continue, false to stop it.
launchCompleted
public void launchCompleted(ApplicationInstance application)
- Description copied from interface:
LaunchHandler
- Called when an application, applet, or installer has been
launched successfully (the main method or applet start method
returned normally).
- Specified by:
launchCompleted
in interface LaunchHandler
- Following copied from interface:
netx.jnlp.LaunchHandler
- Parameters:
application
- the launched application instance
getResource
public static java.net.URL getResource(java.lang.String resource)
main
public static void main(java.lang.String[] args)
throws java.lang.Exception