Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addGame(Game) - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.QualificationRound
-
Method for adding game to the round.
- addMatch(Match) - Method in class edu.ntnu.idatt1002.k2g05.models.games.MatchGame
-
Appends the specified match to the end of the matchGame's list.
- addMatchColumn(MatchColumn) - Method in class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.Group
-
Method for adding a match column to the group.
- addMatchGame(MatchGame) - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.MatchRound
-
Method for adding matchGame to the round.
- addPlayer(Player) - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
-
Method for adding players to the tournament.
- AddPlayerController - Class in edu.ntnu.idatt1002.k2g05.controllers.newtournament
-
Controller for the add player view.
- AddPlayerController() - Constructor for class edu.ntnu.idatt1002.k2g05.controllers.newtournament.AddPlayerController
- addPlayerPairAndMatch(PlayerPair, Match) - Method in class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.MatchColumn
-
Method for adding a Player Pair and a correlated match.
- addPlayerPairAndNode(PlayerPair, Node) - Method in class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.MatchColumn
-
Method for adding a Player and a correlated node.
- addRound(Round) - Method in class edu.ntnu.idatt1002.k2g05.models.RoundCollection
-
Appends the specified round to the end of the roundCollection.
- addRound(RoundType) - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.RoundsTemplate
-
Appends the specified roundType to the end of the template.
- addRoundCollections(RoundCollection) - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
-
Appends the specified roundCollection to the end of the tournament's roundCollections list.
- addScore(int) - Method in class edu.ntnu.idatt1002.k2g05.models.games.Game
-
Method for adding a score to the game
- App - Class in edu.ntnu.idatt1002.k2g05
- App() - Constructor for class edu.ntnu.idatt1002.k2g05.App
- autoSave() - Method in class edu.ntnu.idatt1002.k2g05.Models
-
Method for saving the file to its previous chosen path @return true if save was successful.
B
- BaseNewTournamentController - Class in edu.ntnu.idatt1002.k2g05.controllers.newtournament
-
Basic new tournament controller to extend from for easier creation of new controllers.
- BaseNewTournamentController() - Constructor for class edu.ntnu.idatt1002.k2g05.controllers.newtournament.BaseNewTournamentController
- BaseOpenTournamentController - Class in edu.ntnu.idatt1002.k2g05.controllers.opentournament
-
Base class for new open tournament controllers to inherit from.
- BaseOpenTournamentController() - Constructor for class edu.ntnu.idatt1002.k2g05.controllers.opentournament.BaseOpenTournamentController
C
- clear() - Method in class edu.ntnu.idatt1002.k2g05.models.games.MatchGame
-
Method for clearing all the matches played.
- clear() - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.MatchRound
- clear() - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.QualificationRound
- clear() - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.Round
-
Method for clearing the round of games.
- clearRoundCollections() - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
- containsPlayer(Player) - Method in class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.MatchColumn
-
Check if a player is in a Match Column
- containsPlayer(Player) - Method in record class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.PlayerPair
-
Checks if a Player pair contains a given player.
- containsPlayerPair(PlayerPair) - Method in class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.MatchColumn
-
Checks if the Match Column contains a given player pair
- COUNTRY - Enum constant in enum class edu.ntnu.idatt1002.k2g05.models.rounds.SortType
- createMatchPair(PlayerPair, Match) - Method in class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.MatchColumn
-
Method for creating a match pair given a player pair and a match.
- CreationController - Class in edu.ntnu.idatt1002.k2g05.controllers.newtournament
- CreationController() - Constructor for class edu.ntnu.idatt1002.k2g05.controllers.newtournament.CreationController
D
- DebugData - Class in edu.ntnu.idatt1002.k2g05.debug
- DebugData() - Constructor for class edu.ntnu.idatt1002.k2g05.debug.DebugData
- DRAW - Enum constant in enum class edu.ntnu.idatt1002.k2g05.models.rounds.SortType
E
- edu.ntnu.idatt1002.k2g05 - package edu.ntnu.idatt1002.k2g05
- edu.ntnu.idatt1002.k2g05.controllers - package edu.ntnu.idatt1002.k2g05.controllers
- edu.ntnu.idatt1002.k2g05.controllers.newtournament - package edu.ntnu.idatt1002.k2g05.controllers.newtournament
- edu.ntnu.idatt1002.k2g05.controllers.opentournament - package edu.ntnu.idatt1002.k2g05.controllers.opentournament
- edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils - package edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils
- edu.ntnu.idatt1002.k2g05.debug - package edu.ntnu.idatt1002.k2g05.debug
- edu.ntnu.idatt1002.k2g05.factories - package edu.ntnu.idatt1002.k2g05.factories
- edu.ntnu.idatt1002.k2g05.models - package edu.ntnu.idatt1002.k2g05.models
- edu.ntnu.idatt1002.k2g05.models.games - package edu.ntnu.idatt1002.k2g05.models.games
- edu.ntnu.idatt1002.k2g05.models.rounds - package edu.ntnu.idatt1002.k2g05.models.rounds
- equals(Object) - Method in record class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.MatchPair
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.PlayerPair
-
Indicates whether some other object is "equal to" this one.
F
- FEMALE - Enum constant in enum class edu.ntnu.idatt1002.k2g05.models.League
- fillFinalFromGroupPlay(RoundCollection, RoundCollection) - Static method in class edu.ntnu.idatt1002.k2g05.factories.RoundCollectionFactory
-
Method for filling a final collection from a group play collection.
- fillFinalFromPreviousFinal(RoundCollection, RoundCollection) - Static method in class edu.ntnu.idatt1002.k2g05.factories.RoundCollectionFactory
-
Method for filling the next final given the previous final, e.g.
- fillMatchesInMatchRoundWithRoundRobin(MatchRound) - Static method in class edu.ntnu.idatt1002.k2g05.factories.MatchRoundFactory
-
Method for filling in matches in a Match round given the Round Robin format.
- fillQualificationCollection(RoundCollection, List<Player>) - Static method in class edu.ntnu.idatt1002.k2g05.factories.RoundCollectionFactory
-
Method for filling a given qualification collection with players
- FINAL - Enum constant in enum class edu.ntnu.idatt1002.k2g05.models.rounds.RoundType
- FinalRegistrationController - Class in edu.ntnu.idatt1002.k2g05.controllers.opentournament
-
Controller for Final-Registration.
- FinalRegistrationController() - Constructor for class edu.ntnu.idatt1002.k2g05.controllers.opentournament.FinalRegistrationController
-
Constructor method for early initialization.
- FinalSummaryController - Class in edu.ntnu.idatt1002.k2g05.controllers.opentournament
-
Controller for the final summery FXML
- FinalSummaryController() - Constructor for class edu.ntnu.idatt1002.k2g05.controllers.opentournament.FinalSummaryController
- FormatController - Class in edu.ntnu.idatt1002.k2g05.controllers.newtournament
- FormatController() - Constructor for class edu.ntnu.idatt1002.k2g05.controllers.newtournament.FormatController
G
- Game - Class in edu.ntnu.idatt1002.k2g05.models.games
-
A class that holds a game, a game is composed of several scores, a score is the sum of all the throws in a play.
- Game(Player) - Constructor for class edu.ntnu.idatt1002.k2g05.models.games.Game
-
Constructor for creating an instance of a Game.
- Game(Player, List<Integer>) - Constructor for class edu.ntnu.idatt1002.k2g05.models.games.Game
-
Constructor for creating an instance of a Game.
- getAllGames() - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.QualificationRound
-
Method for getting all the games in the round
- getAllMatches() - Method in class edu.ntnu.idatt1002.k2g05.models.games.MatchGame
- getAllMatchGames() - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.MatchRound
-
Method for getting all the matchGames in the round.
- getAllNodes() - Method in class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.MatchColumn
-
Method for getting all the nodes in the match colum
- getAllPlayerPairs() - Method in class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.MatchColumn
-
Method for getting all the Player Pairs.
- getAllPlayers() - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
-
Gets all the players in the tournament.
- getAllRoundCollections() - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
-
Gets all the RoundCollections in the tournament
- getAllRounds() - Method in class edu.ntnu.idatt1002.k2g05.models.RoundCollection
-
Gets all the rounds in the round collection.
- getAmountMatchGames() - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.MatchRound
-
Method for getting the amount of match games in the round
- getAmountOfPlayers() - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
- getAmountOfRounds() - Method in class edu.ntnu.idatt1002.k2g05.models.RoundCollection
-
Gets the amount of rounds in the collection
- getAndFillQualificationRoundCollection(String, List<Player>) - Static method in class edu.ntnu.idatt1002.k2g05.factories.RoundCollectionFactory
-
Method for getting and filling a qualification round collection given a nam eof the round collection and the players that is going to play in the qualificatio
- getBowlingAlley() - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
- getCity() - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
- getClub() - Method in class edu.ntnu.idatt1002.k2g05.models.Player
- getCountry() - Method in class edu.ntnu.idatt1002.k2g05.models.Player
- getCurrentScene() - Method in class edu.ntnu.idatt1002.k2g05.View
-
Method for getting the currently set scene, the scene is the content of the window.
- getCurrentTournament() - Method in class edu.ntnu.idatt1002.k2g05.Models
-
Gets the current set tournament.
- getDate() - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
- getDraw() - Method in class edu.ntnu.idatt1002.k2g05.models.games.MatchGame
-
Method for getting the amount matches that is a draw
- getEmptyFinalCollection(String) - Static method in class edu.ntnu.idatt1002.k2g05.factories.RoundCollectionFactory
-
Method for creating an empty final collection
- getEmptyGroupStageCollection(String, int) - Static method in class edu.ntnu.idatt1002.k2g05.factories.RoundCollectionFactory
- getEmptyQualificationCollection(String) - Static method in class edu.ntnu.idatt1002.k2g05.factories.RoundCollectionFactory
-
Method for getting an empty qualification collection
- getEmptyQuarterFinalCollection(String) - Static method in class edu.ntnu.idatt1002.k2g05.factories.RoundCollectionFactory
-
Method for creating an empty quarter final collection given the nam
- getEmptySemiFinalCollection(String) - Static method in class edu.ntnu.idatt1002.k2g05.factories.RoundCollectionFactory
-
Method for getting an empty semi-final
- getGameByPlayer(Player) - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.QualificationRound
-
Method for getting a Game given the player that has played it.
- getGamesByNameSearch(String, int) - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.QualificationRound
-
Method for returning a list over results given a search query by name.
- getGender() - Method in class edu.ntnu.idatt1002.k2g05.models.Player
- getHandicap() - Method in class edu.ntnu.idatt1002.k2g05.models.Player
- getIndex() - Method in class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.MatchColumn
-
Method for getting the column index
- getInitials() - Method in class edu.ntnu.idatt1002.k2g05.models.Player
-
Gets the initials of the player by spitting the name and getting every first character of the name.
- getInstance() - Static method in class edu.ntnu.idatt1002.k2g05.Models
-
Method for returning the single instance of the class, which contains data.
- getInstance() - Static method in class edu.ntnu.idatt1002.k2g05.View
-
Method for getting the instance of the View class.
- getLastSaveLocation() - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
- getLeague() - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
- getLicense() - Method in class edu.ntnu.idatt1002.k2g05.models.Player
- getLost() - Method in class edu.ntnu.idatt1002.k2g05.models.games.MatchGame
-
Method for getting the amount matches that is lost
- getMatchByPlayer(Player) - Method in record class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.MatchPair
-
Method for getting a match given the one of the players in the pair, one should check if the player is in the list before doing this.
- getMatchColumns() - Method in class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.Group
-
Gets all the matchColumns in the given group
- getMatchGame(int) - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.MatchRound
-
Get a specific matchGame given its insertion order (index) in the round.
- getMatchPairByPlayerPair(PlayerPair) - Method in class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.MatchColumn
-
Method for getting the correlating MatchPair given the player pair
- getMatchResult() - Method in class edu.ntnu.idatt1002.k2g05.models.games.Match
-
Method to determine whether the player has won, drew, or lost the game
- getMean() - Method in class edu.ntnu.idatt1002.k2g05.models.games.Game
-
Returns the arithmetic average of all the scores.
- getName() - Method in class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.Group
-
Gets the name of the group
- getName() - Method in class edu.ntnu.idatt1002.k2g05.models.Player
- getName() - Method in class edu.ntnu.idatt1002.k2g05.models.RoundCollection
- getName() - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.Round
- getName() - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
- getOpponent() - Method in class edu.ntnu.idatt1002.k2g05.models.games.Match
- getOpponentScore() - Method in class edu.ntnu.idatt1002.k2g05.models.games.Match
- getOtherMatch(Match) - Method in record class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.MatchPair
-
Method for getting the other match in the match pair given a match.
- getPlayed() - Method in class edu.ntnu.idatt1002.k2g05.models.games.MatchGame
- getPlayer() - Method in class edu.ntnu.idatt1002.k2g05.models.games.Game
-
Gets the player that has played the game.
- getPlayer() - Method in class edu.ntnu.idatt1002.k2g05.models.games.MatchGame
- getPlayerClass() - Method in class edu.ntnu.idatt1002.k2g05.models.Player
- getPlayersBySearch(String, int) - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
-
Method for returning a list over results given a search query by name.
- getPlayerScore() - Method in class edu.ntnu.idatt1002.k2g05.models.games.Match
- getPlaysPerPlayer() - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.QualificationRound
- getPoints() - Method in class edu.ntnu.idatt1002.k2g05.models.games.MatchGame
-
Gets the points that a player has gotten accross its matches.
- getRound(int) - Method in class edu.ntnu.idatt1002.k2g05.models.RoundCollection
- getRoundCollections(int) - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
-
Get a specific roundCollection given its insertion order (index) in the tournament.
- getRoundCollections(RoundType) - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
-
Returns an
Optional
describing the first roundCollection match of the given type, or an emptyOptional
if it does not contain any roundCollection with this type. - getRounds() - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.RoundsTemplate
- getRoundsTemplate() - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
- getScores() - Method in class edu.ntnu.idatt1002.k2g05.models.games.Game
-
Method for getting all the scores that a player has played.
- getStage() - Method in class edu.ntnu.idatt1002.k2g05.View
-
Gets the stage, the stage is the window frame, and can be seen as the parent of the view.
- getSum() - Method in class edu.ntnu.idatt1002.k2g05.models.games.Game
-
Returns the sum of all scores.
- getTestPlayer() - Static method in class edu.ntnu.idatt1002.k2g05.debug.DebugData
-
Method for calling a new test player to be used in test classes
- getTopGames(int) - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.QualificationRound
-
Method for getting the top n games in the round, "top" is defined by the sum that the game has If the n-th player and the n+1-th player has the same point score it will be up to the previous sorted arrangement of the games.
- getTopMatchGames(int) - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.MatchRound
-
Method for getting the top n matchGames in the round, "top" is defined by the points that the matchGames has If the n-th player and the n+1-th player has the same point score it will be up to the previous sorted arrangement of the games.
- getType() - Method in class edu.ntnu.idatt1002.k2g05.models.RoundCollection
- getWon() - Method in class edu.ntnu.idatt1002.k2g05.models.games.MatchGame
-
Method for getting the amount matches that is a win
- getWorldChampionshipsTemplate() - Static method in class edu.ntnu.idatt1002.k2g05.factories.RoundsTemplateFactory
-
World Championship template is consists of: - Qualification Round - A group stag - Quarter final - Semi-final - Final
- Group - Class in edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils
-
A Group is a group in a group play but can also be used in finals.
- Group(String) - Constructor for class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.Group
-
Constructor for creating a new instance of a group
- GROUP_STAGE - Enum constant in enum class edu.ntnu.idatt1002.k2g05.models.rounds.RoundType
H
- hashCode() - Method in record class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.MatchPair
-
Returns a hash code value for this object.
- hashCode() - Method in record class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.PlayerPair
-
Returns a hash code value for this object.
I
- initialize() - Method in class edu.ntnu.idatt1002.k2g05.controllers.newtournament.AddPlayerController
-
Method that gets called after FXML elements are loaded.
- initialize() - Method in class edu.ntnu.idatt1002.k2g05.controllers.newtournament.CreationController
-
Method that gets called after FXML elements are loaded.
- initialize() - Method in class edu.ntnu.idatt1002.k2g05.controllers.newtournament.RoundsController
-
Method that gets called after FXML elements are loaded.
- initialize() - Method in class edu.ntnu.idatt1002.k2g05.controllers.OpeningController
-
Method that gets called after FXML elements are loaded.
- initialize() - Method in class edu.ntnu.idatt1002.k2g05.controllers.opentournament.FinalRegistrationController
-
Method that gets called after FXML elements are loaded
- initialize() - Method in class edu.ntnu.idatt1002.k2g05.controllers.opentournament.FinalSummaryController
-
Method that gets called after FXML elements are loaded.
- initialize() - Method in class edu.ntnu.idatt1002.k2g05.controllers.opentournament.MatchRegistrationController
-
Method that gets initialised after FXML elemts are loaded.
- initialize() - Method in class edu.ntnu.idatt1002.k2g05.controllers.opentournament.MatchSummaryController
-
Method that gets called after the FXML has loaded
- initialize() - Method in class edu.ntnu.idatt1002.k2g05.controllers.opentournament.ScoreRegistrationController
-
Method that gets called after FXML instantiation.
- initialize() - Method in class edu.ntnu.idatt1002.k2g05.controllers.opentournament.ScoreSummaryController
-
Method that gets called after the FXML elements are loaded in.
- isDebugMode() - Method in class edu.ntnu.idatt1002.k2g05.View
- isFinal() - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.MatchRound
J
L
- Launcher - Class in edu.ntnu.idatt1002.k2g05
-
Launcher class for packaging purposes.
- Launcher() - Constructor for class edu.ntnu.idatt1002.k2g05.Launcher
- League - Enum Class in edu.ntnu.idatt1002.k2g05.models
-
Leauge of a tournament can be JUNIOR, MALE or FEMALE.
- load(String) - Static method in class edu.ntnu.idatt1002.k2g05.models.Tournament
-
Method for getting an instance of a tournament given a serialized file.
- LOST - Enum constant in enum class edu.ntnu.idatt1002.k2g05.models.rounds.SortType
M
- m1() - Method in record class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.MatchPair
-
Returns the value of the
m1
record component. - m2() - Method in record class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.MatchPair
-
Returns the value of the
m2
record component. - main(String[]) - Static method in class edu.ntnu.idatt1002.k2g05.App
- main(String[]) - Static method in class edu.ntnu.idatt1002.k2g05.Launcher
- MALE - Enum constant in enum class edu.ntnu.idatt1002.k2g05.models.League
- Match - Class in edu.ntnu.idatt1002.k2g05.models.games
-
Class that holds a Match.
- Match(Player) - Constructor for class edu.ntnu.idatt1002.k2g05.models.games.Match
-
Sets scores to be -1 which means they have not been played yet
- Match(Player, int, int) - Constructor for class edu.ntnu.idatt1002.k2g05.models.games.Match
-
Constructor for creating an instance for a match between two players
- MatchColumn - Class in edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils
-
A Match Column is related to matches between to Players.
- MatchColumn(int) - Constructor for class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.MatchColumn
-
Constructor for making an instance of the MatchColumn.
- MatchGame - Class in edu.ntnu.idatt1002.k2g05.models.games
-
A match game holds a player and all of his matches against other people.
- MatchGame(Player) - Constructor for class edu.ntnu.idatt1002.k2g05.models.games.MatchGame
-
Constructor for creating an instance of the game, given the player that plays it.
- matchInPair(Match) - Method in record class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.MatchPair
-
Method for checking if a given match is in a pair.
- MatchPair - Record Class in edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils
-
Record for holding a match pair.
- MatchPair(Match, Match) - Constructor for record class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.MatchPair
-
Creates an instance of a
MatchPair
record class. - MatchRegistrationController - Class in edu.ntnu.idatt1002.k2g05.controllers.opentournament
-
Controller class for creating
- MatchRegistrationController() - Constructor for class edu.ntnu.idatt1002.k2g05.controllers.opentournament.MatchRegistrationController
- MatchRound - Class in edu.ntnu.idatt1002.k2g05.models.rounds
-
A match round holds multiple match games, some examples of a match round would be a group-play or a semi-final, where the matches that is in match round is a list of
MatchGame
. - MatchRound(String) - Constructor for class edu.ntnu.idatt1002.k2g05.models.rounds.MatchRound
-
Constructor for making an instance of a MatchRound.
- MatchRound(String, boolean) - Constructor for class edu.ntnu.idatt1002.k2g05.models.rounds.MatchRound
-
Constructor for making an instance of a MatchRound.
- MatchRoundFactory - Class in edu.ntnu.idatt1002.k2g05.factories
-
Factory for managing logic around match round.
- MatchSummaryController - Class in edu.ntnu.idatt1002.k2g05.controllers.opentournament
-
Controller for th match summary FXML.
- MatchSummaryController() - Constructor for class edu.ntnu.idatt1002.k2g05.controllers.opentournament.MatchSummaryController
- Models - Class in edu.ntnu.idatt1002.k2g05
-
Singleton class which holds data for the application.
N
- NEW_TOURNAMENT_VIEW_1 - Static variable in class edu.ntnu.idatt1002.k2g05.View
- NEW_TOURNAMENT_VIEW_2 - Static variable in class edu.ntnu.idatt1002.k2g05.View
- NEW_TOURNAMENT_VIEW_3 - Static variable in class edu.ntnu.idatt1002.k2g05.View
- NEW_TOURNAMENT_VIEW_4 - Static variable in class edu.ntnu.idatt1002.k2g05.View
O
- onBackPress(ActionEvent) - Method in class edu.ntnu.idatt1002.k2g05.controllers.newtournament.CreationController
- onNextPress(ActionEvent) - Method in class edu.ntnu.idatt1002.k2g05.controllers.newtournament.CreationController
- OPEN_TOURNAMENT_FINALS_REGISTRATION - Static variable in class edu.ntnu.idatt1002.k2g05.View
- OPEN_TOURNAMENT_FINALS_SUMMARY - Static variable in class edu.ntnu.idatt1002.k2g05.View
- OPEN_TOURNAMENT_MATCH_REGISTRATION - Static variable in class edu.ntnu.idatt1002.k2g05.View
- OPEN_TOURNAMENT_MATCH_SUMMARY - Static variable in class edu.ntnu.idatt1002.k2g05.View
- OPEN_TOURNAMENT_SCORE_REGISTRATION - Static variable in class edu.ntnu.idatt1002.k2g05.View
- OPEN_TOURNAMENT_SCORE_SUMMARY - Static variable in class edu.ntnu.idatt1002.k2g05.View
- OPENING_VIEW - Static variable in class edu.ntnu.idatt1002.k2g05.View
- OpeningController - Class in edu.ntnu.idatt1002.k2g05.controllers
-
Controller for the Opening-View
- OpeningController() - Constructor for class edu.ntnu.idatt1002.k2g05.controllers.OpeningController
P
- p1() - Method in record class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.PlayerPair
-
Returns the value of the
p1
record component. - p2() - Method in record class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.PlayerPair
-
Returns the value of the
p2
record component. - PLACEMENT - Enum constant in enum class edu.ntnu.idatt1002.k2g05.models.rounds.SortType
- PLAYED - Enum constant in enum class edu.ntnu.idatt1002.k2g05.models.rounds.SortType
- Player - Class in edu.ntnu.idatt1002.k2g05.models
-
Class for holding a player in a competiton.
- Player(String, char, char, String, int, double, String) - Constructor for class edu.ntnu.idatt1002.k2g05.models.Player
-
Constructor for creating an instance of a player given his/her information.
- PLAYER - Enum constant in enum class edu.ntnu.idatt1002.k2g05.models.rounds.SortType
- PlayerPair - Record Class in edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils
-
Record that hold two players, reson for this is dicussed in
MatchPair
- PlayerPair(Player, Player) - Constructor for record class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.PlayerPair
-
Creates an instance of a
PlayerPair
record class. - POINTS - Enum constant in enum class edu.ntnu.idatt1002.k2g05.models.rounds.SortType
- Popups - Class in edu.ntnu.idatt1002.k2g05.controllers
-
Class for showing different types of popups.
- Popups() - Constructor for class edu.ntnu.idatt1002.k2g05.controllers.Popups
Q
- QUALIFICATION_ROUND - Enum constant in enum class edu.ntnu.idatt1002.k2g05.models.rounds.RoundType
- QualificationRound - Class in edu.ntnu.idatt1002.k2g05.models.rounds
-
Round where each player plays an amount given amount of
Game
, and an accumulative sum of all rounds are created. - QualificationRound(String) - Constructor for class edu.ntnu.idatt1002.k2g05.models.rounds.QualificationRound
-
Constructor for creating an instance of the given class.
- QualificationRound(String, int) - Constructor for class edu.ntnu.idatt1002.k2g05.models.rounds.QualificationRound
-
Constructor for creating an instance of the class.
- QUARTER_FINAL - Enum constant in enum class edu.ntnu.idatt1002.k2g05.models.rounds.RoundType
R
- removeGame(Game) - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.QualificationRound
-
Removes the first occurrence of a game from this round, if it is present.
- removeMatch(Match) - Method in class edu.ntnu.idatt1002.k2g05.models.games.MatchGame
-
Removes the first occurrence of a match from this matchGame, if it is present.
- removeMatchGame(MatchGame) - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.MatchRound
-
Removes the first occurrence of a matchGame from this round, if it is present.
- removePlayer(Player) - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
-
Method for removing a given player from the torunament
- removeRound(Round) - Method in class edu.ntnu.idatt1002.k2g05.models.RoundCollection
-
Removes the first occurrence of a round from this collection, if it is present.
- removeRound(RoundType) - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.RoundsTemplate
-
Removes the first occurrence of a roundType from the template, if it is present.
- removeRoundCollection(int) - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
-
Removes the roundCollection at the specified position in this list (optional operation).
- removeRoundCollection(RoundCollection) - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
-
Removes the first occurrence of a roundCollection from this list, if it is present.
- removeScore(int) - Method in class edu.ntnu.idatt1002.k2g05.models.games.Game
-
Removes the score at the specified position in this list.
- Round - Class in edu.ntnu.idatt1002.k2g05.models.rounds
-
A class that holds a round, a round is a collection of multiple games, a round could be f.eks "Semi-final" , "Final"
- Round(String) - Constructor for class edu.ntnu.idatt1002.k2g05.models.rounds.Round
-
Constructor for making an instance of a round.
- RoundCollection - Class in edu.ntnu.idatt1002.k2g05.models
-
Class for holding multiple rounds.
- RoundCollection(String) - Constructor for class edu.ntnu.idatt1002.k2g05.models.RoundCollection
-
Constructor for creating an instance of a round collection.
- RoundCollection(String, RoundType) - Constructor for class edu.ntnu.idatt1002.k2g05.models.RoundCollection
-
Constructor for creating an instance of a round collection.
- RoundCollectionFactory - Class in edu.ntnu.idatt1002.k2g05.factories
-
Factory for making round collections easier to use.
- RoundsController - Class in edu.ntnu.idatt1002.k2g05.controllers.newtournament
-
Controller for the newTournament/rounds controller.
- RoundsController() - Constructor for class edu.ntnu.idatt1002.k2g05.controllers.newtournament.RoundsController
- RoundsTemplate - Class in edu.ntnu.idatt1002.k2g05.models.rounds
-
Class for holding a template of a round.
- RoundsTemplate() - Constructor for class edu.ntnu.idatt1002.k2g05.models.rounds.RoundsTemplate
-
Constructor for creating a new template.
- RoundsTemplateFactory - Class in edu.ntnu.idatt1002.k2g05.factories
-
Factory for creating templates for tournaments
- RoundType - Enum Class in edu.ntnu.idatt1002.k2g05.models.rounds
-
Different types of rounds.
S
- save(String) - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
-
Method for saving the current instance of the tournament to a serialized file.
- ScoreRegistrationController - Class in edu.ntnu.idatt1002.k2g05.controllers.opentournament
-
Class for Qualifying round
- ScoreRegistrationController() - Constructor for class edu.ntnu.idatt1002.k2g05.controllers.opentournament.ScoreRegistrationController
- ScoreSummaryController - Class in edu.ntnu.idatt1002.k2g05.controllers.opentournament
-
Controller class for the Score summary FXML file
- ScoreSummaryController() - Constructor for class edu.ntnu.idatt1002.k2g05.controllers.opentournament.ScoreSummaryController
- SEMI_FINAL - Enum constant in enum class edu.ntnu.idatt1002.k2g05.models.rounds.RoundType
- setBowlingAlley(String) - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
- setCity(String) - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
- setCurrentScene(String) - Method in class edu.ntnu.idatt1002.k2g05.View
-
Sets the current scene, it is preferred to use the static constants in this class to set a scene, as they will be correct.
- setCurrentScene(Scene) - Method in class edu.ntnu.idatt1002.k2g05.View
-
Method for setting the current scene, the scene is the content of the window.
- setCurrentTournament(Tournament) - Method in class edu.ntnu.idatt1002.k2g05.Models
-
Sets the current tournament.
- setDate(LocalDate) - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
- setDebugMode(boolean) - Method in class edu.ntnu.idatt1002.k2g05.View
- setLastSaveLocation(String) - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
- setLeague(League) - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
- setName(String) - Method in class edu.ntnu.idatt1002.k2g05.models.RoundCollection
- setName(String) - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.Round
-
Method for setting the name of the Round, name can not be blank or
null
- setName(String) - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
-
Sets the name of the tournament.
- setOpponentScore(int) - Method in class edu.ntnu.idatt1002.k2g05.models.games.Match
-
Sets the score of the opponent
- setPlayerScore(int) - Method in class edu.ntnu.idatt1002.k2g05.models.games.Match
-
Sets the score of the player that holds the match
- setRoundsTemplate(RoundsTemplate) - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
- setScore(int, int) - Method in class edu.ntnu.idatt1002.k2g05.models.games.Game
-
Method for setting a score at a index, if index is out of bounds it will add scores to fit to index.
- setStage(Stage) - Method in class edu.ntnu.idatt1002.k2g05.View
-
Sets the stage, the stage is the window frame, and can be seen as the parent of the view.
- setType(RoundType) - Method in class edu.ntnu.idatt1002.k2g05.models.RoundCollection
- showConfirmation(String, String, String) - Static method in class edu.ntnu.idatt1002.k2g05.controllers.Popups
-
Method for showing an confirmation alert.
- showError(String, String, String) - Static method in class edu.ntnu.idatt1002.k2g05.controllers.Popups
-
Method for showing an error alert.
- showWarningOfOverriding(String, String, String) - Static method in class edu.ntnu.idatt1002.k2g05.controllers.Popups
-
Shows a warning pane
- SIXTEENTH_FINALS - Enum constant in enum class edu.ntnu.idatt1002.k2g05.models.rounds.RoundType
- sort(SortType) - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.MatchRound
-
Method for sorting the matchGames in the round given a sort type
- sort(SortType) - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.QualificationRound
-
Method for sorting the games in the round given a sort type
- sort(SortType, boolean) - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.MatchRound
-
Method for sorting the matchGames in the round given a sort type, and if it should be reversed.
- sort(SortType, boolean) - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.QualificationRound
-
Method for sorting the games in the round given a sort type, and if it should be reversed.
- SortType - Enum Class in edu.ntnu.idatt1002.k2g05.models.rounds
-
Types to sort by.
- start(Stage) - Method in class edu.ntnu.idatt1002.k2g05.App
T
- toString() - Method in record class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.MatchPair
-
Returns a string representation of this record class.
- toString() - Method in record class edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.PlayerPair
-
Returns a string representation of this record class.
- toString() - Method in class edu.ntnu.idatt1002.k2g05.models.games.MatchGame
- toString() - Method in class edu.ntnu.idatt1002.k2g05.models.Player
- toString() - Method in class edu.ntnu.idatt1002.k2g05.models.RoundCollection
- toString() - Method in class edu.ntnu.idatt1002.k2g05.models.rounds.Round
- toString() - Method in class edu.ntnu.idatt1002.k2g05.models.Tournament
- Tournament - Class in edu.ntnu.idatt1002.k2g05.models
-
Class for holding a tournament and all its data.
- Tournament(String, League, LocalDate, String, String) - Constructor for class edu.ntnu.idatt1002.k2g05.models.Tournament
-
Constructor of the Tournament class for creating an instance of the class.
U
- updateAccordion() - Method in class edu.ntnu.idatt1002.k2g05.controllers.opentournament.FinalRegistrationController
-
Method for updating the accordion, with data in groups.
- updateAccordion() - Method in class edu.ntnu.idatt1002.k2g05.controllers.opentournament.MatchRegistrationController
-
Method for updating.
- updateGroupStageCollectionWithSnakeFill(RoundCollection, List<Player>, int) - Static method in class edu.ntnu.idatt1002.k2g05.factories.RoundCollectionFactory
-
Method for filling in a group stage collection with snake fill given the players that are going to be filled in the collection Snake fill looks like with 16 players with 4 per round this: (where number is position after qualification) |A |B |C |D | |1 |2 |3 |4 | |8 |7 |6 |5 | |9 |10|11|12| |16|15|14|13|
V
- valueOf(String) - Static method in enum class edu.ntnu.idatt1002.k2g05.models.League
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class edu.ntnu.idatt1002.k2g05.models.rounds.RoundType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class edu.ntnu.idatt1002.k2g05.models.rounds.SortType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class edu.ntnu.idatt1002.k2g05.models.League
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class edu.ntnu.idatt1002.k2g05.models.rounds.RoundType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class edu.ntnu.idatt1002.k2g05.models.rounds.SortType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- View - Class in edu.ntnu.idatt1002.k2g05
-
Singleton class for managing the current view.
W
A B C D E F G H I J L M N O P Q R S T U V WAll Classes and Interfaces|All Packages|Constant Field Values|Serialized Form