Index
All Classes and Interfaces|All Packages
A
- addCup(Cup) - Method in class edu.ntnu.idatt1002.k1g4.dao.CupDAO
-
Method to add a cup to the database.
- addDivision(Division) - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
Method which adds division to the list of divisions.
- addDivision(Division) - Method in class edu.ntnu.idatt1002.k1g4.dao.DivisionDAO
-
Method to add a division to the database.
- addMatch(Match) - Method in class edu.ntnu.idatt1002.k1g4.dao.MatchDAO
-
Method to add a match to the database.
- addMatch(Match) - Method in class edu.ntnu.idatt1002.k1g4.Division
-
Add a match to the list of matches.
- addMatchInDivision(Division, Match) - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
Finds the correct division and adds a match to the division.
- addTeam(Team) - Method in class edu.ntnu.idatt1002.k1g4.Division
-
Add a team to the list of competing teams.
- addTeam(Team, int) - Method in class edu.ntnu.idatt1002.k1g4.dao.TeamDAO
-
Adds a team.
- addTeamInDivision(Division, Team) - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
Finds the correct division and adds a team to the division.
- App - Class in edu.ntnu.idatt1002.k1g4.client
-
Main GUI application client.
- App() - Constructor for class edu.ntnu.idatt1002.k1g4.client.App
C
- changeScene(String) - Static method in class edu.ntnu.idatt1002.k1g4.client.ViewUtil
-
Change scene.
- createCup(TextField, TextField, DatePicker, TextField, DatePicker, TextField) - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
Create cup.
- CreateCupController - Class in edu.ntnu.idatt1002.k1g4.client.controllers
-
Cup Controller handles the page of creating a cup Coupled with the create-cup.fxml file
- CreateCupController() - Constructor for class edu.ntnu.idatt1002.k1g4.client.controllers.CreateCupController
- CreateDatabase - Class in edu.ntnu.idatt1002.k1g4.dao
-
Class to create a new database with tables.
- CreateDatabase() - Constructor for class edu.ntnu.idatt1002.k1g4.dao.CreateDatabase
- createDivision(TextField) - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
Creates a new division from given fields.
- CreateDivisionController - Class in edu.ntnu.idatt1002.k1g4.client.controllers
-
Controller for the create division page.
- CreateDivisionController() - Constructor for class edu.ntnu.idatt1002.k1g4.client.controllers.CreateDivisionController
- createMatch(ComboBox<Team>, ComboBox<Team>, TextField, DatePicker, TextField, Spinner<Integer>, RadioButton) - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
Creates a new match with the given fields.
- CreateMatchController - Class in edu.ntnu.idatt1002.k1g4.client.controllers
-
Controller for creating a match Coupled with the create-match.fxml file
- CreateMatchController() - Constructor for class edu.ntnu.idatt1002.k1g4.client.controllers.CreateMatchController
- createNewDatabase(String) - Static method in class edu.ntnu.idatt1002.k1g4.dao.CreateDatabase
-
Connect to and create a new database
- createNewTables(String) - Static method in class edu.ntnu.idatt1002.k1g4.dao.CreateDatabase
-
Create new database tables.
- createTeam(TextField) - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
Create team boolean.
- CreateTeamController - Class in edu.ntnu.idatt1002.k1g4.client.controllers
-
Controller for creating a team.
- CreateTeamController() - Constructor for class edu.ntnu.idatt1002.k1g4.client.controllers.CreateTeamController
- Cup - Class in edu.ntnu.idatt1002.k1g4
-
The type Cup.
- Cup() - Constructor for class edu.ntnu.idatt1002.k1g4.Cup
-
Instantiates a new Cup.
- Cup(String, String, LocalDateTime, LocalDateTime) - Constructor for class edu.ntnu.idatt1002.k1g4.Cup
-
Simplified constructor for instantiation of a new Cup.
- Cup(String, String, ArrayList<Division>, LocalDateTime, LocalDateTime) - Constructor for class edu.ntnu.idatt1002.k1g4.Cup
-
Instantiates a new Cup.
- CupDAO - Class in edu.ntnu.idatt1002.k1g4.dao
-
The Database Access Object for the class Cup.
- CupDAO() - Constructor for class edu.ntnu.idatt1002.k1g4.dao.CupDAO
- CupOverviewController - Class in edu.ntnu.idatt1002.k1g4.client.controllers
-
Cup Controller handles the page of viewing everything in a cup.
- CupOverviewController() - Constructor for class edu.ntnu.idatt1002.k1g4.client.controllers.CupOverviewController
D
- Database - Class in edu.ntnu.idatt1002.k1g4.dao
-
Class used to create Database connection
- Database() - Constructor for class edu.ntnu.idatt1002.k1g4.dao.Database
- deleteCup(int) - Method in class edu.ntnu.idatt1002.k1g4.dao.CupDAO
-
Method to delete a cup from the database.
- deleteDivision(int) - Method in class edu.ntnu.idatt1002.k1g4.dao.DivisionDAO
-
Method to delete a division from the database.
- deleteMatch(int) - Method in class edu.ntnu.idatt1002.k1g4.dao.MatchDAO
-
Method to delete a match from the database.
- deleteSelectedCup() - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
removes the selected cup from the cups arraylist
- deleteSelectedDivision() - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
Delete selected division.
- deleteSelectedMatch() - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
Delete selected match.
- deleteTeam(int, int) - Method in class edu.ntnu.idatt1002.k1g4.dao.TeamDAO
-
Method to delete a team from the database.
- Division - Class in edu.ntnu.idatt1002.k1g4
-
This class keeps track of a division in the tournament.
- Division() - Constructor for class edu.ntnu.idatt1002.k1g4.Division
-
Instantiates a new Division.
- Division(String, int) - Constructor for class edu.ntnu.idatt1002.k1g4.Division
-
Instantiates a new division.
- Division(HashMap<Integer, Team>, ArrayList<Match>, String, int) - Constructor for class edu.ntnu.idatt1002.k1g4.Division
-
Instantiates a new Division.
- DivisionDAO - Class in edu.ntnu.idatt1002.k1g4.dao
-
The Database Access Object for the class Division.
- DivisionDAO() - Constructor for class edu.ntnu.idatt1002.k1g4.dao.DivisionDAO
- DivisionOverviewController - Class in edu.ntnu.idatt1002.k1g4.client.controllers
-
Controller for viewing details about a division.
- DivisionOverviewController() - Constructor for class edu.ntnu.idatt1002.k1g4.client.controllers.DivisionOverviewController
E
- edu.ntnu.idatt1002.k1g4 - module edu.ntnu.idatt1002.k1g4
-
File that contains all modules.
- edu.ntnu.idatt1002.k1g4 - package edu.ntnu.idatt1002.k1g4
- edu.ntnu.idatt1002.k1g4.client - package edu.ntnu.idatt1002.k1g4.client
- edu.ntnu.idatt1002.k1g4.client.controllers - package edu.ntnu.idatt1002.k1g4.client.controllers
- edu.ntnu.idatt1002.k1g4.dao - package edu.ntnu.idatt1002.k1g4.dao
- endMatchValues() - Method in class edu.ntnu.idatt1002.k1g4.client.controllers.MatchOverviewController
-
finishes a match and updates the match scene.
- equals(Object) - Method in class edu.ntnu.idatt1002.k1g4.Division
-
override equals method
- equals(Object) - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Overrides the equals method from Object
- equals(Object) - Method in class edu.ntnu.idatt1002.k1g4.Team
-
Overrides the equals method from Object Teams are the same if the names are the same.
F
- fieldOccupied(Match) - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Checks if field is occupied by a match
- formatTime() - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
Formats a localDateTime object to dd/MM/yyy hh:mm
G
- generateMatches(DatePicker, TextField, Spinner<Integer>, TextField) - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
Generate random matches.
- GenerateMatchesController - Class in edu.ntnu.idatt1002.k1g4.client.controllers
-
The type Generate match controller.
- GenerateMatchesController() - Constructor for class edu.ntnu.idatt1002.k1g4.client.controllers.GenerateMatchesController
- genRandomMatches(LocalDateTime, int, String[], int) - Method in class edu.ntnu.idatt1002.k1g4.Division
-
Create random matches.
- getCompetingTeams() - Method in class edu.ntnu.idatt1002.k1g4.Division
-
Creates and return a deep copy of competing teams list.
- getConfirmation(String) - Static method in class edu.ntnu.idatt1002.k1g4.client.ViewUtil
-
Gets confirmation.
- getConnection() - Method in class edu.ntnu.idatt1002.k1g4.dao.Database
-
Method to get a connection from the Database object.
- getCupByObject(Cup) - Method in class edu.ntnu.idatt1002.k1g4.dao.CupDAO
-
Gets cup based on an already existing cup without an id.
- getCupId() - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
Gets cup id.
- getCupId() - Method in class edu.ntnu.idatt1002.k1g4.Division
-
Gets cup id.
- getCups() - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
Returns the static list of cups
- getCups() - Method in class edu.ntnu.idatt1002.k1g4.dao.CupDAO
-
Gets all cups.
- getCurrentCup() - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
Returns the current cup set.
- getCurrentDivision() - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
Returns the division that is currently selected
- getCurrentMatch() - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
Returns the match that is currently selected
- getCurrentScene() - Static method in class edu.ntnu.idatt1002.k1g4.client.ViewUtil
-
Gets current scene.
- getCurrentTeam() - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
returns the selected team
- getDefaultHeight() - Static method in class edu.ntnu.idatt1002.k1g4.client.App
-
Returns the height that a window should have.
- getDefaultWidth() - Static method in class edu.ntnu.idatt1002.k1g4.client.App
-
Returns the width that a window should have.
- getDivisionCategory() - Method in class edu.ntnu.idatt1002.k1g4.Division
-
Returns the division category.
- getDivisionId() - Method in class edu.ntnu.idatt1002.k1g4.Division
-
Gets division id.
- getDivisionId() - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Gets division id.
- getDivisions() - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
Returns a list of divisions with composition.
- getDivisionsByCup(int) - Method in class edu.ntnu.idatt1002.k1g4.dao.DivisionDAO
-
Gets all divisions with respective data in a cup.
- getDuration() - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Gets the duration of the match
- getEndTime() - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
Get-method which returns the end time of the cup.
- getEndTime() - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Gets the end time of the match.
- getEqualDivision(Division) - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
Helper method to get the division that is equal to the object that is provided This is to solve the problems with composition
- getEqualMatch(Match) - Method in class edu.ntnu.idatt1002.k1g4.Division
-
Helper method to get the match that is equal to the object that is provided This is to solve the problems with composition
- getField() - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Gets the field of the match.
- getLocation() - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
Gets location for where the cup is held.
- getMatchById(int) - Method in class edu.ntnu.idatt1002.k1g4.dao.MatchDAO
-
Gets match by id.
- getMatches() - Method in class edu.ntnu.idatt1002.k1g4.Division
-
Return the list of matches.
- getMatchesByCup(int) - Method in class edu.ntnu.idatt1002.k1g4.dao.MatchDAO
-
Gets matches in a cup.
- getMatchesByDivision(int) - Method in class edu.ntnu.idatt1002.k1g4.dao.MatchDAO
-
Gets matches in a division.
- getMatchId() - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Gets match id.
- getName() - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
Gets the name of the cup
- getName() - Method in class edu.ntnu.idatt1002.k1g4.Team
-
Gets the team name.
- getProjectedGeneratedMatches() - Method in class edu.ntnu.idatt1002.k1g4.Division
-
Gets the projected amount of matches generated.
- getScore() - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Get score.
- getScore(Team) - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Get score of a team
- getScores() - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Gets the score of the match.
- getStage() - Static method in class edu.ntnu.idatt1002.k1g4.client.App
-
Returns the startStage to use other places
- getStartTime() - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
Get-method which returns the start time of the cup.
- getStartTime() - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Gets the start time of the match.
- getTeamById(int, int) - Method in class edu.ntnu.idatt1002.k1g4.dao.TeamDAO
-
Gets the team by id.
- getTeamByName(String) - Method in class edu.ntnu.idatt1002.k1g4.dao.TeamDAO
-
Gets a team by the name of the team.
- getTeamId() - Method in class edu.ntnu.idatt1002.k1g4.Team
-
Gets team id.
- getTeamOne() - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Get team one.
- getTeams() - Method in class edu.ntnu.idatt1002.k1g4.dao.TeamDAO
-
Gets all teams.
- getTeamsByDivision(int) - Method in class edu.ntnu.idatt1002.k1g4.dao.TeamDAO
-
Gets teams in a division.
- getTeamTwo() - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Get team two.
- getTimeLeft() - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Get the amount of time left of the match.
- giveError(String) - Static method in class edu.ntnu.idatt1002.k1g4.client.ViewUtil
-
Give error.
- giveInformation(String) - Static method in class edu.ntnu.idatt1002.k1g4.client.ViewUtil
-
Give information.
H
- hashCode() - Method in class edu.ntnu.idatt1002.k1g4.Division
-
gets hashcode
- hideInfoWhenNoCups() - Method in class edu.ntnu.idatt1002.k1g4.client.controllers.HomeController
-
Helper method to hide info when no cups.
- HomeController - Class in edu.ntnu.idatt1002.k1g4.client.controllers
-
Home Controller handles the home page and the buttons for go to the cup creation page, help and rules.
- HomeController() - Constructor for class edu.ntnu.idatt1002.k1g4.client.controllers.HomeController
I
- incrementScore(Team) - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Increments score for a team.
- initialize(URL, ResourceBundle) - Method in class edu.ntnu.idatt1002.k1g4.client.controllers.CreateMatchController
-
Run when the page is loaded in.
- initialize(URL, ResourceBundle) - Method in class edu.ntnu.idatt1002.k1g4.client.controllers.CupOverviewController
-
Run when the page is loaded in.
- initialize(URL, ResourceBundle) - Method in class edu.ntnu.idatt1002.k1g4.client.controllers.DivisionOverviewController
-
Run when the page is loaded in.
- initialize(URL, ResourceBundle) - Method in class edu.ntnu.idatt1002.k1g4.client.controllers.GenerateMatchesController
- initialize(URL, ResourceBundle) - Method in class edu.ntnu.idatt1002.k1g4.client.controllers.HomeController
-
Overridden method from Initializable that will run each time this controller is loaded.
- initialize(URL, ResourceBundle) - Method in class edu.ntnu.idatt1002.k1g4.client.controllers.MatchOverviewController
-
Run when the page is loaded in.
- initialize(URL, ResourceBundle) - Method in class edu.ntnu.idatt1002.k1g4.client.controllers.TeamOverviewController
-
Run when the page is loaded in.
- instance() - Static method in class edu.ntnu.idatt1002.k1g4.dao.Database
-
Checks if there is an existing instance of Database.
- isCompeting() - Method in class edu.ntnu.idatt1002.k1g4.Team
-
Gets the is competing attribute
- isFinished() - Method in class edu.ntnu.idatt1002.k1g4.Match
-
checks if match is finished
- isKnockout() - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Is knockout boolean.
- isWalkover() - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Is the match walkover.
L
- linkTeamToDivision(int, int) - Method in class edu.ntnu.idatt1002.k1g4.dao.TeamDAO
-
Method to link a team to division.
M
- main(String[]) - Static method in class edu.ntnu.idatt1002.k1g4.client.App
-
main method of the program.
- main(String[]) - Static method in class edu.ntnu.idatt1002.k1g4.Main
-
The entry point of application.
- Main - Class in edu.ntnu.idatt1002.k1g4
-
The type Main.
- Main() - Constructor for class edu.ntnu.idatt1002.k1g4.Main
- Match - Class in edu.ntnu.idatt1002.k1g4
-
The class Match which holds two teams.
- Match() - Constructor for class edu.ntnu.idatt1002.k1g4.Match
-
Instantiates a new Match.
- Match(Team, Team) - Constructor for class edu.ntnu.idatt1002.k1g4.Match
-
Instantiates a new Match.
- Match(Team, Team, LocalDateTime, long, String) - Constructor for class edu.ntnu.idatt1002.k1g4.Match
-
Instantiates a new Match.
- Match(Team, Team, LocalDateTime, long, String, boolean) - Constructor for class edu.ntnu.idatt1002.k1g4.Match
-
First constructor for match.
- MatchDAO - Class in edu.ntnu.idatt1002.k1g4.dao
-
The Database Access Object for the class Match.
- MatchDAO() - Constructor for class edu.ntnu.idatt1002.k1g4.dao.MatchDAO
- MatchOverviewController - Class in edu.ntnu.idatt1002.k1g4.client.controllers
-
The match overview controller.
- MatchOverviewController() - Constructor for class edu.ntnu.idatt1002.k1g4.client.controllers.MatchOverviewController
- Model - Class in edu.ntnu.idatt1002.k1g4.client
-
The type Model.
- Model() - Constructor for class edu.ntnu.idatt1002.k1g4.client.Model
O
- openBrowser(String) - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
Open browser.
R
- removeDivision(Division) - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
Method which removes division to the list of divisions.
- removeMatch(Match) - Method in class edu.ntnu.idatt1002.k1g4.Division
-
Remove a match from the list of matches.
- removeMatchInDivision(Division, Match) - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
Finds the correct division and adds a match to the division.
- removeTeam(Team) - Method in class edu.ntnu.idatt1002.k1g4.Division
-
Remove a team.
- removeTeamInDivision(Division, Team) - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
Finds the correct division and removes a team from the division.
S
- setCompeting(boolean) - Method in class edu.ntnu.idatt1002.k1g4.Team
-
Sets new status if the team is or is not competing.
- setCompetingTeams(HashMap<Integer, Team>) - Method in class edu.ntnu.idatt1002.k1g4.Division
-
Sets competing teams in a division.
- setCss(String) - Static method in class edu.ntnu.idatt1002.k1g4.client.ViewUtil
-
Sets css.
- setCupId(int) - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
Sets cup id.
- setCupId(int) - Method in class edu.ntnu.idatt1002.k1g4.Division
-
Sets cup id of the division.
- setCurrentCup(Cup) - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
Sets the current cup to a new value
- setCurrentDivision(Division) - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
Selects a new division as the current one
- setCurrentMatch(Match) - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
Selects a new match as the current one
- setCurrentTeam(Team) - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
sets the current team
- setDivisionCategory(String) - Method in class edu.ntnu.idatt1002.k1g4.Division
-
Sets division category.
- setDivisionId(int) - Method in class edu.ntnu.idatt1002.k1g4.Division
-
Sets division id.
- setDivisionId(int) - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Sets division id.
- setDivisions(ArrayList<Division>) - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
Sets divisions.
- setDuration(long) - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Sets a new duration for the match Should be possible to edit duration after a match is finished in case someone where to forget to finish a match.
- setEndTime(LocalDateTime) - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
Mutation-method which sets end time for a cup.
- setEndTime(LocalDateTime) - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Sets end time.
- setField(String) - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Sets a new field to the match
- setFinished() - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Sets the match to finished.
- setFinished(boolean) - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Sets finished.
- setFinished(LocalDateTime) - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Set finished.
- setKnockout(boolean) - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Sets knockout.
- setLocation(String) - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
Sets the location for where the cup is held
- setMatches(ArrayList<Match>) - Method in class edu.ntnu.idatt1002.k1g4.Division
-
Sets matches in a division.
- setMatchId(int) - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Sets match id.
- setName(String) - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
Changes the name of the cup
- setName(String) - Method in class edu.ntnu.idatt1002.k1g4.Team
-
Sets name of the team.
- setNoCurrentCup() - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
Sets no current cup.
- setNoCurrentDivision() - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
Sets no current division.
- setNoCurrentMatch() - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
Sets no current match.
- setNoCurrentTeam() - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
Sets current team to null.
- setScore(int[]) - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Sets score.
- setStartTime(LocalDateTime) - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
Mutation-method which sets start time for a cup.
- setStartTime(LocalDateTime) - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Set start time to a new one Updates the duration as well
- setTeamId(int) - Method in class edu.ntnu.idatt1002.k1g4.Team
-
Sets team id.
- setTeamOne(Team) - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Sets team one.
- setTeamTwo(Team) - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Sets team two.
- setWalkover(boolean) - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Sets walkover to true or false.
- setWinner() - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Sets the losing team to not competing.
- showInfoWhenCups() - Method in class edu.ntnu.idatt1002.k1g4.client.controllers.HomeController
-
Helper method to show info when cups.
- start(Stage) - Method in class edu.ntnu.idatt1002.k1g4.client.App
-
Method for creating a stage and the first scene.
T
- Team - Class in edu.ntnu.idatt1002.k1g4
-
The team represents a group of competitors playing against another team represented by the class Match
- Team() - Constructor for class edu.ntnu.idatt1002.k1g4.Team
-
Instantiates a new Team.
- Team(Team) - Constructor for class edu.ntnu.idatt1002.k1g4.Team
-
Instantiates a new Team.
- Team(String) - Constructor for class edu.ntnu.idatt1002.k1g4.Team
-
Instantiates a new Team.
- Team(String, boolean) - Constructor for class edu.ntnu.idatt1002.k1g4.Team
-
First constructor for the team.
- TeamDAO - Class in edu.ntnu.idatt1002.k1g4.dao
-
The Database Access Object for the class Team.
- TeamDAO() - Constructor for class edu.ntnu.idatt1002.k1g4.dao.TeamDAO
- teamOneScoreDecr() - Method in class edu.ntnu.idatt1002.k1g4.client.controllers.MatchOverviewController
-
Team one score decreases.
- teamOneScoreIncr() - Method in class edu.ntnu.idatt1002.k1g4.client.controllers.MatchOverviewController
-
Team one score increases.
- TeamOverviewController - Class in edu.ntnu.idatt1002.k1g4.client.controllers
-
Controller for the team overview Coupled with the team-overview.fxml file
- TeamOverviewController() - Constructor for class edu.ntnu.idatt1002.k1g4.client.controllers.TeamOverviewController
- teamsOccupied(Match) - Method in class edu.ntnu.idatt1002.k1g4.Match
-
checks if team is occupied by match
- teamTwoScoreDecr() - Method in class edu.ntnu.idatt1002.k1g4.client.controllers.MatchOverviewController
-
Team two score decreases.
- teamTwoScoreIncr() - Method in class edu.ntnu.idatt1002.k1g4.client.controllers.MatchOverviewController
-
Team two score increases.
- toString() - Method in class edu.ntnu.idatt1002.k1g4.Cup
-
toString-method for Cup class.
- toString() - Method in class edu.ntnu.idatt1002.k1g4.Division
-
toString method
- toString() - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Overrides the toString method in Object Different for finished, ongoing and not started matches
- toString() - Method in class edu.ntnu.idatt1002.k1g4.Team
-
overrides the toString method in Object Represents a team on a one liner
U
- updateCompeting(Team, int) - Method in class edu.ntnu.idatt1002.k1g4.dao.TeamDAO
-
Method to update if a team is competing.
- updateListOfCups() - Method in class edu.ntnu.idatt1002.k1g4.client.controllers.HomeController
-
Helper method to update list of cups.
- updateMatch(Match) - Method in class edu.ntnu.idatt1002.k1g4.dao.MatchDAO
-
Method to update match data.
- updateMatchScore(int, int) - Static method in class edu.ntnu.idatt1002.k1g4.client.Model
-
Updates the score for a team in a match.
- updateMatchScore(int, int, int) - Method in class edu.ntnu.idatt1002.k1g4.dao.MatchDAO
-
Method update match score.
- updateMatchValues() - Method in class edu.ntnu.idatt1002.k1g4.client.controllers.MatchOverviewController
-
Updates the scene with new values
- updateScore(int, int) - Method in class edu.ntnu.idatt1002.k1g4.Match
-
Update score.
V
- ViewUtil - Class in edu.ntnu.idatt1002.k1g4.client
-
The type View util.
- ViewUtil() - Constructor for class edu.ntnu.idatt1002.k1g4.client.ViewUtil
All Classes and Interfaces|All Packages