|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectservidorpreguntas.MessageUI
public class MessageUI
Basicamente administra el menu que se imprime en la linea de comandos. Por lo tanto permite el manejo de eventos
Field Summary | |
---|---|
protected CommandListener |
listener
Referencia a receptor de eventos |
Constructor Summary | |
---|---|
MessageUI()
|
Method Summary | |
---|---|
void |
addCommand(java.lang.String s)
|
void |
setCommandListener(CommandListener l)
Metodo Constructor. |
void |
showui()
Metodo principal de la clase. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected CommandListener listener
Constructor Detail |
---|
public MessageUI()
Method Detail |
---|
public void addCommand(java.lang.String s)
public void setCommandListener(CommandListener l)
l
- Referencia a objeto que se hara cargo de los eventospublic void showui()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |