|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--scacchi.main.InterfacciaComandi | +--scacchi.main.InterfacciaComandiScacchi
Implementa InterfacciaComandi
per ComandoScacchi
.
Comando
,
ComandoScacchi
,
InterfacciaComandi
Nested Class Summary |
Nested classes inherited from class scacchi.main.InterfacciaComandi |
InterfacciaComandi.InterfacciaException |
Field Summary |
Fields inherited from class scacchi.main.InterfacciaComandi |
|
Constructor Summary | |
InterfacciaComandiScacchi()
Crea una nuova interfaccia associata allo stream dello standard input. |
|
InterfacciaComandiScacchi(java.io.Reader in)
Crea una nuova interfaccia. |
Method Summary | |
Comando |
nuovoComando(java.lang.String s)
Crea una nuova istanza di ComandoScacchi |
Methods inherited from class scacchi.main.InterfacciaComandi |
cmd, errore, msg, nextComando, out |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InterfacciaComandiScacchi()
public InterfacciaComandiScacchi(java.io.Reader in)
in
- lo stream di caratteri da cui l'interfaccia legge l'input.Method Detail |
public Comando nuovoComando(java.lang.String s) throws EccezioniTesto.NotazioneException
ComandoScacchi
nuovoComando
in class InterfacciaComandi
s
- La stringa del comando: la stringa deve iniziare con
il carattere del comando (eventuali spazi prima del
comando deve essere eliminati prima di chiamare la funzione).
EccezioniTesto.NotazioneException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |