org.onebusaway.webapp.gwt.common
Class AbstractSinglePageApplication

java.lang.Object
  extended by org.onebusaway.webapp.gwt.common.AbstractSinglePageApplication
All Implemented Interfaces:
com.google.gwt.core.client.EntryPoint, ContextListener, ExceptionListener
Direct Known Subclasses:
NotificationWidgetApplication, PositionMapApplication

public class AbstractSinglePageApplication
extends Object
implements com.google.gwt.core.client.EntryPoint, ContextListener, ExceptionListener


Constructor Summary
AbstractSinglePageApplication()
           
 
Method Summary
 ContextManager getContextManager()
           
 void handleException(Throwable ex)
          Public Methods
 void onContextChanged(Context context)
          HistoryListener Interface
 void onException(Throwable ex)
          ExceptionListener Interface
 void onModuleLoad()
          EntryPoint
 void setContextManager(ContextManager contextManager)
           
protected  void setExceptionPage(IPageSource exceptionPage)
           
protected  void setPage(IPageSource page)
          Private Methods
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSinglePageApplication

public AbstractSinglePageApplication()
Method Detail

handleException

public void handleException(Throwable ex)
Public Methods


getContextManager

public ContextManager getContextManager()

setContextManager

public void setContextManager(ContextManager contextManager)

onModuleLoad

public void onModuleLoad()
EntryPoint

Specified by:
onModuleLoad in interface com.google.gwt.core.client.EntryPoint

onContextChanged

public void onContextChanged(Context context)
HistoryListener Interface

Specified by:
onContextChanged in interface ContextListener

onException

public void onException(Throwable ex)
ExceptionListener Interface

Specified by:
onException in interface ExceptionListener

setPage

protected void setPage(IPageSource page)
Private Methods


setExceptionPage

protected void setExceptionPage(IPageSource exceptionPage)


Copyright © 2011 OneBusAway. All Rights Reserved.