public class TomTomWatch
extends org.jdesktop.application.SingleFrameApplication
Constructor and Description |
---|
TomTomWatch() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureWindow(Window root)
This method is to initialize the specified window by injecting resources.
|
static TomTomWatch |
getApplication()
Returns the application instance
|
void |
injectView(TomTomWatchView view)
Inject the TomTomWatchView
|
void |
loadFonts()
This method loads and registers the fonts used by the UI.
|
static void |
main(String[] args) |
protected void |
startup()
At startup create and show the main frame of the application.
|
getMainFrame, getMainView, setMainFrame, show, show, show, show, shutdown
addExitListener, end, exit, exit, getContext, getExitListeners, getInstance, getInstance, hide, initialize, launch, quit, ready, removeExitListener
protected void startup()
startup
in class org.jdesktop.application.Application
public void injectView(TomTomWatchView view)
view
- The viewpublic void loadFonts()
protected void configureWindow(Window root)
configureWindow
in class org.jdesktop.application.SingleFrameApplication
public static TomTomWatch getApplication()
public static void main(String[] args)
args
- the command line argumentsCopyright © 2020. All rights reserved.