Index

A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ABSOLUTE_FREQUENCY - Enum constant in enum class it.unisa.diem.wordageddon_g16.models.Question.QuestionType
 
absoluteFrequencyQuestion() - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Genera una domanda Question sulla frequenza assoluta di una parola in tutti i documenti combinati.
absoluteFrequencyQuestionSingle() - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Genera una domanda Question sulla frequenza assoluta di una parola in un singolo documento.
addAll(Node) - Method in class it.unisa.diem.wordageddon_g16.utility.Popup
Aggiunge un singolo nodo grafico al contenuto del popup.
addAll(Node...) - Method in class it.unisa.diem.wordageddon_g16.utility.Popup
Aggiunge uno o più nodi grafici al contenuto del popup.
addStopWords(String) - Method in class it.unisa.diem.wordageddon_g16.services.UserPanelService
Aggiunge nuove stopword dal campo di testo dell'interfaccia grafica.
addStopwordsFromFile(File) - Method in class it.unisa.diem.wordageddon_g16.services.UserPanelService
Aggiunge le stopword contenute in un file al database.
adminPanel - Variable in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
 
anchorSemicerchio - Variable in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
 
answer1Btn - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
answer2Btn - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
answer3Btn - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
answer4Btn - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
answers - Variable in record class it.unisa.diem.wordageddon_g16.models.Question
The field for the answers record component.
answers() - Method in record class it.unisa.diem.wordageddon_g16.models.Question
Returns the value of the answers record component.
answersBox - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
answersTable - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
appContext - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Contesto applicativo corrente, che collega controller, utente, e servizi condivisi tra le varie schermate.
appContext - Variable in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
Riferimento al contesto applicativo che fornisce accesso ai servizi e alle risorse condivise.
appContext - Variable in class it.unisa.diem.wordageddon_g16.services.UserPanelService
 
AppContext - Class in it.unisa.diem.wordageddon_g16.models
Classe che rappresenta il contesto dell'applicazione.
AppContext(Repository) - Constructor for class it.unisa.diem.wordageddon_g16.models.AppContext
Costruisce un nuovo contesto dell'applicazione inizializzando tutte le classi service con i rispettivi DAO dal repository.
AUTH - Enum constant in enum class it.unisa.diem.wordageddon_g16.utility.ViewLoader.View
 
AuthController - Class in it.unisa.diem.wordageddon_g16.controllers
Controller per la schermata di autenticazione dell'applicazione Wordageddon.
AuthController(AppContext) - Constructor for class it.unisa.diem.wordageddon_g16.controllers.AuthController
Costruisce il controller associando il servizio di autenticazione tramite AppContext.
authService - Variable in class it.unisa.diem.wordageddon_g16.controllers.AuthController
 
authService - Variable in class it.unisa.diem.wordageddon_g16.models.AppContext
AuthService per l'autenticazione e la gestione degli utenti.
AuthService - Class in it.unisa.diem.wordageddon_g16.services
Classe di 'servizio' utilizzata per l'autenticazione e la gestione degli utenti nell'applicazione Wordageddon.
AuthService(AppContext, JDBCUserDAO) - Constructor for class it.unisa.diem.wordageddon_g16.services.AuthService
Costruttore della classe AuthService
averageScore - Variable in record class it.unisa.diem.wordageddon_g16.services.LeaderboardService.LeaderboardEntry
The field for the averageScore record component.
averageScore() - Method in record class it.unisa.diem.wordageddon_g16.services.LeaderboardService.LeaderboardEntry
Returns the value of the averageScore record component.
avgScoreLabel - Variable in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
 

B

back() - Method in class it.unisa.diem.wordageddon_g16.controllers.LeaderboardController
Gestisce il click sul pulsante "Indietro" e ritorna al menu principale.

C

close() - Method in interface it.unisa.diem.wordageddon_g16.db.contracts.Repository
Chiude tutte le risorse associate al repository, come le connessioni al database.
close() - Method in class it.unisa.diem.wordageddon_g16.db.JdbcRepository
Chiude la connessione aperta al database, se presente.
completeRecalculation() - Method in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
Metodo di callback chiamato al termine del ricalcolo delle WDM.
completionValue - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
Config - Class in it.unisa.diem.wordageddon_g16.utility
Classe di configurazione centralizzata per l'applicazione Wordageddon.
Config() - Constructor for class it.unisa.diem.wordageddon_g16.utility.Config
 
Config.Props - Enum Class in it.unisa.diem.wordageddon_g16.utility
Enum che rappresenta le chiavi di configurazione supportate nel file config.properties.
conn - Variable in class it.unisa.diem.wordageddon_g16.db.JdbcRepository
 
connection - Variable in class it.unisa.diem.wordageddon_g16.db.JdbcDAO
Connessione persistente al database utilizzata dal DAO.
context - Variable in class it.unisa.diem.wordageddon_g16.controllers.MainMenuController
Contesto applicativo condiviso contenente informazioni sulla sessione.
context - Variable in class it.unisa.diem.wordageddon_g16.services.AuthService
 
context - Variable in class it.unisa.diem.wordageddon_g16.services.GameService
 
controllerFactory - Static variable in class it.unisa.diem.wordageddon_g16.utility.ViewLoader
 
correctAnswerIndex - Variable in record class it.unisa.diem.wordageddon_g16.models.Question
The field for the correctAnswerIndex record component.
correctAnswerIndex() - Method in record class it.unisa.diem.wordageddon_g16.models.Question
Returns the value of the correctAnswerIndex record component.
create(String, List<String>, int) - Static method in record class it.unisa.diem.wordageddon_g16.models.Question
Crea una nuova istanza di Question validando i parametri forniti.
currentController - Static variable in class it.unisa.diem.wordageddon_g16.utility.ViewLoader
 
currentDocumentIndex - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Indice del documento attualmente visualizzato nella fase di lettura.
currentQuestionIndex - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Indice della domanda attualmente visualizzata dal quiz.
currentQuestionIndex - Variable in record class it.unisa.diem.wordageddon_g16.models.GameSessionState
The field for the currentQuestionIndex record component.
currentQuestionIndex() - Method in record class it.unisa.diem.wordageddon_g16.models.GameSessionState
Returns the value of the currentQuestionIndex record component.
currentUser - Variable in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
Riferimento all’utente attualmente autenticato nell'applicazione.
currentUser - Variable in class it.unisa.diem.wordageddon_g16.models.AppContext
Utente attualmente autenticato nel sistema.
currentUser - Variable in class it.unisa.diem.wordageddon_g16.services.LeaderboardService
 
currentView - Static variable in class it.unisa.diem.wordageddon_g16.utility.ViewLoader
 

D

DAO<T> - Interface in it.unisa.diem.wordageddon_g16.db.contracts
Interfaccia generica per il pattern Data Access Object (DAO).
daos - Variable in class it.unisa.diem.wordageddon_g16.db.JdbcRepository
 
DB_URL - Enum constant in enum class it.unisa.diem.wordageddon_g16.utility.Config.Props
 
delete(Document) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCDocumentDAO
Elimina un Document dalla tabella.
delete(GameReport) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCGameReportDAO
Elimina un GameReport dal database.
delete(User) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCUserDAO
Elimina un utente dal database.
delete(WDM) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCWdmDAO
Elimina tutte le parole associate a un documento dalla tabella WDM.
delete(String) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCStopWordDAO
Elimina una stopword specifica dal database.
delete(T) - Method in interface it.unisa.diem.wordageddon_g16.db.contracts.DAO
Elimina un oggetto dal database.
deleteDocument(Document) - Method in class it.unisa.diem.wordageddon_g16.services.UserPanelService
Elimina un documento dal database e dal filesystem se non è più utilizzato.
deleteStopword(String) - Method in class it.unisa.diem.wordageddon_g16.services.UserPanelService
Rimuove una stopword dal sistema.
demoteUser(String) - Method in class it.unisa.diem.wordageddon_g16.services.UserPanelService
Declassa un amministratore a semplice utente.
difficulty - Variable in class it.unisa.diem.wordageddon_g16.models.GameParams
 
difficulty - Variable in record class it.unisa.diem.wordageddon_g16.models.GameReport
The field for the difficulty record component.
difficulty() - Method in record class it.unisa.diem.wordageddon_g16.models.GameReport
Restituisce il livello di difficoltà selezionato per la partita.
Difficulty - Enum Class in it.unisa.diem.wordageddon_g16.models
Enum che rappresenta i livelli di difficoltà disponibili nel gioco Wordageddon.
Difficulty(String) - Constructor for enum class it.unisa.diem.wordageddon_g16.models.Difficulty
 
DifficultyIndex() - Constructor for class it.unisa.diem.wordageddon_g16.models.GameParams.DifficultyIndex
Costruisce un nuovo DifficultyIndex.
diffSelectionPane - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
document - Variable in class it.unisa.diem.wordageddon_g16.models.WDM
Il documento analizzato.
Document - Record Class in it.unisa.diem.wordageddon_g16.models
Rappresenta un documento testuale nell'applicazione Wordageddon.
Document(String, String, Integer) - Constructor for record class it.unisa.diem.wordageddon_g16.models.Document
Creates an instance of a Document record class.
documentDAO - Variable in class it.unisa.diem.wordageddon_g16.db.JDBCGameReportDAO
DAO utilizzato per la gestione dei documenti associati ai report di gioco.
documentDAO - Variable in class it.unisa.diem.wordageddon_g16.db.JDBCWdmDAO
DAO utilizzato per recuperare i documenti associati alle istanze di WDM.
documentDAO - Variable in class it.unisa.diem.wordageddon_g16.services.GameService
 
documentDAO - Variable in class it.unisa.diem.wordageddon_g16.services.UserPanelService
 
DocumentDAO - Interface in it.unisa.diem.wordageddon_g16.db.contracts
Interfaccia specifica per l'accesso ai dati dei documenti nel database.
documents - Variable in class it.unisa.diem.wordageddon_g16.models.GameParams
 
documents - Variable in record class it.unisa.diem.wordageddon_g16.models.GameReport
The field for the documents record component.
documents() - Method in record class it.unisa.diem.wordageddon_g16.models.GameReport
Restituisce la lista dei documenti utilizzati nella sessione.
DOCUMENTS_DIR - Enum constant in enum class it.unisa.diem.wordageddon_g16.utility.Config.Props
 
documentTitleLabel - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
documentToTextMap - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Mappa che associa ciascun documento al rispettivo testo caricato da mostrare all'utente nella fase di lettura.
domandaCln - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
domandaRisposte - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Mappa che tiene traccia, per ogni domanda, dell'indice della risposta fornita dall'utente.
domandaRisposte - Variable in record class it.unisa.diem.wordageddon_g16.models.GameSessionState
The field for the domandaRisposte record component.
domandaRisposte() - Method in record class it.unisa.diem.wordageddon_g16.models.GameSessionState
Returns the value of the domandaRisposte record component.

E

EASY - Enum constant in enum class it.unisa.diem.wordageddon_g16.models.Difficulty
 
easyTW - Variable in class it.unisa.diem.wordageddon_g16.controllers.LeaderboardController
 
elapsedSeconds - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Conta il tempo trascorso dall'inizio della sessione, in secondi.
equals(Object) - Method in record class it.unisa.diem.wordageddon_g16.models.Document
Verifica se questo documento è uguale a un altro oggetto in base al percorso (filename).
equals(Object) - Method in record class it.unisa.diem.wordageddon_g16.models.GameReport
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unisa.diem.wordageddon_g16.models.GameSessionState
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unisa.diem.wordageddon_g16.models.Question
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class it.unisa.diem.wordageddon_g16.models.User
Verifica l'uguaglianza tra utenti basata sul nome utente.
equals(Object) - Method in record class it.unisa.diem.wordageddon_g16.services.LeaderboardService.LeaderboardEntry
Indicates whether some other object is "equal to" this one.
executeQuery(String, Callback<ResultSet, R>) - Method in class it.unisa.diem.wordageddon_g16.db.JdbcDAO
Esegue una query SQL semplice (senza parametri) e ne elabora il risultato tramite Callback.
executeQuery(String, Callback<ResultSet, R>, Object...) - Method in class it.unisa.diem.wordageddon_g16.db.JdbcDAO
Esegue una query SQL con parametri e applica una Callback per elaborare il ResultSet.
executeUpdate(String, Object...) - Method in class it.unisa.diem.wordageddon_g16.db.JdbcDAO
Esegue un'operazione di modifica (INSERT, UPDATE, DELETE) sul database.

F

favouriteDifficulty - Variable in record class it.unisa.diem.wordageddon_g16.services.LeaderboardService.LeaderboardEntry
The field for the favouriteDifficulty record component.
favouriteDifficulty() - Method in record class it.unisa.diem.wordageddon_g16.services.LeaderboardService.LeaderboardEntry
Returns the value of the favouriteDifficulty record component.
filename - Variable in record class it.unisa.diem.wordageddon_g16.models.Document
The field for the filename record component.
filename() - Method in record class it.unisa.diem.wordageddon_g16.models.Document
/** Restituisce il nome del file associato al documento.

G

GAME - Enum constant in enum class it.unisa.diem.wordageddon_g16.utility.ViewLoader.View
 
GameController - Class in it.unisa.diem.wordageddon_g16.controllers
Controller principale per la gestione di una sessione di gioco.
GameController(AppContext) - Constructor for class it.unisa.diem.wordageddon_g16.controllers.GameController
Controller della sessione di gioco per l'applicazione Wordageddon.
gameParams - Variable in record class it.unisa.diem.wordageddon_g16.models.GameSessionState
The field for the gameParams record component.
gameParams() - Method in record class it.unisa.diem.wordageddon_g16.models.GameSessionState
Returns the value of the gameParams record component.
GameParams - Class in it.unisa.diem.wordageddon_g16.models
Classe che incapsula i parametri di una partita.
GameParams(Difficulty, List<Document>, Duration, int) - Constructor for class it.unisa.diem.wordageddon_g16.models.GameParams
Costruisce i parametri di gioco con valori specifici.
GameParams.DifficultyIndex - Class in it.unisa.diem.wordageddon_g16.models
Classe di supporto per la gestione della difficoltà.
GameReport - Record Class in it.unisa.diem.wordageddon_g16.models
Rappresenta un report di una sessione di gioco nell'applicazione Wordageddon.
GameReport(User, List<Document>, LocalDateTime, Difficulty, Duration, Duration, int, int) - Constructor for record class it.unisa.diem.wordageddon_g16.models.GameReport
Costruttore compatto per il record GameReport.
gameReportDAO - Variable in class it.unisa.diem.wordageddon_g16.services.GameService
 
gameReportDAO - Variable in class it.unisa.diem.wordageddon_g16.services.LeaderboardService
 
gameReportDAO - Variable in class it.unisa.diem.wordageddon_g16.services.UserPanelService
 
GameReportDAO - Interface in it.unisa.diem.wordageddon_g16.db.contracts
Interfaccia per la gestione dei report di gioco.
gameService - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Servizio centrale che gestisce la logica di gioco (selezione difficoltà, generazione quiz, calcolo punteggi ecc).
gameService - Variable in class it.unisa.diem.wordageddon_g16.models.AppContext
Servizio per la logica di gioco, gestione domande e risultati.
GameService - Class in it.unisa.diem.wordageddon_g16.services
Classe di "servizio" per la gestione della logica di gioco in Wordageddon.
GameService(AppContext, GameReportDAO, JDBCWdmDAO, DocumentDAO, StopWordDAO) - Constructor for class it.unisa.diem.wordageddon_g16.services.GameService
Costruisce un nuovo GameService.
GameSessionState - Record Class in it.unisa.diem.wordageddon_g16.models
Rappresenta lo stato temporaneo di una sessione di gioco interrotta in Wordageddon.
GameSessionState(User, List<Question>, Map<Question, Integer>, int, LocalDateTime, int, GameParams) - Constructor for record class it.unisa.diem.wordageddon_g16.models.GameSessionState
Creates an instance of a GameSessionState record class.
gamesPlayed - Variable in record class it.unisa.diem.wordageddon_g16.services.LeaderboardService.LeaderboardEntry
The field for the gamesPlayed record component.
gamesPlayed() - Method in record class it.unisa.diem.wordageddon_g16.services.LeaderboardService.LeaderboardEntry
Returns the value of the gamesPlayed record component.
generateAbsentWord(Set<String>) - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Genera una parola che non è presente in alcuno dei documenti selezionati per la partita.
generateDocuments(float, Difficulty) - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Genera una lista di documenti in base all'influenza della difficoltà.
generateQuestionCount(float, Difficulty) - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Genera il numero di domande per la partita in base all'influenza della difficoltà.
generateReport() - Method in class it.unisa.diem.wordageddon_g16.controllers.GameController
Genera il report di fine partita e aggiorna la UI.
generateTimer(float) - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Genera la durata della sessione in base all'influenza della difficoltà.
get() - Method in enum class it.unisa.diem.wordageddon_g16.utility.Config.Props
 
get() - Method in enum class it.unisa.diem.wordageddon_g16.utility.ViewLoader.View
 
get(Config.Props) - Static method in class it.unisa.diem.wordageddon_g16.utility.Config
Restituisce la chiave testuale associata alla proprietà.
getAllDocuments() - Method in class it.unisa.diem.wordageddon_g16.services.UserPanelService
Restituisce tutti i documenti presenti nel sistema.
getAllUsersExceptCurrent() - Method in class it.unisa.diem.wordageddon_g16.services.UserPanelService
Restituisce tutti gli utenti eccetto quello attualmente loggato.
getAsset(String) - Static method in class it.unisa.diem.wordageddon_g16.utility.Resources
Restituisce uno InputStream per un asset (es.
getAuthService() - Method in class it.unisa.diem.wordageddon_g16.models.AppContext
Restituisce il servizio di autenticazione.
getCurrentController() - Static method in class it.unisa.diem.wordageddon_g16.utility.ViewLoader
 
getCurrentPaneId() - Method in class it.unisa.diem.wordageddon_g16.controllers.GameController
Ritorna l'ID del pannello attualmente visibile nello StackPane.
getCurrentUser() - Method in class it.unisa.diem.wordageddon_g16.models.AppContext
Restituisce l'utente attualmente autenticato nel sistema.
getCurrentUserReports() - Method in class it.unisa.diem.wordageddon_g16.services.UserPanelService
Recupera tutti i report di gioco dell'utente attualmente loggato.
getCurrentView() - Static method in class it.unisa.diem.wordageddon_g16.utility.ViewLoader
 
getDAO(String) - Method in interface it.unisa.diem.wordageddon_g16.db.contracts.Repository
Restituisce un DAO per una specifica categoria di oggetti.
getDAO(String) - Method in class it.unisa.diem.wordageddon_g16.db.JdbcRepository
Restituisce il DAO associato a una specifica categoria testuale.
getDifficulty() - Method in class it.unisa.diem.wordageddon_g16.models.GameParams
 
getDifficulty() - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Restituisce la difficoltà della partita corrente.
getDocPath(Document) - Static method in class it.unisa.diem.wordageddon_g16.utility.Resources
Restituisce il Path completo al file associato a un documento.
getDocsDirPath() - Static method in class it.unisa.diem.wordageddon_g16.utility.Resources
Restituisce il Path della directory dei documenti configurata.
getDocument() - Method in class it.unisa.diem.wordageddon_g16.models.WDM
Restituisce il documento associato a questa analisi.
getDocumentContent(String) - Static method in class it.unisa.diem.wordageddon_g16.utility.Resources
Legge il contenuto di un file di documento come stringa.
getDocuments() - Method in class it.unisa.diem.wordageddon_g16.models.GameParams
 
getDocuments() - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Restituisce la lista dei documenti selezionati per la partita corrente.
getGameService() - Method in class it.unisa.diem.wordageddon_g16.models.AppContext
Restituisce il servizio di gioco.
getGloablLeaderboard() - Method in class it.unisa.diem.wordageddon_g16.services.LeaderboardService
Restituisce la classifica globale di tutti gli utenti, indipendentemente dalla difficoltà.
getInterruptedSession() - Method in class it.unisa.diem.wordageddon_g16.models.AppContext
 
getLeaderboardBase(Difficulty) - Method in class it.unisa.diem.wordageddon_g16.services.LeaderboardService
Metodo interno che costruisce la classifica base, utilizzata sia globalmente che per singola difficoltà.
getLeaderboardByDifficulty(Difficulty) - Method in class it.unisa.diem.wordageddon_g16.services.LeaderboardService
Restituisce la classifica filtrata per una specifica difficoltà.
getLeaderboardService() - Method in class it.unisa.diem.wordageddon_g16.models.AppContext
Restituisce il servizio della leaderboard.
getMaxScoreDifficulty(Difficulty) - Static method in enum class it.unisa.diem.wordageddon_g16.models.Difficulty
Restituisce il punteggio massimo ottenibile per un dato livello di difficoltà.
getName() - Method in class it.unisa.diem.wordageddon_g16.models.User
Restituisce il nome utente.
getNext() - Method in class it.unisa.diem.wordageddon_g16.models.GameParams.DifficultyIndex
Restituisce un valore casuale in base alla difficoltà corrente, e lo sottrae dal valore disponibile.
getParams() - Method in class it.unisa.diem.wordageddon_g16.services.GameService
 
getPassword() - Method in class it.unisa.diem.wordageddon_g16.models.User
Restituisce la password dell'utente.
getQuestionCount() - Method in class it.unisa.diem.wordageddon_g16.models.GameParams
 
getQuestionCount() - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Restituisce il numero di domande della partita corrente.
getQuestions() - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Genera la lista di domande per la sessione di gioco in base ai documenti e alla difficoltà selezionata.
getRemaining() - Method in class it.unisa.diem.wordageddon_g16.models.GameParams.DifficultyIndex
Fornisce la quantità di difficoltà ancora disponibile.
getRepo() - Method in class it.unisa.diem.wordageddon_g16.models.AppContext
Restituisce il repository contenente tutti i DAO.
getScorePerQuestion() - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Calcola il punteggio assegnato per ogni singola domanda in base alla difficoltà della partita e al numero totale di domande.
getStage() - Method in class it.unisa.diem.wordageddon_g16.utility.Popup
Restituisce lo Stage interno del popup, utile per personalizzazioni avanzate.
getStopwords() - Method in class it.unisa.diem.wordageddon_g16.services.UserPanelService
Recupera tutte le stopword.
getStyle(String) - Static method in class it.unisa.diem.wordageddon_g16.utility.Resources
Restituisce l'URL esterno di un file CSS presente nella directory style.
getTimeLimit() - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Restituisce il tempo limite della partita corrente.
getTimer() - Method in class it.unisa.diem.wordageddon_g16.models.GameParams
 
getUserPanelService() - Method in class it.unisa.diem.wordageddon_g16.models.AppContext
Restituisce il servizio per la gestione del pannello utente.
getUserStatsForCurrentUser() - Method in class it.unisa.diem.wordageddon_g16.services.UserPanelService
Restituisce le statistiche (punteggio massimo, medio, numero totale) dell'utente corrente.
getVocabulary() - Static method in class it.unisa.diem.wordageddon_g16.utility.Resources
 
getWords() - Method in class it.unisa.diem.wordageddon_g16.models.WDM
Restituisce la mappa delle parole significative e delle loro frequenze.
globalTW - Variable in class it.unisa.diem.wordageddon_g16.controllers.LeaderboardController
 

H

handleAdmin() - Method in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
Apre un popup per la gestione dei ruoli degli utenti presenti nel sistema.
handleDocumenti() - Method in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
Apre un popup per la gestione dei documenti testuali.
handleGoBack() - Method in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
Gestisce il ritorno alla schermata del menu principale.
handleGoMenu() - Method in class it.unisa.diem.wordageddon_g16.controllers.GameController
Gestisce il click sul pulsante "Menu" del presente nella pagina dei Risultati.
handleLogin() - Method in class it.unisa.diem.wordageddon_g16.controllers.AuthController
Gestisce il clic sul pulsante di login.
handleLogOut() - Method in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
Effettua il logout dell'utente corrente e ritorna alla schermata di autenticazione.
handlePlayAgain() - Method in class it.unisa.diem.wordageddon_g16.controllers.GameController
Gestisce il click sul pulsante "Play Again" del presente nella pagina dei Risultati.
handleRegistration() - Method in class it.unisa.diem.wordageddon_g16.controllers.AuthController
Gestisce la registrazione di un nuovo utente.
handleShowLeaderboard() - Method in class it.unisa.diem.wordageddon_g16.controllers.GameController
Gestisce il click sul pulsante "Leaderboard" del presente nella pagina dei Risultati.
handleStopWords() - Method in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
Apre un popup che permette la gestione delle stopwords.
HARD - Enum constant in enum class it.unisa.diem.wordageddon_g16.models.Difficulty
 
hardTW - Variable in class it.unisa.diem.wordageddon_g16.controllers.LeaderboardController
 
hashCode() - Method in record class it.unisa.diem.wordageddon_g16.models.Document
Restituisce l'hash code del documento calcolato sul campo filename.
hashCode() - Method in record class it.unisa.diem.wordageddon_g16.models.GameReport
Returns a hash code value for this object.
hashCode() - Method in record class it.unisa.diem.wordageddon_g16.models.GameSessionState
Returns a hash code value for this object.
hashCode() - Method in record class it.unisa.diem.wordageddon_g16.models.Question
Returns a hash code value for this object.
hashCode() - Method in class it.unisa.diem.wordageddon_g16.models.User
Calcola l'hash code dell'utente basato sul nome.
hashCode() - Method in record class it.unisa.diem.wordageddon_g16.services.LeaderboardService.LeaderboardEntry
Returns a hash code value for this object.
heroBox - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 

I

init(Difficulty) - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Inizializza la partita con la difficoltà specificata.
initialize(URL, ResourceBundle) - Method in class it.unisa.diem.wordageddon_g16.controllers.AuthController
Inizializza la schermata di autenticazione.
initialize(URL, ResourceBundle) - Method in class it.unisa.diem.wordageddon_g16.controllers.GameController
Inizializza la sessione di gioco e configura i servizi asincroni.
initialize(URL, ResourceBundle) - Method in class it.unisa.diem.wordageddon_g16.controllers.LeaderboardController
Inizializza la schermata di classifica e popola le tabelle con i dati ottenuti da LeaderboardService.
initialize(URL, ResourceBundle) - Method in class it.unisa.diem.wordageddon_g16.controllers.MainMenuController
Metodo di inizializzazione chiamato automaticamente da JavaFX.
initialize(URL, ResourceBundle) - Method in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
Metodo di inizializzazione del controller, invocato automaticamente da JavaFX.
insert(Document) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCDocumentDAO
Inserisce un nuovo Document nella tabella.
insert(GameReport) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCGameReportDAO
Inserisce un nuovo GameReport nel database e associa i documenti tramite la tabella Content.
insert(User) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCUserDAO
Inserisce un nuovo utente nella tabella User.
insert(WDM) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCWdmDAO
Inserisce una nuova matrice parola-documento nella tabella WDM.
insert(String) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCStopWordDAO
Inserisce una nuova stopword nel database.
insert(T) - Method in interface it.unisa.diem.wordageddon_g16.db.contracts.DAO
Inserisce un nuovo oggetto nel database.
INTERRUPTED_SESSION_FILE - Enum constant in enum class it.unisa.diem.wordageddon_g16.utility.Config.Props
 
interruptedSession - Variable in class it.unisa.diem.wordageddon_g16.models.AppContext
 
isAdmin - Variable in class it.unisa.diem.wordageddon_g16.models.User
Indica se l'utente ha privilegi da amministratore.
isAdmin() - Method in class it.unisa.diem.wordageddon_g16.models.User
Verifica se l'utente è un amministratore.
isEmpty() - Method in interface it.unisa.diem.wordageddon_g16.db.contracts.DocumentDAO
Verifica se la tabella dei documenti è vuota.
isEmpty() - Method in interface it.unisa.diem.wordageddon_g16.db.contracts.StopWordDAO
Verifica se la tabella delle stopword è vuota.
isEmpty() - Method in class it.unisa.diem.wordageddon_g16.db.JDBCDocumentDAO
Verifica se la tabella Document contiene almeno una riga.
isEmpty() - Method in class it.unisa.diem.wordageddon_g16.db.JDBCStopWordDAO
Verifica se la tabella StopWord è vuota.
isEmpty() - Method in class it.unisa.diem.wordageddon_g16.db.JDBCUserDAO
Verifica se la tabella User è vuota.
isEmpty(String) - Method in class it.unisa.diem.wordageddon_g16.db.JdbcDAO
Verifica se una tabella contiene almeno una riga.
isRecalculatingWDMs - Variable in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
Indica se è in corso un ricalcolo delle WDM, per evitare concorrenza.
it.unisa.diem.wordageddon_g16 - package it.unisa.diem.wordageddon_g16
 
it.unisa.diem.wordageddon_g16.controllers - package it.unisa.diem.wordageddon_g16.controllers
 
it.unisa.diem.wordageddon_g16.db - package it.unisa.diem.wordageddon_g16.db
 
it.unisa.diem.wordageddon_g16.db.contracts - package it.unisa.diem.wordageddon_g16.db.contracts
 
it.unisa.diem.wordageddon_g16.db.exceptions - package it.unisa.diem.wordageddon_g16.db.exceptions
 
it.unisa.diem.wordageddon_g16.models - package it.unisa.diem.wordageddon_g16.models
 
it.unisa.diem.wordageddon_g16.services - package it.unisa.diem.wordageddon_g16.services
 
it.unisa.diem.wordageddon_g16.utility - package it.unisa.diem.wordageddon_g16.utility
 
it.unisa.diem.wordageddongruppo_16 - module it.unisa.diem.wordageddongruppo_16
 

J

JdbcDAO<T> - Class in it.unisa.diem.wordageddon_g16.db
Classe astratta base per l'accesso ai dati tramite JDBC.
JdbcDAO(Connection) - Constructor for class it.unisa.diem.wordageddon_g16.db.JdbcDAO
Costruisce un nuovo JdbcDAO utilizzando la connessione specificata.
JDBCDocumentDAO - Class in it.unisa.diem.wordageddon_g16.db
Implementazione JDBC del DocumentDAO, che gestisce le operazioni sui documenti.
JDBCDocumentDAO(Connection) - Constructor for class it.unisa.diem.wordageddon_g16.db.JDBCDocumentDAO
Costruisce un nuovo DocumentDAO utilizzando la connessione specificata.
JDBCGameReportDAO - Class in it.unisa.diem.wordageddon_g16.db
Implementazione JDBC del DocumentDAO, che gestisce le operazioni sui report.
JDBCGameReportDAO(Connection, DAO<Document>, DAO<User>) - Constructor for class it.unisa.diem.wordageddon_g16.db.JDBCGameReportDAO
Costruisce un nuovo JDBCGameReportDAO utilizzando la connessione e i DAO specificati.
JdbcRepository - Class in it.unisa.diem.wordageddon_g16.db
Implementazione della interfaccia Repository che gestisce l'accesso ai dati tramite JDBC.
JdbcRepository() - Constructor for class it.unisa.diem.wordageddon_g16.db.JdbcRepository
Costruisce un JdbcRepository e stabilisce una connessione al database.
JDBCStopWordDAO - Class in it.unisa.diem.wordageddon_g16.db
Implementazione JDBC del StopWordDAO, che gestisce le operazioni sulle stopwords.
JDBCStopWordDAO(Connection) - Constructor for class it.unisa.diem.wordageddon_g16.db.JDBCStopWordDAO
Costruisce un nuovo JDBCStopWordDAO utilizzando la connessione specificata.
JDBCUserDAO - Class in it.unisa.diem.wordageddon_g16.db
Implementazione JDBC del UserDAO, che gestisce le operazioni Dao sullo user.
JDBCUserDAO(Connection) - Constructor for class it.unisa.diem.wordageddon_g16.db.JDBCUserDAO
Costruisce un nuovo JDBCUserDAO utilizzando la connessione specificata.
JDBCWdmDAO - Class in it.unisa.diem.wordageddon_g16.db
Implementazione JDBC del WdmDAO, che gestisce le operazioni sulla matrice parola-documento (WDM).
JDBCWdmDAO(Connection, DocumentDAO) - Constructor for class it.unisa.diem.wordageddon_g16.db.JDBCWdmDAO
Costruisce un nuovo JDBCWdmDAO utilizzando la connessione e il DAO dei documenti specificati.

K

key - Variable in enum class it.unisa.diem.wordageddon_g16.utility.Config.Props
 

L

label - Variable in enum class it.unisa.diem.wordageddon_g16.models.Difficulty
 
LEADERBOARD - Enum constant in enum class it.unisa.diem.wordageddon_g16.utility.ViewLoader.View
 
LeaderboardController - Class in it.unisa.diem.wordageddon_g16.controllers
Controller responsabile della gestione e visualizzazione della schermata di classifica.
LeaderboardController(AppContext) - Constructor for class it.unisa.diem.wordageddon_g16.controllers.LeaderboardController
Costruttore del controller utilizzando il AppContext per recuperare il LeaderboardService.
LeaderboardEntry(String, Difficulty, int, int, int) - Constructor for record class it.unisa.diem.wordageddon_g16.services.LeaderboardService.LeaderboardEntry
Creates an instance of a LeaderboardEntry record class.
leaderboardService - Variable in class it.unisa.diem.wordageddon_g16.controllers.LeaderboardController
Servizio di classifica utilizzato per ottenere i dati delle classifiche.
leaderboardService - Variable in class it.unisa.diem.wordageddon_g16.models.AppContext
Servizio per la gestione della leaderboard.
LeaderboardService - Class in it.unisa.diem.wordageddon_g16.services
Classe che gestisce la classifica globale e filtrata per difficoltà nel gioco.
LeaderboardService(AppContext, JDBCGameReportDAO, UserDAO) - Constructor for class it.unisa.diem.wordageddon_g16.services.LeaderboardService
Cosstruttore della classe LeaderboardService.
LeaderboardService.LeaderboardEntry - Record Class in it.unisa.diem.wordageddon_g16.services
Record interno che rappresenta una voce nella classifica.
livelloClm - Variable in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
 
load(ViewLoader.View) - Static method in class it.unisa.diem.wordageddon_g16.utility.ViewLoader
Carica la vista FXML indicata e la imposta come radice della scena corrente.
loadPane(Node) - Method in class it.unisa.diem.wordageddon_g16.controllers.GameController
Cambia il pannello visibile nello StackPane principale.
loadSession() - Method in class it.unisa.diem.wordageddon_g16.services.AuthService
Carica la sessione utente precedentemente salvata dal file locale.
loadWdmMap() - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Carica le matrici WDM associate ai documenti selezionati per la partita nella mappa wdmMap.
log(String, Throwable) - Static method in class it.unisa.diem.wordageddon_g16.utility.SystemLogger
Registra un errore con un messaggio personalizzato e una Throwable.
log(Throwable) - Static method in class it.unisa.diem.wordageddon_g16.utility.SystemLogger
Registra un errore generico con messaggio predefinito e una Throwable.
logger - Static variable in class it.unisa.diem.wordageddon_g16.utility.SystemLogger
Istanza del logger Java associata alla classe SystemLogger.
login(String, String) - Method in class it.unisa.diem.wordageddon_g16.services.AuthService
Effettua il login utente verificando le credenziali fornite.
loginBtn - Variable in class it.unisa.diem.wordageddon_g16.controllers.AuthController
 
logout() - Method in class it.unisa.diem.wordageddon_g16.services.AuthService
Esegue il logout dell'utente corrente.

M

main(String[]) - Static method in class it.unisa.diem.wordageddon_g16.WordageddonApp
Metodo main dell'applicazione.
MainMenuController - Class in it.unisa.diem.wordageddon_g16.controllers
Controller della schermata principale del menu dell'applicazione Wordageddon.
MainMenuController(AppContext) - Constructor for class it.unisa.diem.wordageddon_g16.controllers.MainMenuController
Costruttore che inizializza il controller con il contesto applicativo.
maxScoreLabel - Variable in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
 
maxTime - Variable in record class it.unisa.diem.wordageddon_g16.models.GameReport
The field for the maxTime record component.
maxTime() - Method in record class it.unisa.diem.wordageddon_g16.models.GameReport
Restituisce il tempo massimo concesso per la sessione di gioco, ossia il tempo per rispondere alle domande.
MEDIUM - Enum constant in enum class it.unisa.diem.wordageddon_g16.models.Difficulty
 
mediumTW - Variable in class it.unisa.diem.wordageddon_g16.controllers.LeaderboardController
 
MENU - Enum constant in enum class it.unisa.diem.wordageddon_g16.utility.ViewLoader.View
 
MIN_TIME_FOR_SKIP - Static variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Tempo minimo per skippare la lettura dei documenti.
minTimeElapsed - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Indica se è trascorso il tempo minimo richiesto per poter saltare la lettura dei documenti.
moveDocument(File) - Method in class it.unisa.diem.wordageddon_g16.services.UserPanelService
Aggiunge un nuovo documento al sistema e copia fisicamente il file nella cartella di lavoro.

N

name - Variable in class it.unisa.diem.wordageddon_g16.models.User
Nome utente dell'utente.
needsRecalculation - Variable in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
Se 'true', segnala che un altro ricalcolo WDM è stato richiesto mentre uno era già in esecuzione.
nextDocumentButton - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
noUsers - Variable in class it.unisa.diem.wordageddon_g16.controllers.AuthController
 
noUsers() - Method in class it.unisa.diem.wordageddon_g16.services.AuthService
Verifica se non ci sono utenti registrati nel sistema.
numeroRisposteCorrette - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Numero di risposte corrette fornite dal giocatore.
numeroRisposteSaltate - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Numero di domande a cui l'utente non ha risposto (scaduto il tempo), ovvero saltate.

O

onBackPressed() - Method in class it.unisa.diem.wordageddon_g16.controllers.GameController
Ritorna alla schermata principale del menu.
onChangeDocument(ActionEvent) - Method in class it.unisa.diem.wordageddon_g16.controllers.GameController
Cambia il documento visualizzato nella fase di lettura.
onDifficultySelected(ActionEvent) - Method in class it.unisa.diem.wordageddon_g16.controllers.GameController
Gestisce la selezione della difficoltà da parte dell'utente.
onLeaderboardRequested() - Method in class it.unisa.diem.wordageddon_g16.controllers.MainMenuController
Gestisce la richiesta di visualizzazione della classifica da parte dell'utente.
onUserPanelRequested() - Method in class it.unisa.diem.wordageddon_g16.controllers.MainMenuController
Gestisce la richiesta di visualizzazione del pannello utente da parte dell'utente.
oppureLabel - Variable in class it.unisa.diem.wordageddon_g16.controllers.AuthController
 

P

params - Variable in class it.unisa.diem.wordageddon_g16.services.GameService
 
password - Variable in class it.unisa.diem.wordageddon_g16.models.User
Password associata all'utente.
passwordPF - Variable in class it.unisa.diem.wordageddon_g16.controllers.AuthController
 
passwordTF - Variable in class it.unisa.diem.wordageddon_g16.controllers.AuthController
 
playGame() - Method in class it.unisa.diem.wordageddon_g16.controllers.MainMenuController
Gestisce l'avvio della partita.
populateAnswerTable() - Method in class it.unisa.diem.wordageddon_g16.controllers.GameController
Popola la tabella delle risposte visibile a fine partita.
Popup - Class in it.unisa.diem.wordageddon_g16.utility
Classe di utilità per creare popup modali JavaFX con layout VBox.
Popup(String) - Constructor for class it.unisa.diem.wordageddon_g16.utility.Popup
Costruisce un popup modale con dimensioni predefinite.
Popup(String, int, int) - Constructor for class it.unisa.diem.wordageddon_g16.utility.Popup
Costruisce un popup modale con titolo, larghezza e altezza personalizzati.
preFormatTime(long) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCGameReportDAO
Formatta un valore temporale (in secondi) in una stringa nel formato MM:SS.
previousDocumentButton - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
promoteUser(String) - Method in class it.unisa.diem.wordageddon_g16.services.UserPanelService
Promuove un utente a ruolo di amministratore.
Props(String) - Constructor for enum class it.unisa.diem.wordageddon_g16.utility.Config.Props
Costruttore di Props: costruisce l'enum associando la chiave stringa del file config.properties.
PROPS - Static variable in class it.unisa.diem.wordageddon_g16.utility.Config
 
punteggioClm - Variable in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
 
punteggioCln - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
PW_CHAR_MIN_LENGTH - Enum constant in enum class it.unisa.diem.wordageddon_g16.utility.Config.Props
 

Q

QueryFailedException - Exception Class in it.unisa.diem.wordageddon_g16.db.exceptions
 
QueryFailedException(String) - Constructor for exception class it.unisa.diem.wordageddon_g16.db.exceptions.QueryFailedException
 
Question - Record Class in it.unisa.diem.wordageddon_g16.models
Rappresenta una domanda a risposta multipla generata dal GameService.
Question(String, List<String>, int) - Constructor for record class it.unisa.diem.wordageddon_g16.models.Question
Creates an instance of a Question record class.
QUESTION_TIME_LIMIT - Static variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Tempo limite per rispondere a una domanda del quiz.
Question.QuestionType - Enum Class in it.unisa.diem.wordageddon_g16.models
Enum interno che definisce le diverse tipologie di domande generabili.
questionCount - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Numero totale di domande da porre nella sessione di gioco.
questionCount - Variable in class it.unisa.diem.wordageddon_g16.models.GameParams
 
questionCount - Variable in record class it.unisa.diem.wordageddon_g16.models.GameReport
The field for the questionCount record component.
questionCount() - Method in record class it.unisa.diem.wordageddon_g16.models.GameReport
Restituisce il numero totale di domande generate nella sessione.
questionCountLabel - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
questionNumber - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
questionPane - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
questions - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Lista delle domande generate per la sessione corrente.
questions - Variable in record class it.unisa.diem.wordageddon_g16.models.GameSessionState
The field for the questions record component.
questions() - Method in record class it.unisa.diem.wordageddon_g16.models.GameSessionState
Returns the value of the questions record component.
questionSetupServiceFX - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Servizio JavaFX asincrono che genera in background le domande del quiz, mantenendo la UI reattiva.
questionsReady - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Indica se la generazione asincrona delle domande è stata completata ed è possibile procedere con il quiz.
questionStartTime - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Momento in cui è stata visualizzata la prima domanda del quiz.
questionStartTime - Variable in record class it.unisa.diem.wordageddon_g16.models.GameSessionState
The field for the questionStartTime record component.
questionStartTime() - Method in record class it.unisa.diem.wordageddon_g16.models.GameSessionState
Returns the value of the questionStartTime record component.
questionText - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
questionTimer - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Timeline per la gestione del conto alla rovescia del timer di risposta alle domande.
QuestionType(float) - Constructor for enum class it.unisa.diem.wordageddon_g16.models.Question.QuestionType
Costruisce una tipologia di domanda con peso associato.

R

random - Static variable in class it.unisa.diem.wordageddon_g16.models.GameParams
 
random - Static variable in class it.unisa.diem.wordageddon_g16.services.GameService
 
readingPane - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
readingSetupServiceFX - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Servizio JavaFX asincrono per la fase di caricamento e visualizzazione dei documenti da leggere.
readingTimer - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Timeline per il timer di lettura dei documenti da parte dell'utente.
recalculateScore() - Method in class it.unisa.diem.wordageddon_g16.controllers.GameController
Ricalcola il punteggio totale basato sulle risposte date dall'utente.
reCalculateWDMs() - Method in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
Avvia il ricalcolo parallelo delle WDM (Word Document Matrix) per tutti i documenti registrati nel database.
register(String, String, boolean) - Method in class it.unisa.diem.wordageddon_g16.services.AuthService
Registra un nuovo utente con nome e password specificati.
registerBtn - Variable in class it.unisa.diem.wordageddon_g16.controllers.AuthController
 
repo - Variable in class it.unisa.diem.wordageddon_g16.models.AppContext
Repository contenente tutti i DAO per l'accesso al database.
reportPane - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
Repository - Interface in it.unisa.diem.wordageddon_g16.db.contracts
Interfaccia che definisce un repository centralizzato per l'accesso ai DAO.
RES_PATH - Static variable in class it.unisa.diem.wordageddon_g16.utility.Resources
Percorso base delle risorse nel classpath.
Resources - Class in it.unisa.diem.wordageddon_g16.utility
Utility centralizzata per la gestione delle risorse statiche dell'applicazione Wordageddon.
Resources() - Constructor for class it.unisa.diem.wordageddon_g16.utility.Resources
Costruttore privato per impedire l'istanziazione della classe di utilità.
restoreParams(GameParams) - Method in class it.unisa.diem.wordageddon_g16.services.GameService
 
restoreSession(GameSessionState) - Method in class it.unisa.diem.wordageddon_g16.controllers.GameController
Ripristina lo stato della sessione di gioco da un'istanza di GameSessionState.
rightValue - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
rispostaCorrettaCln - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
rispostaDataCln - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
root - Variable in class it.unisa.diem.wordageddon_g16.utility.Popup
 

S

saveGameReport(GameReport) - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Salva il report di gioco.
saveSession() - Method in class it.unisa.diem.wordageddon_g16.controllers.GameController
Salva lo stato corrente della sessione di gioco su disco per consentire all'utente di riprendere la partita successivamente.
saveSession(User) - Method in class it.unisa.diem.wordageddon_g16.services.AuthService
Salva l'oggetto User corrente in un file locale come sessione attiva.
score - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Punteggio totale ottenuto dal giocatore nella sessione corrente.
score - Variable in record class it.unisa.diem.wordageddon_g16.models.GameReport
The field for the score record component.
score() - Method in record class it.unisa.diem.wordageddon_g16.models.GameReport
Restituisce il punteggio ottenuto dal giocatore durante la sessione.
scorePerQuestion - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
Punteggio assegnato per ogni risposta corretta fornita dal giocatore.
scorePerQuestion - Variable in record class it.unisa.diem.wordageddon_g16.models.GameSessionState
The field for the scorePerQuestion record component.
scorePerQuestion() - Method in record class it.unisa.diem.wordageddon_g16.models.GameSessionState
Returns the value of the scorePerQuestion record component.
scoreValue - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
selectAll() - Method in interface it.unisa.diem.wordageddon_g16.db.contracts.DAO
Recupera tutti gli oggetti gestiti dal DAO dalla sorgente dati.
selectAll() - Method in interface it.unisa.diem.wordageddon_g16.db.contracts.StopWordDAO
Recupera tutte le stopword presenti nel database.
selectAll() - Method in class it.unisa.diem.wordageddon_g16.db.JDBCDocumentDAO
Recupera tutti i documenti presenti nella tabella Document.
selectAll() - Method in class it.unisa.diem.wordageddon_g16.db.JDBCGameReportDAO
Recupera tutti i report di gioco presenti nella tabella GameReport.
selectAll() - Method in class it.unisa.diem.wordageddon_g16.db.JDBCStopWordDAO
Recupera tutte le stopword presenti nel database.
selectAll() - Method in class it.unisa.diem.wordageddon_g16.db.JDBCUserDAO
Recupera tutti gli utenti presenti nella tabella User.
selectAll() - Method in class it.unisa.diem.wordageddon_g16.db.JDBCWdmDAO
Recupera tutte le istanze della matrice WDM presenti nel database.
selectBase(String, Object...) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCGameReportDAO
Metodo interno di utilità per eseguire una query di selezione e mappare i risultati in oggetti GameReport.
selectBase(String, Object...) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCWdmDAO
Metodo interno di utilità per eseguire una query e convertire i risultati in oggetti WDM.
selectBy(Document) - Method in interface it.unisa.diem.wordageddon_g16.db.contracts.WdmDAO
Recupera una matrice parola-documento (WDM) a partire da un documento.
selectBy(Document) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCWdmDAO
Recupera una singola istanza di WDM in base al documento fornito.
selectBy(User, Timestamp) - Method in interface it.unisa.diem.wordageddon_g16.db.contracts.GameReportDAO
Recupera un report di gioco tramite utente e timestamp.
selectBy(User, Timestamp) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCGameReportDAO
Recupera un report di gioco dal database sulla base dell'utente e del timestamp.
selectBy(String) - Method in interface it.unisa.diem.wordageddon_g16.db.contracts.DocumentDAO
Recupera un documento dal database in base al suo nome file.
selectBy(String) - Method in interface it.unisa.diem.wordageddon_g16.db.contracts.UserDAO
Recupera un utente in base al nome.
selectBy(String) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCDocumentDAO
Recupera un documento dal database in base al suo identificativo (rappresentato dal filename).
selectBy(String) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCUserDAO
Recupera un utente dal database in base al nome utente.
selectWhere(String, Object...) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCGameReportDAO
Recupera i report di gioco che soddisfano una specifica clausola SQL.
selectWhere(String, Object...) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCWdmDAO
Recupera le istanze di WDM che soddisfano una specifica clausola SQL.
serialVersionUID - Static variable in record class it.unisa.diem.wordageddon_g16.models.GameSessionState
 
service - Variable in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
 
SESSION_FILE - Enum constant in enum class it.unisa.diem.wordageddon_g16.utility.Config.Props
 
setAdmin(boolean) - Method in class it.unisa.diem.wordageddon_g16.models.User
Imposta lo stato amministrativo dell'utente.
setControllerFactory(Callback<Class<?>, Object>) - Static method in class it.unisa.diem.wordageddon_g16.utility.ViewLoader
Imposta la factory per la creazione dei controller.
setCurrentUser(User) - Method in class it.unisa.diem.wordageddon_g16.models.AppContext
Imposta l'utente attualmente autenticato nel sistema.
setDocument(int) - Method in class it.unisa.diem.wordageddon_g16.controllers.GameController
Mostra il contenuto del documento corrente nell'area di lettura.
setInterruptedSession(GameSessionState) - Method in class it.unisa.diem.wordageddon_g16.models.AppContext
 
setName(String) - Method in class it.unisa.diem.wordageddon_g16.models.User
Aggiorna il nome dell'utente.
setPassword(String) - Method in class it.unisa.diem.wordageddon_g16.models.User
Aggiorna la password dell'utente.
setStage(Stage) - Static method in class it.unisa.diem.wordageddon_g16.utility.ViewLoader
Imposta lo Stage principale dell'applicazione su cui verranno caricate le viste.
setupReadingPhase() - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Prepara il contenuto testuale dei documenti per la fase di lettura.
show() - Method in class it.unisa.diem.wordageddon_g16.utility.Popup
Mostra il popup modale e attende la chiusura da parte dell'utente.
showDialog(Alert.AlertType, String, String) - Method in class it.unisa.diem.wordageddon_g16.controllers.AuthController
Mostra una finestra di dialogo personalizzata con stile dinamico basato sul tipo di Alert.
showPasswordCB - Variable in class it.unisa.diem.wordageddon_g16.controllers.AuthController
 
showQuestion(int) - Method in class it.unisa.diem.wordageddon_g16.controllers.GameController
Visualizza una domanda e le sue risposte nella UI.
skipReading() - Method in class it.unisa.diem.wordageddon_g16.controllers.GameController
Salta la lettura dei documenti e passa direttamente alle domande.
skipReadingBtn - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
stackMedio - Variable in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
 
stackPane - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
stage - Variable in class it.unisa.diem.wordageddon_g16.utility.Popup
 
stage - Static variable in class it.unisa.diem.wordageddon_g16.utility.ViewLoader
 
start(Stage) - Method in class it.unisa.diem.wordageddon_g16.WordageddonApp
Punto di ingresso principale dell'applicazione JavaFX.
startTimer(Duration, Label, ProgressBar, Runnable) - Method in class it.unisa.diem.wordageddon_g16.controllers.GameController
Avvia un timer countdown con aggiornamento su barra e label.
stopWordDAO - Variable in class it.unisa.diem.wordageddon_g16.services.GameService
 
stopWordDAO - Variable in class it.unisa.diem.wordageddon_g16.services.UserPanelService
 
StopWordDAO - Interface in it.unisa.diem.wordageddon_g16.db.contracts
Interfaccia per la gestione delle stopword salvate nel database.
stopWordsParser(String) - Method in class it.unisa.diem.wordageddon_g16.services.UserPanelService
Estrae tutte le stopword (parole e simboli di punteggiatura) da una singola riga di testo.
switchToQuestions() - Method in class it.unisa.diem.wordageddon_g16.controllers.GameController
Avvia la fase del quiz dopo la lettura.
symbolicNameOf(String) - Method in class it.unisa.diem.wordageddon_g16.services.UserPanelService
Converte un nome file in un titolo simbolico con la prima lettera maiuscola di ogni parola.
SystemLogger - Class in it.unisa.diem.wordageddon_g16.utility
Logger centralizzato per la gestione degli errori nell'applicazione.
SystemLogger() - Constructor for class it.unisa.diem.wordageddon_g16.utility.SystemLogger
 

T

tempoClm - Variable in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
 
text - Variable in record class it.unisa.diem.wordageddon_g16.models.Question
The field for the text record component.
text() - Method in record class it.unisa.diem.wordageddon_g16.models.Question
Returns the value of the text record component.
textDisplayArea - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
threadPool - Variable in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
Thread pool utilizzato per il ricalcolo parallelo delle WDM.
timer - Variable in class it.unisa.diem.wordageddon_g16.models.GameParams
 
timerBar - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
timerBarQuestion - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
timerLabelQuestion - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
timerLabelRead - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
timestamp - Variable in record class it.unisa.diem.wordageddon_g16.models.GameReport
The field for the timestamp record component.
timestamp() - Method in record class it.unisa.diem.wordageddon_g16.models.GameReport
Restituisce la data e ora di avvio della sessione di gioco.
title - Variable in record class it.unisa.diem.wordageddon_g16.models.Document
The field for the title record component.
title() - Method in record class it.unisa.diem.wordageddon_g16.models.Document
Restituisce il titolo del documento.
toggleShowAnswers() - Method in class it.unisa.diem.wordageddon_g16.controllers.GameController
Alterna la visualizzazione della sezione dei Report e della TableView popolata tramite il metodo populateAnswerTable.
toString() - Method in enum class it.unisa.diem.wordageddon_g16.models.Difficulty
Restituisce l’etichetta testuale associata alla difficoltà.
toString() - Method in record class it.unisa.diem.wordageddon_g16.models.Document
Returns a string representation of this record class.
toString() - Method in record class it.unisa.diem.wordageddon_g16.models.GameReport
Returns a string representation of this record class.
toString() - Method in record class it.unisa.diem.wordageddon_g16.models.GameSessionState
Returns a string representation of this record class.
toString() - Method in record class it.unisa.diem.wordageddon_g16.models.Question
Returns a string representation of this record class.
toString() - Method in record class it.unisa.diem.wordageddon_g16.services.LeaderboardService.LeaderboardEntry
Returns a string representation of this record class.
totalGameLabel - Variable in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
 
totalScore - Variable in record class it.unisa.diem.wordageddon_g16.services.LeaderboardService.LeaderboardEntry
The field for the totalScore record component.
totalScore() - Method in record class it.unisa.diem.wordageddon_g16.services.LeaderboardService.LeaderboardEntry
Returns the value of the totalScore record component.

U

update(Document) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCDocumentDAO
Aggiorna i dati di un Document esistente nella tabella, modificandone titolo e numero di parole.
update(GameReport) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCGameReportDAO
Aggiorna un GameReport esistente nel database.
update(User) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCUserDAO
Aggiorna le informazioni di un utente esistente.
update(WDM) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCWdmDAO
Aggiorna le frequenze delle parole per un documento nella tabella WDM.
update(String) - Method in class it.unisa.diem.wordageddon_g16.db.JDBCStopWordDAO
Operazione non supportata: l'aggiornamento di una stopword non è previsto.
update(T) - Method in interface it.unisa.diem.wordageddon_g16.db.contracts.DAO
Aggiorna i dati relativi a un oggetto esistente nel database.
UpdateFailedException - Exception Class in it.unisa.diem.wordageddon_g16.db.exceptions
 
UpdateFailedException(String) - Constructor for exception class it.unisa.diem.wordageddon_g16.db.exceptions.UpdateFailedException
 
updateWDM(WDM) - Method in class it.unisa.diem.wordageddon_g16.services.UserPanelService
Inserisce o aggiorna una WDM nel database.
usedTime - Variable in record class it.unisa.diem.wordageddon_g16.models.GameReport
The field for the usedTime record component.
usedTime() - Method in record class it.unisa.diem.wordageddon_g16.models.GameReport
Restituisce il tempo effettivamente impiegato dal giocatore nel rispondere alle domande.
user - Variable in record class it.unisa.diem.wordageddon_g16.models.GameReport
The field for the user record component.
user - Variable in record class it.unisa.diem.wordageddon_g16.models.GameSessionState
The field for the user record component.
user() - Method in record class it.unisa.diem.wordageddon_g16.models.GameReport
Restituisce l’utente che ha giocato la partita.
user() - Method in record class it.unisa.diem.wordageddon_g16.models.GameSessionState
Returns the value of the user record component.
User - Class in it.unisa.diem.wordageddon_g16.models
Classe che rappresenta un utente dell'applicazione Wordageddon.
User(String, String, boolean) - Constructor for class it.unisa.diem.wordageddon_g16.models.User
Costruisce un utente con nome, password e ruolo amministrativo.
USER_PANEL - Enum constant in enum class it.unisa.diem.wordageddon_g16.utility.ViewLoader.View
 
userDAO - Variable in class it.unisa.diem.wordageddon_g16.db.JDBCGameReportDAO
DAO utilizzato per la gestione degli utenti associati ai report di gioco.
userDAO - Variable in class it.unisa.diem.wordageddon_g16.services.AuthService
 
userDAO - Variable in class it.unisa.diem.wordageddon_g16.services.UserPanelService
 
UserDAO - Interface in it.unisa.diem.wordageddon_g16.db.contracts
Interfaccia per la gestione degli utenti nel database.
username - Variable in record class it.unisa.diem.wordageddon_g16.services.LeaderboardService.LeaderboardEntry
The field for the username record component.
username() - Method in record class it.unisa.diem.wordageddon_g16.services.LeaderboardService.LeaderboardEntry
Returns the value of the username record component.
usernameField - Variable in class it.unisa.diem.wordageddon_g16.controllers.AuthController
 
usernameLabel - Variable in class it.unisa.diem.wordageddon_g16.controllers.MainMenuController
 
usernameLabel - Variable in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
 
UserPanelController - Class in it.unisa.diem.wordageddon_g16.controllers
Controller per la gestione della vista del pannello utente.
UserPanelController(AppContext) - Constructor for class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
Costruttore del controller.
userPanelService - Variable in class it.unisa.diem.wordageddon_g16.models.AppContext
Servizio per la gestione del pannello utente.
UserPanelService - Class in it.unisa.diem.wordageddon_g16.services
Classe di 'servizio' associata alla gestione pannello utente.
UserPanelService(GameReportDAO, JDBCUserDAO, DocumentDAO, JDBCStopWordDAO, JDBCWdmDAO, AppContext) - Constructor for class it.unisa.diem.wordageddon_g16.services.UserPanelService
Costruttore del UserPanelService.
users - Variable in class it.unisa.diem.wordageddon_g16.services.LeaderboardService
 
userTableView - Variable in class it.unisa.diem.wordageddon_g16.controllers.UserPanelController
 
USR_CHAR_MAX_LENGTH - Enum constant in enum class it.unisa.diem.wordageddon_g16.utility.Config.Props
 

V

value - Variable in class it.unisa.diem.wordageddon_g16.models.GameParams.DifficultyIndex
 
valueOf(String) - Static method in enum class it.unisa.diem.wordageddon_g16.models.Difficulty
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class it.unisa.diem.wordageddon_g16.models.Question.QuestionType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class it.unisa.diem.wordageddon_g16.utility.Config.Props
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class it.unisa.diem.wordageddon_g16.utility.ViewLoader.View
Returns the enum constant of this class with the specified name.
values() - Static method in enum class it.unisa.diem.wordageddon_g16.models.Difficulty
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class it.unisa.diem.wordageddon_g16.models.Question.QuestionType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class it.unisa.diem.wordageddon_g16.utility.Config.Props
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class it.unisa.diem.wordageddon_g16.utility.ViewLoader.View
Returns an array containing the constants of this enum class, in the order they are declared.
View(String) - Constructor for enum class it.unisa.diem.wordageddon_g16.utility.ViewLoader.View
Costruttore della Enum ViewLoader.
viewAnswersBtnText - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
ViewLoader - Class in it.unisa.diem.wordageddon_g16.utility
Utility per il caricamento dinamico delle viste FXML nell'applicazione.
ViewLoader() - Constructor for class it.unisa.diem.wordageddon_g16.utility.ViewLoader
 
ViewLoader.View - Enum Class in it.unisa.diem.wordageddon_g16.utility
Enumerazione delle viste disponibili nell'applicazione.
viewName - Variable in enum class it.unisa.diem.wordageddon_g16.utility.ViewLoader.View
 
VOCABULARY - Static variable in class it.unisa.diem.wordageddon_g16.utility.Resources
 

W

WDM - Class in it.unisa.diem.wordageddon_g16.models
La classe WDM (Word Document Matrix) rappresenta l'associazione tra un documento e la mappa delle frequenze delle parole significative in esso contenute.
WDM(Document, Map<String, Integer>) - Constructor for class it.unisa.diem.wordageddon_g16.models.WDM
Costruisce un oggetto WDM associando direttamente una mappa di frequenze a un documento.
WDM(Document, Set<String>) - Constructor for class it.unisa.diem.wordageddon_g16.models.WDM
Costruisce un oggetto WDM eseguendo l'analisi del contenuto testuale di un documento.
wdmDAO - Variable in class it.unisa.diem.wordageddon_g16.services.GameService
 
wdmDAO - Variable in class it.unisa.diem.wordageddon_g16.services.UserPanelService
 
WdmDAO - Interface in it.unisa.diem.wordageddon_g16.db.contracts
Interfaccia per la gestione delle WDM (Word Document Matrix), che associano a ciascun documento le parole rilevanti e la loro frequenza.
wdmMap - Variable in class it.unisa.diem.wordageddon_g16.services.GameService
 
weight - Variable in enum class it.unisa.diem.wordageddon_g16.models.Question.QuestionType
 
WHICH_ABSENT - Enum constant in enum class it.unisa.diem.wordageddon_g16.models.Question.QuestionType
 
WHICH_DOCUMENT - Enum constant in enum class it.unisa.diem.wordageddon_g16.models.Question.QuestionType
 
WHICH_LESS - Enum constant in enum class it.unisa.diem.wordageddon_g16.models.Question.QuestionType
 
WHICH_MORE - Enum constant in enum class it.unisa.diem.wordageddon_g16.models.Question.QuestionType
 
whichAbsentQuestion() - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Genera una domanda Question che richiede di identificare quale parola tra quattro non è presente in nessun documento.
whichDocumentQuestion() - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Genera una domanda Question che richiede di identificare in quale documento appare una determinata parola.
whichLessQuestion() - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Genera una domanda Question che richiede di identificare la parola meno frequente tra un insieme di quattro, basata sui dati cumulativi di tutti i documenti.
whichLessQuestionSingle() - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Genera una domanda Question in cui si chiede quale parola appare meno frequentemente in un singolo documento.
whichMoreQuestion() - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Genera una domanda Question in cui si chiede quale parola appare più frequentemente tra un insieme proposto, basata su tutti i documenti.
whichMoreQuestionSingle() - Method in class it.unisa.diem.wordageddon_g16.services.GameService
Genera una domanda Question in cui si chiede quale parola appare più frequentemente in un singolo documento.
WordageddonApp - Class in it.unisa.diem.wordageddon_g16
Classe principale dell'applicazione Wordageddon.
WordageddonApp() - Constructor for class it.unisa.diem.wordageddon_g16.WordageddonApp
 
wordCount - Variable in record class it.unisa.diem.wordageddon_g16.models.Document
The field for the wordCount record component.
wordCount() - Method in record class it.unisa.diem.wordageddon_g16.models.Document
Restituisce il numero di parole contenute nel documento.
words - Variable in class it.unisa.diem.wordageddon_g16.models.WDM
Mappa delle parole significative e delle rispettive frequenze nel documento.
wrongValue - Variable in class it.unisa.diem.wordageddon_g16.controllers.GameController
 
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form