edu.UCL.xmiddle.apps.meeting
Class Meeting

java.lang.Object
  |
  +--java.awt.event.WindowAdapter
        |
        +--edu.UCL.xmiddle.apps.meeting.Meeting
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.awt.event.TextListener, java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener, XApp

public class Meeting
extends java.awt.event.WindowAdapter
implements java.awt.event.ActionListener, java.awt.event.TextListener, XApp

Meeting application This is an application for the support of collaborative work based on the XMIDDLE platform. September/October 2002


Field Summary
 
Fields inherited from interface edu.UCL.xmiddle.framework.lib.XApp
CONNECTED, DISCONNECTED
 
Constructor Summary
Meeting(int width, int height)
          Constructs the application
Meeting(int width, int height, java.lang.String configPath)
          Constructs the application
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
          Responds to ActionEvent
 java.lang.String[][] extractPeopleNames(org.w3c.dom.Document nameList)
          This method extracts the name of people contained in people Document
 java.lang.Integer getID()
          Returns the applicationID
 java.lang.String[] getProjectByMember(java.lang.String namePerson)
          This method extracts the names of the projects in which the given person is involved.
 org.w3c.dom.Document getSchema()
          Returns the Schema Document
 void notifyConnectionStatus(boolean status)
          Currently not implemented
 void notifyProtocolAbort(java.lang.String id, java.lang.Object[] parameters)
          Currently not implemented
 void notifyProtocolBegin(java.lang.String id, java.lang.Object[] parameters)
          Currently not implemented
 void notifyProtocolEnd(java.lang.String id, java.lang.Object[] parameters)
          Currently not implemented
 void textValueChanged(java.awt.event.TextEvent event)
          Responds to TextEvent
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Meeting

public Meeting(int width,
               int height)
Constructs the application

Parameters:
width - the width of the application window
height - the height of the application window

Meeting

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

Parameters:
width - the width of the application window
height - the height of the application window
configPath - the path of the configuration file
Method Detail

getID

public java.lang.Integer getID()
Returns the applicationID

Specified by:
getID in interface XApp
Returns:
the application ID

notifyConnectionStatus

public void notifyConnectionStatus(boolean status)
Currently not implemented

Specified by:
notifyConnectionStatus in interface XApp

notifyProtocolBegin

public void notifyProtocolBegin(java.lang.String id,
                                java.lang.Object[] parameters)
Currently not implemented

Specified by:
notifyProtocolBegin in interface XApp

notifyProtocolAbort

public void notifyProtocolAbort(java.lang.String id,
                                java.lang.Object[] parameters)
Currently not implemented

Specified by:
notifyProtocolAbort in interface XApp

getSchema

public org.w3c.dom.Document getSchema()
Returns the Schema Document

Specified by:
getSchema in interface XApp
Returns:
the Schema Document

notifyProtocolEnd

public void notifyProtocolEnd(java.lang.String id,
                              java.lang.Object[] parameters)
Currently not implemented

Specified by:
notifyProtocolEnd in interface XApp

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Responds to ActionEvent

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
event - the ActionEvent

textValueChanged

public void textValueChanged(java.awt.event.TextEvent event)
Responds to TextEvent

Specified by:
textValueChanged in interface java.awt.event.TextListener
Parameters:
event - the TextEvent

extractPeopleNames

public java.lang.String[][] extractPeopleNames(org.w3c.dom.Document nameList)
This method extracts the name of people contained in people Document


getProjectByMember

public java.lang.String[] getProjectByMember(java.lang.String namePerson)
This method extracts the names of the projects in which the given person is involved.

Parameters:
namePerson - the name of the person
Returns:
an array of String contains the names of the projects in which the given person is involved