<commit_before>/*
 * 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 com.sudoku.grid.manager;

import javafx.geometry.Pos;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;
import javafx.scene.layout.StackPane;
import javafx.scene.text.Text;

/**
 *
 * @author Mélie
 */
public abstract class IhmGridLayout {

  protected Group root;
  protected Scene layout;
  protected Label title;
  protected final int sceneHeight = 200;
  protected final int sceneLength = 200;

  //Grid grille;

  public IhmGridLayout(String ttl) {
    root = new Group();
    layout = new Scene(root, 200, 200);
    title = new Label(ttl);
    root.getChildren().add(title);
    StackPane.setAlignment(title, Pos.TOP_CENTER);
  }

  /**
   * @return the root
   */
  public Group getRoot() {
    return root;
  }

  /**
   * @return the layout
   */
  public Scene getLayout() {
    return layout;
  }

  /**
   * @return the title
   */
  public Label getTitle() {
    return title;
  }
}
<commit_msg>héritage stackpane<commit_after>/*
 * 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 com.sudoku.grid.manager;

import javafx.geometry.Pos;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;
import javafx.scene.layout.Pane;
import javafx.scene.layout.StackPane;
import javafx.scene.text.Text;

/**
 *
 * @author Mélie
 */
public abstract class IhmGridLayout extends StackPane{

  protected Label title;
  protected final int sceneHeight = 200;
  protected final int sceneLength = 200;

  //Grid grille;

  public IhmGridLayout(String ttl) {
    title = new Label(ttl);
  }

  /**
   * @return the title
   */
  public String getTitle() {
    return title.getText();
  }
}

{'fraction_non_alphanumeric': 0.10622009569377991, 'fraction_numerical': 0.00861244019138756, 'mean_word_length': 3.430084745762712, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4815359', 'n_tokens_mistral': 676, 'n_tokens_neox': 640, 'n_words': 194}