Groovy Documentation

griffon.javafx
[Java] Class JavaFXApplication

java.lang.Object
  org.codehaus.griffon.runtime.core.AbstractObservable
      org.codehaus.griffon.runtime.core.AbstractGriffonApplication
          griffon.javafx.JavaFXApplication
All Implemented Interfaces:
StandaloneGriffonApplication

class JavaFXApplication
extends AbstractGriffonApplication

This class is the main entry point for a Griffon JavaFX application. It uses the FXApplicationStub class to initialize the JavaFX platform and then takes care of initializing the Griffon framework.

Authors:
Dean Iverson


Field Summary
private static org.slf4j.Logger LOG

private WindowDisplayHandler defaultWindowDisplayHandler

private javafx.application.Application fxApp

Object fxInitComplete

private javafx.stage.Stage primaryStage

private boolean primaryStageDispensed

private WindowDisplayHandler windowDisplayHandler

private WindowManager windowManager

 
Fields inherited from class AbstractGriffonApplication
EMPTY_ARGS
 
Constructor Summary
JavaFXApplication()

JavaFXApplication(String[] args)

 
Method Summary
void bootstrap()

Object createApplicationContainer()

private void doGriffonInit()

javafx.application.HostServices getHostServices()

javafx.stage.Stage getPrimaryStage()

WindowDisplayHandler getWindowDisplayHandler()

WindowManager getWindowManager()

static void main(String[] args)

void realize()

WindowDisplayHandler resolveWindowDisplayHandler()

void setFXApp(javafx.application.Application fxApp)

void setPrimaryStage(javafx.stage.Stage primaryStage)

void setWindowDisplayHandler(WindowDisplayHandler windowDisplayHandler)

void show()

 
Methods inherited from class AbstractGriffonApplication
shutdown, newInstance, getResourceAsStream, getResources, initialize, ready, getServices, setLocale, getConfig, event, event, setConfig, getLocale, getBindings, setBindings, getMetadata, getAppConfigClass, getConfigClass, getBuilderClass, getBuilderConfig, setBuilderConfig, getEventsClass, getEventsConfig, setEventsConfig, getModels, getViews, getControllers, getBuilders, getGroups, getAddonManager, getMvcGroupManager, getServiceManager, createApplicationContainer, startup, canShutdown, addApplicationEventListener, addApplicationEventListener, addApplicationEventListener, removeApplicationEventListener, removeApplicationEventListener, removeApplicationEventListener, isEventPublishingEnabled, setEventPublishingEnabled, eventOutside, eventOutside, eventOutsideUI, eventOutsideUI, eventAsync, eventAsync, addShutdownHandler, removeShutdownHandler, getPhase, getArtifactManager, getStartupArgs, getLog, isUIThread, execAsync, execSync, execOutside, execInsideUIAsync, execInsideUISync, execOutsideUI, execFuture, execFuture, execFuture, execFuture, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, destroyMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, getResourceAsURL, setAddonManager, setArtifactManager, setMvcGroupManager, setServiceManager, addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class AbstractObservable
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

LOG

private static final org.slf4j.Logger LOG


defaultWindowDisplayHandler

private final WindowDisplayHandler defaultWindowDisplayHandler


fxApp

private javafx.application.Application fxApp


fxInitComplete

final Object fxInitComplete


primaryStage

private javafx.stage.Stage primaryStage


primaryStageDispensed

private boolean primaryStageDispensed


windowDisplayHandler

private WindowDisplayHandler windowDisplayHandler


windowManager

private final WindowManager windowManager


 
Constructor Detail

JavaFXApplication

public JavaFXApplication()


JavaFXApplication

public JavaFXApplication(String[] args)


 
Method Detail

bootstrap

public void bootstrap()


createApplicationContainer

public Object createApplicationContainer()


doGriffonInit

private void doGriffonInit()


getHostServices

public javafx.application.HostServices getHostServices()


getPrimaryStage

public javafx.stage.Stage getPrimaryStage()


getWindowDisplayHandler

public WindowDisplayHandler getWindowDisplayHandler()


getWindowManager

public WindowManager getWindowManager()


main

public static void main(String[] args)


realize

public void realize()


resolveWindowDisplayHandler

public final WindowDisplayHandler resolveWindowDisplayHandler()


setFXApp

void setFXApp(javafx.application.Application fxApp)


setPrimaryStage

void setPrimaryStage(javafx.stage.Stage primaryStage)


setWindowDisplayHandler

public void setWindowDisplayHandler(WindowDisplayHandler windowDisplayHandler)


show

public void show()


 

Groovy Documentation