edu.UCL.xmiddle.apps.launcher
Class Launcher
java.lang.Object
|
+--edu.UCL.xmiddle.apps.launcher.Launcher
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, java.awt.event.WindowListener
- public class Launcher
- extends java.lang.Object
- implements java.awt.event.ActionListener, java.awt.event.WindowListener
A simple program launcher for the Shop application
|
Constructor Summary |
Launcher(int width,
int height)
Constructs the application. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Launcher
public Launcher(int width,
int height)
- Constructs the application.
- Parameters:
width - is the width of the application windowheight - is the height of the application window
windowDeactivated
public void windowDeactivated(java.awt.event.WindowEvent param1)
- Specified by:
windowDeactivated in interface java.awt.event.WindowListener
- Parameters:
param1 - the WindowEvent
windowActivated
public void windowActivated(java.awt.event.WindowEvent param1)
- Specified by:
windowActivated in interface java.awt.event.WindowListener
- Parameters:
param1 - the WindowEvent
windowDeiconified
public void windowDeiconified(java.awt.event.WindowEvent param1)
- Specified by:
windowDeiconified in interface java.awt.event.WindowListener
- Parameters:
param1 - the WindowEvent
windowIconified
public void windowIconified(java.awt.event.WindowEvent param1)
- Specified by:
windowIconified in interface java.awt.event.WindowListener
- Parameters:
param1 - the WindowEvent
windowClosed
public void windowClosed(java.awt.event.WindowEvent param1)
- Specified by:
windowClosed in interface java.awt.event.WindowListener
- Parameters:
param1 - the WindowEvent
windowClosing
public void windowClosing(java.awt.event.WindowEvent param1)
- Specified by:
windowClosing in interface java.awt.event.WindowListener
- Parameters:
param1 - the WindowEvent
windowOpened
public void windowOpened(java.awt.event.WindowEvent param1)
- Specified by:
windowOpened in interface java.awt.event.WindowListener
- Parameters:
param1 - the WindowEvent
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent param1)
- Specified by:
actionPerformed in interface java.awt.event.ActionListener
- Parameters:
param1 - the WindowEvent
main
public static void main(java.lang.String[] args)
- Starts the Shop application with the appropriate display
size. Device capability auto-detection code should be added -
We assume iPAQ-type resolution (320x240)