|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.awt.event.WindowAdapter
|
+--edu.UCL.xmiddle.apps.shop.Shop
Shop is a sample shopping application for the xmiddle platform. It uses the AWT for the interface, as to maximize compability with other virtual machines and minimize memory requirements.
| Field Summary |
| Fields inherited from interface edu.UCL.xmiddle.framework.lib.XApp |
CONNECTED, DISCONNECTED |
| Constructor Summary | |
Shop(int width,
int height)
Constructor. |
|
Shop(int width,
int height,
java.lang.String configPath)
Constructs the Shop application. |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent event)
Responds to ActionEvents. |
java.lang.Integer |
getID()
Returns the application ID |
org.w3c.dom.Document |
getSchema()
Returns the Schema Document |
static void |
main(java.lang.String[] args)
Starts the shop application with the appropriate display size. |
void |
notifyConnectionStatus(boolean status)
Not implemented |
void |
notifyProtocolAbort(java.lang.String id,
java.lang.Object[] parameters)
Not implemented |
void |
notifyProtocolBegin(java.lang.String id,
java.lang.Object[] parameters)
Not implemented |
void |
notifyProtocolEnd(java.lang.String id,
java.lang.Object[] parameters)
Notifies the termination of the synchronization protocol. |
void |
textValueChanged(java.awt.event.TextEvent event)
Responds to the textValueChanged event |
void |
windowClosing(java.awt.event.WindowEvent event)
Responds to WindowEvents. |
| Methods inherited from class java.awt.event.WindowAdapter |
windowActivated, windowClosed, 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 |
public Shop(int width,
int height)
width - is the width of the application windowheight - is the height of the application window
public Shop(int width,
int height,
java.lang.String configPath)
width - the window widthheight - the window eightconfigPath - the path where the configuration files are stored| Method Detail |
public java.lang.Integer getID()
getID in interface XApppublic void notifyConnectionStatus(boolean status)
notifyConnectionStatus in interface XApp
public void notifyProtocolBegin(java.lang.String id,
java.lang.Object[] parameters)
notifyProtocolBegin in interface XApp
public void notifyProtocolAbort(java.lang.String id,
java.lang.Object[] parameters)
notifyProtocolAbort in interface XApppublic org.w3c.dom.Document getSchema()
Document
getSchema in interface XApp
public void notifyProtocolEnd(java.lang.String id,
java.lang.Object[] parameters)
notifyProtocolEnd in interface XAppid - the application IDparameters - an array of Objectspublic static void main(java.lang.String[] args)
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed in interface java.awt.event.ActionListenerevent - The ActionEvent.public void textValueChanged(java.awt.event.TextEvent event)
textValueChanged in interface java.awt.event.TextListenerpublic void windowClosing(java.awt.event.WindowEvent event)
windowClosing in interface java.awt.event.WindowListenerwindowClosing in class java.awt.event.WindowAdapterevent - The WindowEvent.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||