Groovy Documentation

griffon.pivot
[Java] Class AbstractPivotGriffonApplication

java.lang.Object
  org.codehaus.griffon.runtime.core.AbstractObservable
      org.codehaus.griffon.runtime.core.AbstractGriffonApplication
          griffon.pivot.AbstractPivotGriffonApplication
All Implemented Interfaces:
PivotGriffonApplication, StandaloneGriffonApplication

public abstract class AbstractPivotGriffonApplication
extends AbstractGriffonApplication

Basic implementation of GriffonApplication that runs in standalone mode using Pivot.

Authors:
Andres Almiray


Field Summary
private WindowDisplayHandler defaultWindowDisplayHandler

private WindowDisplayHandler windowDisplayHandler

private WindowManager windowManager

 
Fields inherited from class AbstractGriffonApplication
EMPTY_ARGS
 
Constructor Summary
AbstractPivotGriffonApplication()

AbstractPivotGriffonApplication(String[] args)

 
Method Summary
void bootstrap()

protected void callReady(org.apache.pivot.wtk.Window startingWindow)

Calls the ready lifecycle method after the UI thread calms down

Object createApplicationContainer()

void exit()

org.apache.pivot.wtk.ApplicationContext$ResourceCacheDictionary getResourceCache()

protected UIThreadHandler getUIThreadHandler()

WindowDisplayHandler getWindowDisplayHandler()

WindowManager getWindowManager()

void queue(Closure callback)

void queue(boolean wait, Closure callback)

void realize()

WindowDisplayHandler resolveWindowDisplayHandler()

void resume()

void schedule(long delay, Closure callback)

void scheduleRecurring(long period, Closure callback)

void scheduleRecurring(long delay, long period, Closure callback)

void setWindowDisplayHandler(WindowDisplayHandler windowDisplayHandler)

void show()

boolean shutdown()

boolean shutdown(boolean optional)

void startup(org.apache.pivot.wtk.Display display, org.apache.pivot.collections.Map properties)

void suspend()

 
Methods inherited from class AbstractGriffonApplication
shutdown, newInstance, getResourceAsStream, getResources, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, 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, eventOutsideUI, eventOutsideUI, eventAsync, eventAsync, addShutdownHandler, removeShutdownHandler, getPhase, getArtifactManager, getStartupArgs, getLog, getActionManager, isUIThread, 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, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, resolveResource, setResourceResolver, setAddonManager, setArtifactManager, setMvcGroupManager, setServiceManager, setLocaleAsString, getMessageSource, setMessageSource, resolveResourceResolver, setActionManager, 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

defaultWindowDisplayHandler

private final WindowDisplayHandler defaultWindowDisplayHandler


windowDisplayHandler

private WindowDisplayHandler windowDisplayHandler


windowManager

private final WindowManager windowManager


 
Constructor Detail

AbstractPivotGriffonApplication

public AbstractPivotGriffonApplication()


AbstractPivotGriffonApplication

public AbstractPivotGriffonApplication(String[] args)


 
Method Detail

bootstrap

public void bootstrap()


callReady

protected void callReady(org.apache.pivot.wtk.Window startingWindow)
Calls the ready lifecycle method after the UI thread calms down


createApplicationContainer

public Object createApplicationContainer()


exit

public void exit()


getResourceCache

public org.apache.pivot.wtk.ApplicationContext$ResourceCacheDictionary getResourceCache()


getUIThreadHandler

protected UIThreadHandler getUIThreadHandler()


getWindowDisplayHandler

public WindowDisplayHandler getWindowDisplayHandler()


getWindowManager

public WindowManager getWindowManager()


queue

public void queue(Closure callback)


queue

public void queue(boolean wait, Closure callback)


realize

public void realize()


resolveWindowDisplayHandler

public final WindowDisplayHandler resolveWindowDisplayHandler()


resume

public void resume()


schedule

public void schedule(long delay, Closure callback)


scheduleRecurring

public void scheduleRecurring(long period, Closure callback)


scheduleRecurring

public void scheduleRecurring(long delay, long period, Closure callback)


setWindowDisplayHandler

public void setWindowDisplayHandler(WindowDisplayHandler windowDisplayHandler)


show

public void show()


shutdown

public boolean shutdown()


shutdown

public boolean shutdown(boolean optional)


startup

public void startup(org.apache.pivot.wtk.Display display, org.apache.pivot.collections.Map properties)


suspend

public void suspend()


 

Groovy Documentation