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 javafx.application.Application fxApp

Object fxInitComplete

private javafx.stage.Stage primaryStage

 
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()

static void main(String[] args)

void realize()

void setFXApp(javafx.application.Application fxApp)

void setPrimaryStage(javafx.stage.Stage primaryStage)

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


fxApp

private javafx.application.Application fxApp


fxInitComplete

final Object fxInitComplete


primaryStage

private javafx.stage.Stage primaryStage


 
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()


main

public static void main(String[] args)


realize

public void realize()


setFXApp

void setFXApp(javafx.application.Application fxApp)


setPrimaryStage

void setPrimaryStage(javafx.stage.Stage primaryStage)


show

public void show()


 

Groovy Documentation