/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package mytime.gui.controller; import java.net.URL; import java.util.ResourceBundle; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.control.Label; import javafx.scene.layout.GridPane; import mytime.be.Group; /** * FXML Controller class * * @author Bruger */ public class OneGuildBarController implements Initializable { @FXML private GridPane gridPane; @FXML private Label lblGuildName; private Group group; /** * Initializes the controller class. */ @Override public void initialize(URL url, ResourceBundle rb) { // TODO gridPane.setStyle("-fx-background-color: rgb(102, 102, 255);"); } public void setGroup(Group group) { this.group = group; lblGuildName.setText(group.getName().get()); } }