| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectSOMA.gui.Finestra
SOMA.gui.FinAgentMessage
| Nested Class Summary | |
(package private)  class | 
FinAgentMessage.ListBottoni
CLASSE INTERNA PER ASCOLTARE LA PRESSIONE DEI BOTTONI DELLA FINESTRA.  | 
| Field Summary | |
protected  FinAgentMessageListener | 
agente
 | 
protected  javax.swing.JButton | 
botClose
 | 
protected  javax.swing.JButton | 
botReply
 | 
protected  javax.swing.JButton | 
botSend
 | 
static int | 
IN_RISPOSTA
 | 
protected  javax.swing.JLabel | 
labDest
Oggetti che mostrano frasi, coič che dipendono dalla lingua.  | 
protected  javax.swing.JLabel | 
labMess
Oggetti che mostrano frasi, coič che dipendono dalla lingua.  | 
protected  javax.swing.JLabel | 
labMitt
Oggetti che mostrano frasi, coič che dipendono dalla lingua.  | 
protected  javax.swing.JLabel | 
labText
Oggetti che mostrano frasi, coič che dipendono dalla lingua.  | 
protected  Message | 
message
Il messaggio da mostrare/scrivere.  | 
protected  int | 
modalita
 | 
static int | 
MOSTRA_SOLO
Costanti per la "modalitą" di creazione della finestra.  | 
static int | 
SCRIVI_NUOVO
 | 
protected  javax.swing.JTextField | 
txtDest
 | 
protected  javax.swing.JTextField | 
txtMitt
 | 
protected  javax.swing.JTextArea | 
txtText
 | 
| Fields inherited from class SOMA.gui.Finestra | 
contentPane, cursoreBottone, IMG_ICO_CLOSE, IMG_ICO_EXIT, IMG_ICO_HELP, IMG_ICO_OPZIO, MENU_CLOSE, MENU_EXIT, mioFrame, nomeFinestra, numFinAperte, PanCentro, PICTURE_PATH, X, Y | 
| Constructor Summary | |
FinAgentMessage(AgentID agentID,
                FinAgentMessageListener agente)
Costruttore per scrivere un messaggio da zero (c'č solo l'ID del mittente, che viene passato}  | 
|
FinAgentMessage(Message message,
                FinAgentMessageListener agente)
Costruttore per leggere un messaggio arrivato (e eventualmente rispondere)  | 
|
FinAgentMessage(Message message,
                FinAgentMessageListener agente,
                int modalita)
Costruzione della finestra per la visualizzazione o la scrittura di un nuovo messaggio (da inviare) vuoto o con testo preso da un precedente messaggio (arrivato).  | 
|
| Method Summary | |
 void | 
costruisciFinestra()
Vedi in superclasse Finestra il metodo Finestra.costruisciFinestra() | 
protected  void | 
creaBarraMenu()
Vedi in superclasse Finestra il metodo Finestra.creaBarraMenu() | 
protected  void | 
impostaFrasi()
Vedi in superclasse Finestra il metodo Finestra.impostaFrasi() | 
| Methods inherited from class SOMA.gui.Finestra | 
abilitaFinestra, AggiornaApparenzaFinestra, creaBarraMenuDefault, disabilitaFinestra, distruggiFinestra, FineCostruisciFinestra, FineImpostaFrasi, InizioCostruisciFinestra, inPrimoPiano, linguaCambiata, propertyChange, RiduciAIcona | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final int MOSTRA_SOLO
public static final int SCRIVI_NUOVO
public static final int IN_RISPOSTA
protected Message message
protected FinAgentMessageListener agente
protected int modalita
protected javax.swing.JLabel labMess
protected javax.swing.JLabel labMitt
protected javax.swing.JLabel labDest
protected javax.swing.JLabel labText
protected javax.swing.JTextField txtMitt
protected javax.swing.JTextField txtDest
protected javax.swing.JTextArea txtText
protected javax.swing.JButton botSend
protected javax.swing.JButton botReply
protected javax.swing.JButton botClose
| Constructor Detail | 
public FinAgentMessage(Message message,
                       FinAgentMessageListener agente,
                       int modalita)
Agent ma come un
  FinAgentMessageListener perché si specifica non un agente in quanto tale,
  ma un qualcuno (agente o meno) a cui dare il messaggio che dovrą essere spedito.
  Se modalitą = MOSTRA_SOLO, ci saranno solo i bottoni "reply" e "chiudi",
  Se modalitą = SCRIVI_NUOVO, ci saranno solo i bottoni "invia" e "chiudi",
  Se modalitą = IN_RISPOSTA, ci saranno solo i bottoni "invia" e "chiudi",
public FinAgentMessage(Message message,
                       FinAgentMessageListener agente)
public FinAgentMessage(AgentID agentID,
                       FinAgentMessageListener agente)
| Method Detail | 
public void costruisciFinestra()
Finestra il metodo Finestra.costruisciFinestra()
costruisciFinestra in class Finestraprotected void creaBarraMenu()
Finestra il metodo Finestra.creaBarraMenu()
creaBarraMenu in class Finestraprotected void impostaFrasi()
Finestra il metodo Finestra.impostaFrasi()
impostaFrasi in class Finestra
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||