Class StartModel

java.lang.Object
edu.ntnu.idi.idatt.view.entry.StartModel
All Implemented Interfaces:
Model

public class StartModel extends Object implements Model
Model class for Start MVC.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor for StartModel.
  • Method Summary

    Modifier and Type
    Method
    Description
    javafx.beans.property.StringProperty
    Getter for balance property.
    javafx.beans.property.StringProperty
    Getter for error property.
    javafx.beans.property.StringProperty
    Getter for FileName property.
    javafx.beans.property.StringProperty
    Getter for name propery.
    boolean
    Getter for first game status.
    javafx.beans.property.BooleanProperty
    Getter for newGame property.
    javafx.beans.property.BooleanProperty
    Getter for predefinedCSV property.
    void
    setFirstNewGame(boolean val)
    Setter for first game status.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StartModel

      public StartModel()
      Constructor for StartModel.

      Creates a listener that checks if user was not found in the persistent storage.

  • Method Details

    • getName

      public javafx.beans.property.StringProperty getName()
      Getter for name propery.
      Returns:
      StringProperty;
    • getBalance

      public javafx.beans.property.StringProperty getBalance()
      Getter for balance property.
      Returns:
      StringProperty;
    • getError

      public javafx.beans.property.StringProperty getError()
      Getter for error property.
      Returns:
      StringProperty;
    • getFileName

      public javafx.beans.property.StringProperty getFileName()
      Getter for FileName property.
      Returns:
      StringProperty;
    • isNewGame

      public javafx.beans.property.BooleanProperty isNewGame()
      Getter for newGame property.
      Returns:
      BooleanProperty;
    • isFirstNewGame

      public boolean isFirstNewGame()
      Getter for first game status.
      Returns:
      boolean;
    • setFirstNewGame

      public void setFirstNewGame(boolean val)
      Setter for first game status.
      Parameters:
      val - - boolean.
    • isPredefinedCSV

      public javafx.beans.property.BooleanProperty isPredefinedCSV()
      Getter for predefinedCSV property.
      Returns:
      BooleanProperty;