public interface ICmd2ModelAdapter
| Modifier and Type | Method and Description |
|---|---|
void |
addComponent(java.lang.String name,
java.awt.Component newComp)
Allows the command to give a java.awt.Component to the host ChatApp to be displayed on
its GUI somewhere.
|
void |
append(java.lang.String s)
Appends the given string onto a text display somewhere on the host ChatApp's GUI.
|
comp310f11.rmiChat.IUser |
getLocalUserStub()
Gets a reference to the local IUser stub which is needed to instantiate status packets for return objects.
|
comp310f11.rmiChat.IUser getLocalUserStub()
void append(java.lang.String s)
s - A string to displayvoid addComponent(java.lang.String name,
java.awt.Component newComp)
name - A title for the component, useful for tabs, frame titles, etc.newComp - The component to display.