Package edu.wpi.grip.ui
Class Main
- java.lang.Object
-
- javafx.application.Application
-
- edu.wpi.grip.ui.Main
-
public class Main extends javafx.application.Application
-
-
Field Summary
Fields Modifier and Type Field Description protected com.google.inject.Injector
injector
JavaFX insists on creating the main application with its own reflection code, so we can't create with the Guice and do automatic field injection.
-
Constructor Summary
Constructors Constructor Description Main()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init()
void
onUnexpectedThrowableEvent(UnexpectedThrowableEvent event)
void
start(javafx.stage.Stage stage)
void
stop()
-
-
-
Method Detail
-
init
public void init() throws java.io.IOException
- Overrides:
init
in classjavafx.application.Application
- Throws:
java.io.IOException
-
start
public void start(javafx.stage.Stage stage) throws java.io.IOException
- Specified by:
start
in classjavafx.application.Application
- Throws:
java.io.IOException
-
stop
public void stop()
- Overrides:
stop
in classjavafx.application.Application
-
onUnexpectedThrowableEvent
public final void onUnexpectedThrowableEvent(UnexpectedThrowableEvent event)
-
-