|
CS4B Spring 2007 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSelectController
public class SelectController
The controller portion of the MVC the controller listens for input and drives the model and viewer constructor opens up a socket connection to FruitThreadServer current system has three buttons that send three different queries to Server
SelectViewer
Constructor Summary | |
---|---|
SelectController(SelectViewer v)
a future upgrade may send commands back and forth to the model using a socket |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
send all getActionCommand strings to the model |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectController(SelectViewer v)
v
- viewMethod Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
|
CS4B Spring 2007 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |