edu.UCL.xmiddle.apps.addressbook
Class Addressbook

java.lang.Object
  |
  +--edu.UCL.xmiddle.apps.addressbook.Addressbook
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.awt.event.WindowListener

public class Addressbook
extends java.lang.Object
implements java.awt.event.ActionListener, java.awt.event.WindowListener

Addressbook is a sample addressbook application for the xmiddle platform. It is modelled after the PalmOS Addressbook application. It uses the AWT for the interface, as to maximize compability with other virtual machines and minimize memory requirements.


Constructor Summary
Addressbook(int width, int height, java.lang.String configPath)
          Constructs the application.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent param1)
           
static void main(java.lang.String[] args)
          Starts the application with the appropriate display size.
 void windowActivated(java.awt.event.WindowEvent param1)
           
 void windowClosed(java.awt.event.WindowEvent param1)
           
 void windowClosing(java.awt.event.WindowEvent param1)
           
 void windowDeactivated(java.awt.event.WindowEvent param1)
           
 void windowDeiconified(java.awt.event.WindowEvent param1)
           
 void windowIconified(java.awt.event.WindowEvent param1)
           
 void windowOpened(java.awt.event.WindowEvent param1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Addressbook

public Addressbook(int width,
                   int height,
                   java.lang.String configPath)
Constructs the application.

Parameters:
width - is the width of the application window
height - is the height of the application window
Method Detail

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent param1)
Specified by:
windowDeactivated in interface java.awt.event.WindowListener
Parameters:
param1 -

windowActivated

public void windowActivated(java.awt.event.WindowEvent param1)
Specified by:
windowActivated in interface java.awt.event.WindowListener
Parameters:
param1 -

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent param1)
Specified by:
windowDeiconified in interface java.awt.event.WindowListener
Parameters:
param1 -

windowIconified

public void windowIconified(java.awt.event.WindowEvent param1)
Specified by:
windowIconified in interface java.awt.event.WindowListener
Parameters:
param1 -

windowClosed

public void windowClosed(java.awt.event.WindowEvent param1)
Specified by:
windowClosed in interface java.awt.event.WindowListener
Parameters:
param1 -

windowClosing

public void windowClosing(java.awt.event.WindowEvent param1)
Specified by:
windowClosing in interface java.awt.event.WindowListener
Parameters:
param1 -

windowOpened

public void windowOpened(java.awt.event.WindowEvent param1)
Specified by:
windowOpened in interface java.awt.event.WindowListener
Parameters:
param1 -

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent param1)
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
param1 -

main

public static void main(java.lang.String[] args)
Starts the application with the appropriate display size. Device capability auto-detection code should be added - At this point we assume iPAQ-type resolution (320x240)