pivot.wtk
Class ScriptApplication

java.lang.Object
  extended by pivot.wtk.ScriptApplication
All Implemented Interfaces:
Application

public class ScriptApplication
extends java.lang.Object
implements Application

Script application loader.

Author:
gbrown

Constructor Summary
ScriptApplication()
           
 
Method Summary
 void resume()
          Called when a suspended application has been resumed.
 boolean shutdown(boolean optional)
          Called when the application is being shut down.
 void startup(Display display, Dictionary<java.lang.String,java.lang.String> properties)
          Called when the application is starting up.
 void suspend()
          Called to notify the application that it is being suspended.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptApplication

public ScriptApplication()
Method Detail

startup

public void startup(Display display,
                    Dictionary<java.lang.String,java.lang.String> properties)
             throws java.lang.Exception
Description copied from interface: Application
Called when the application is starting up.

Specified by:
startup in interface Application
Parameters:
display - The display on which this application was started.
properties - Initialization properties passed to the application.
Throws:
java.lang.Exception

shutdown

public boolean shutdown(boolean optional)
Description copied from interface: Application
Called when the application is being shut down.

Specified by:
shutdown in interface Application
Parameters:
optional - If true, the shutdown may be canceled by returning a value of false.
Returns:
true to continue shutdown, false to cancel.

resume

public void resume()
Description copied from interface: Application
Called when a suspended application has been resumed.

Specified by:
resume in interface Application

suspend

public void suspend()
Description copied from interface: Application
Called to notify the application that it is being suspended.

Specified by:
suspend in interface Application