All Packages Class Hierarchy This Package Previous Next Index
Class opg5.bioklient
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----opg5.bioklient
- public class bioklient
- extends Applet
-
clearbutton
-
-
operationpanel
-
-
resbutton
-
-
rowchoice
-
-
rowlabel
-
-
rowpanel
-
-
seatchoice
-
-
seatlabel
-
-
seatpanel
-
-
selectionpanel
-
-
serveroutput
-
-
bioklient()
-
-
contactServer(String)
- This method takes care of actually talking to the server.
-
init()
- This method initialises the applet.
-
reserver(String, String)
- This is the method called when we want to make a reservation.
selectionpanel
public Panel selectionpanel
rowpanel
public Panel rowpanel
rowlabel
public Label rowlabel
rowchoice
public Choice rowchoice
seatpanel
public Panel seatpanel
seatlabel
public Label seatlabel
seatchoice
public Choice seatchoice
serveroutput
public TextArea serveroutput
operationpanel
public Panel operationpanel
resbutton
public Button resbutton
clearbutton
public Button clearbutton
bioklient
public bioklient()
init
public void init()
- This method initialises the applet. It creates the GUI elements,
puts them in their proper positions and finally sets up the
interaction.
- Overrides:
- init in class Applet
reserver
public String reserver(String row,
String seat)
- This is the method called when we want to make a reservation. It is really
stupid right now - it doesn't even remember what seats are taken!
- Parameters:
- row - the row number we want encoded as a string
- seat - the seat number we want encoded as a string
- Returns:
- whatever the server returns
contactServer
public String contactServer(String command)
- This method takes care of actually talking to the server.
- Parameters:
- command - the String to be sent to the server
- Returns:
- whatever the server replies
All Packages Class Hierarchy This Package Previous Next Index