|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSOMA.gui.Finestra
SOMA.gui.FinAgentElencoPlace
Nested Class Summary | |
(package private) class |
FinAgentElencoPlace.ListBottoni
CLASSE INTERNA PER ASCOLTARE LA PRESSIONE DEI BOTTONI DELLA FINESTRA. |
class |
FinAgentElencoPlace.ModelloElencoPlace
CLASSE INTERNA CHE DEFINISCE IL "MODELLO" A CUI SI RIFERISCE LA TABELLA. |
class |
FinAgentElencoPlace.TabellaListener
CLASSE INTERNA CHE FUNGE DA ASCOLTATORE DELLE SELEZIONI FATTE SULLA TABELLA. |
Field Summary | |
protected FinGoto1000Listener |
agente
Per memorizzare i parametri passati al costruttore, in modo che siano visibili anche agli altri metodi. |
protected javax.swing.JButton |
botClose
|
protected javax.swing.JButton |
botGoTo
|
protected boolean |
conBotGoto
|
protected java.util.Vector |
elencoPlace
|
protected java.lang.String |
fraseTesta
|
protected javax.swing.JLabel |
labTesta
|
protected javax.swing.table.TableModel |
modelloElencoPlace
|
protected PlaceID |
placeAtt
|
protected PlaceID |
placeHome
|
protected javax.swing.JTable |
tabella
Oggetti che mostrano frasi, coiè che dipendono dalla lingua. |
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 | |
|
FinAgentElencoPlace(java.util.Vector elencoPlace,
FinGoto1000Listener agente,
java.lang.String fraseTesta,
PlaceID placeHome,
PlaceID placeAtt)
Costruzione della finestra per la visualizzazione dell'elenco dei place. |
protected |
FinAgentElencoPlace(java.util.Vector elencoPlace,
FinGoto1000Listener agente,
java.lang.String fraseTesta,
PlaceID placeHome,
PlaceID placeAtt,
boolean conBotGoto)
Costruzione interno, richiamato dai due precedenti. |
|
FinAgentElencoPlace(java.util.Vector elencoPlace,
java.lang.String fraseTesta,
PlaceID placeHome,
PlaceID placeAtt)
Costruzione della finestra per la visualizzazione dell'elenco dei place. |
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()
Definisce/modifica tutte le frasi mostrate a video (nella GUI) |
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 |
protected FinGoto1000Listener agente
protected boolean conBotGoto
protected java.lang.String fraseTesta
protected java.util.Vector elencoPlace
protected PlaceID placeHome
protected PlaceID placeAtt
protected javax.swing.JTable tabella
protected javax.swing.table.TableModel modelloElencoPlace
protected javax.swing.JLabel labTesta
protected javax.swing.JButton botGoTo
protected javax.swing.JButton botClose
Constructor Detail |
public FinAgentElencoPlace(java.util.Vector elencoPlace, java.lang.String fraseTesta, PlaceID placeHome, PlaceID placeAtt)
public FinAgentElencoPlace(java.util.Vector elencoPlace, FinGoto1000Listener agente, java.lang.String fraseTesta, PlaceID placeHome, PlaceID placeAtt)
Agent
ma come un
FinGoto1000Listener
perché si specifica non un agente in quanto tale,
ma un qualcuno (agente o meno) a cui indicare il place che l'utente può scegliere (tra
quelli mostrati nell'elenco).
Invece "fraseTesta" conterrà la frase da stampare sopra la lista.
I due parametri PlaceID aggiuntivi indicano il place di creazione dell'agente (home)
e quello corrente (su cui si trova l'agente).
protected FinAgentElencoPlace(java.util.Vector elencoPlace, FinGoto1000Listener agente, java.lang.String fraseTesta, PlaceID placeHome, PlaceID placeAtt, boolean conBotGoto)
Method Detail |
public void costruisciFinestra()
Finestra
il metodo Finestra.costruisciFinestra()
costruisciFinestra
in class Finestra
protected void creaBarraMenu()
Finestra
il metodo Finestra.creaBarraMenu()
creaBarraMenu
in class Finestra
protected void impostaFrasi()
Finestra
il metodo Finestra.impostaFrasi()
Definisce/modifica tutte le frasi mostrate a video (nella GUI)
impostaFrasi
in class Finestra
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |