java.lang.Object
com.wyu4.snowberryjam.gui.framework.Controller

public class Controller extends Object
The controller of the MVCI framework.
  • Field Details

    • builder

      private final javafx.util.Builder<javafx.scene.layout.Region> builder
    • model

      private final Model model
    • interactor

      private final Interactor interactor
  • Constructor Details

    • Controller

      public Controller(javafx.stage.Stage stage)
      Create a new Controller
      Parameters:
      stage - The primary Stage of the window
  • Method Details

    • updateFile

      public void updateFile(File file)
    • getSourceFile

      public File getSourceFile()
    • getSourceFileProperty

      public javafx.beans.property.ObjectProperty<File> getSourceFileProperty()
    • getView

      public javafx.scene.layout.Region getView()
      Get the primary view of the framework
      Returns:
      Region containing the view built from the ViewBuilder