Package net.bjmsw.hda.vs.buchmacher.ui
Class WettenControlPanel
java.lang.Object
net.bjmsw.hda.vs.buchmacher.ui.WettenControlPanel
- All Implemented Interfaces:
UIController
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) javafx.scene.control.Label(package private) javafx.stage.Stage(package private) javafx.scene.control.TableView<BuchmacherOuterClass.Wette> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidvoidsetWetten(List<BuchmacherOuterClass.Wette> wetten) voidupdate(BuchmacherService buchmacher) Updates the UI controller with the given BuchmacherService.voidupdateGlobalRisk(double risk) private voidupdateWetten(List<BuchmacherOuterClass.Wette> wetten, int selectedIndex)
-
Field Details
-
stage
javafx.stage.Stage stage -
globalRiskLabel
javafx.scene.control.Label globalRiskLabel -
wettenTable
javafx.scene.control.TableView<BuchmacherOuterClass.Wette> wettenTable
-
-
Constructor Details
-
WettenControlPanel
public WettenControlPanel() -
WettenControlPanel
- Throws:
IOException
-
-
Method Details
-
initialize
void initialize() -
updateGlobalRisk
public void updateGlobalRisk(double risk) -
setWetten
-
updateWetten
-
update
Description copied from interface:UIControllerUpdates the UI controller with the given BuchmacherService.- Specified by:
updatein interfaceUIController- Parameters:
buchmacher- The BuchmacherService object to update the UI controller with.
-