Class TournamentBracketController
java.lang.Object
edu.ntnu.idatt1002.g106.handballapp.finalprod.controller.TournamentBracketController
- All Implemented Interfaces:
javafx.fxml.Initializable
this class disused for generation of matches, and similar methods
- Author:
- Gruppe 6
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private javafx.scene.control.TextArea
private List<javafx.scene.control.TextArea>
private List<javafx.scene.control.TextArea>
private List<javafx.scene.control.TextArea>
private List<javafx.scene.control.TextArea>
private static List<javafx.scene.control.TextArea>
private javafx.scene.text.Text
private javafx.scene.control.Button
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
If all the teams aren't registered yet, the generate button should be disabled.void
this method is used for generating a next round of matches with remaining teams i tournamentvoid
initialize
(URL url, ResourceBundle resourceBundle) private void
this method initializes the chosen bracket listvoid
logout()
method for log outvoid
method that prints matches onn the view board in the bracketsvoid
sendToFrontPage
(javafx.event.ActionEvent event) method that sends program to specific screenvoid
sendToHelpPage
(javafx.event.ActionEvent event) method that sends program to specific screenvoid
sendToMainPage
(javafx.event.ActionEvent event) method that sends program to specific screenvoid
sendToRegisterResult
(javafx.event.ActionEvent event) method that sends program to specific screenvoid
sendToRegisterTeam
(javafx.event.ActionEvent event) method that sends program to specific screen
-
Field Details
-
b4r1m1
private javafx.scene.control.TextArea b4r1m1 -
b4r1m2
private javafx.scene.control.TextArea b4r1m2 -
b4r2m1
private javafx.scene.control.TextArea b4r2m1 -
bracket4Team
-
b8r1m1
private javafx.scene.control.TextArea b8r1m1 -
b8r1m2
private javafx.scene.control.TextArea b8r1m2 -
b8r1m3
private javafx.scene.control.TextArea b8r1m3 -
b8r1m4
private javafx.scene.control.TextArea b8r1m4 -
b8r2m1
private javafx.scene.control.TextArea b8r2m1 -
b8r2m2
private javafx.scene.control.TextArea b8r2m2 -
b8r3m1
private javafx.scene.control.TextArea b8r3m1 -
bracket8Team
-
b16r1m1
private javafx.scene.control.TextArea b16r1m1 -
b16r1m2
private javafx.scene.control.TextArea b16r1m2 -
b16r1m3
private javafx.scene.control.TextArea b16r1m3 -
b16r1m4
private javafx.scene.control.TextArea b16r1m4 -
b16r1m5
private javafx.scene.control.TextArea b16r1m5 -
b16r1m6
private javafx.scene.control.TextArea b16r1m6 -
b16r1m7
private javafx.scene.control.TextArea b16r1m7 -
b16r1m8
private javafx.scene.control.TextArea b16r1m8 -
b16r2m1
private javafx.scene.control.TextArea b16r2m1 -
b16r2m2
private javafx.scene.control.TextArea b16r2m2 -
b16r2m3
private javafx.scene.control.TextArea b16r2m3 -
b16r2m4
private javafx.scene.control.TextArea b16r2m4 -
b16r3m1
private javafx.scene.control.TextArea b16r3m1 -
b16r3m2
private javafx.scene.control.TextArea b16r3m2 -
b16r4m1
private javafx.scene.control.TextArea b16r4m1 -
bracket16Team
-
b32r1m1
private javafx.scene.control.TextArea b32r1m1 -
b32r1m10
private javafx.scene.control.TextArea b32r1m10 -
b32r1m11
private javafx.scene.control.TextArea b32r1m11 -
b32r1m12
private javafx.scene.control.TextArea b32r1m12 -
b32r1m13
private javafx.scene.control.TextArea b32r1m13 -
b32r1m14
private javafx.scene.control.TextArea b32r1m14 -
b32r1m15
private javafx.scene.control.TextArea b32r1m15 -
b32r1m16
private javafx.scene.control.TextArea b32r1m16 -
b32r1m2
private javafx.scene.control.TextArea b32r1m2 -
b32r1m3
private javafx.scene.control.TextArea b32r1m3 -
b32r1m4
private javafx.scene.control.TextArea b32r1m4 -
b32r1m5
private javafx.scene.control.TextArea b32r1m5 -
b32r1m6
private javafx.scene.control.TextArea b32r1m6 -
b32r1m7
private javafx.scene.control.TextArea b32r1m7 -
b32r1m8
private javafx.scene.control.TextArea b32r1m8 -
b32r1m9
private javafx.scene.control.TextArea b32r1m9 -
b32r2m1
private javafx.scene.control.TextArea b32r2m1 -
b32r2m2
private javafx.scene.control.TextArea b32r2m2 -
b32r2m3
private javafx.scene.control.TextArea b32r2m3 -
b32r2m4
private javafx.scene.control.TextArea b32r2m4 -
b32r2m5
private javafx.scene.control.TextArea b32r2m5 -
b32r2m6
private javafx.scene.control.TextArea b32r2m6 -
b32r2m7
private javafx.scene.control.TextArea b32r2m7 -
b32r2m8
private javafx.scene.control.TextArea b32r2m8 -
b32r3m1
private javafx.scene.control.TextArea b32r3m1 -
b32r3m2
private javafx.scene.control.TextArea b32r3m2 -
b32r3m3
private javafx.scene.control.TextArea b32r3m3 -
b32r3m4
private javafx.scene.control.TextArea b32r3m4 -
b32r4m1
private javafx.scene.control.TextArea b32r4m1 -
b32r4m2
private javafx.scene.control.TextArea b32r4m2 -
b32r5m1
private javafx.scene.control.TextArea b32r5m1 -
bracket32Team
-
generateButton
private javafx.scene.control.Button generateButton -
errorMessage
private javafx.scene.text.Text errorMessage -
currentBracket
-
-
Constructor Details
-
TournamentBracketController
public TournamentBracketController()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfacejavafx.fxml.Initializable
- Parameters:
url
-resourceBundle
-
-
initializeLists
private void initializeLists()this method initializes the chosen bracket list -
logout
public void logout()method for log out -
generateNextRound
public void generateNextRound()this method is used for generating a next round of matches with remaining teams i tournament -
printMatches
public void printMatches()method that prints matches onn the view board in the brackets -
disableGenerateButton
public void disableGenerateButton()If all the teams aren't registered yet, the generate button should be disabled. -
sendToFrontPage
method that sends program to specific screen- Parameters:
event
- button event- Throws:
IOException
- when path not found
-
sendToMainPage
method that sends program to specific screen- Parameters:
event
- button event- Throws:
IOException
- when path not found
-
sendToRegisterTeam
method that sends program to specific screen- Parameters:
event
- button event- Throws:
IOException
- when path not found
-
sendToRegisterResult
method that sends program to specific screen- Parameters:
event
- button event- Throws:
IOException
- when path not found
-
sendToHelpPage
method that sends program to specific screen- Parameters:
event
- button event- Throws:
IOException
- when path not found
-