Clase ModeloDiapositiva actualizada

This commit is contained in:
NataliaCancinoV 2024-03-23 20:36:14 -06:00
parent cb3eca096a
commit 89badbd078
1 changed files with 16 additions and 1 deletions

View File

@ -1,6 +1,21 @@
package uvct.presentadorfx;
public class ModeloDiapositiva {
import javafx.scene.Group;
import javafx.scene.layout.GridPane;
import javafx.scene.layout.VBox;
import javafx.scene.text.Font;
import javafx.scene.text.Text;
import javafx.scene.text.TextAlignment;
import javafx.scene.text.TextFlow;
public class ModeloDiapositiva extends VBox{
private Titulo areaTitulo;
private Contenido areaContenido;
public ModeloDiapositiva(Titulo t, Contenido c) {
areaTitulo = t;
areaContenido = c;
this.getChildren().add(areaTitulo);
this.getChildren().add(areaContenido);
}
}