|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface representing common behavior expected for any client-side GUI component capable of receiving messages from the server. Also contains capability to convert text commands into actual commands to be delivered to the server.
Method Summary | |
Command |
interpretCommandString(java.lang.String action,
java.util.Iterator args)
Given action String and Iterator of String arguments, return a Command object representing Command (or null if unable to interpret). |
void |
makeVisible(java.awt.Frame parent,
java.lang.String name,
boolean show)
Make GUI component visible. |
boolean |
processMessage(Message m)
Process the given message which was received from the server. |
Method Detail |
public void makeVisible(java.awt.Frame parent, java.lang.String name, boolean show)
parent
- Parent Frame from which a modal dialog can
be constructed.name
- Name of the component to be made visible.show
- Determine whether component is to be shown.public boolean processMessage(Message m)
m
- Message
public Command interpretCommandString(java.lang.String action, java.util.Iterator args)
action
- Base action for the commandargs
- arguments for the command
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |