Package com.titan.gui
Class Titan
java.lang.Object
javafx.application.Application
com.titan.gui.Titan
public class Titan
extends javafx.application.Application
-
Nested Class Summary
Nested classes/interfaces inherited from class javafx.application.Application
javafx.application.Application.Parameters
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic int
value of the current stepstatic final int
static boolean
determines if the animation should be running or notstatic double
scale we use to represent the solar system on the screenstatic int
static int
determines how many steps at once we are calculating, more means faster animationstatic int
stepSize for an Euler solverstatic final int
static int
static int
static int
static int
Fields inherited from class javafx.application.Application
STYLESHEET_CASPIAN, STYLESHEET_MODENA
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
-
Field Details
-
scale
public static double scalescale we use to represent the solar system on the screen -
WIDTH
public static final int WIDTH- See Also:
-
HEIGHT
public static final int HEIGHT- See Also:
-
xCenter
public static int xCenter -
yCenter
public static int yCenter -
xCenter_
public static int xCenter_ -
yCenter_
public static int yCenter_ -
running
public static boolean runningdetermines if the animation should be running or not -
steps
public static int steps -
stepSize
public static int stepSizestepSize for an Euler solver -
currentStep
public static int currentStepvalue of the current step -
stepsAtOnce
public static int stepsAtOncedetermines how many steps at once we are calculating, more means faster animation
-
-
Constructor Details
-
Titan
public Titan()
-
-
Method Details
-
start
public void start(javafx.stage.Stage stage) - Specified by:
start
in classjavafx.application.Application
-
main
-