org.onebusaway.webapp.gwt.common.model
Class AbstractModel<T>

java.lang.Object
  extended by org.onebusaway.webapp.gwt.common.model.AbstractModel<T>
All Implemented Interfaces:
ModelEventSink<T>, ModelEventSource<T>, ModelEventSourceAndSink<T>
Direct Known Subclasses:
TimedPolygonModel, TimedRegionModel, TripPlanModel

public class AbstractModel<T>
extends Object
implements ModelEventSourceAndSink<T>


Constructor Summary
AbstractModel()
           
 
Method Summary
 void addModelListener(ModelListener<T> listener)
           
 void fireModelChange(T model)
           
 void removeModelListener(ModelListener<T> listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractModel

public AbstractModel()
Method Detail

addModelListener

public void addModelListener(ModelListener<T> listener)
Specified by:
addModelListener in interface ModelEventSource<T>

removeModelListener

public void removeModelListener(ModelListener<T> listener)
Specified by:
removeModelListener in interface ModelEventSource<T>

fireModelChange

public void fireModelChange(T model)
Specified by:
fireModelChange in interface ModelEventSink<T>


Copyright © 2011 OneBusAway. All Rights Reserved.