rails.game.model
Class TrainsModel

java.lang.Object
  extended by java.util.Observable
      extended by rails.game.model.ModelObject
          extended by rails.game.model.TrainsModel

public class TrainsModel
extends ModelObject


Field Summary
static int ABBR_LIST
           
static int FULL_LIST
           
 
Fields inherited from class rails.game.model.ModelObject
dependents, log, option
 
Constructor Summary
TrainsModel(Portfolio portfolio)
           
 
Method Summary
 java.lang.String getText()
          The object that is sent to the Observer along with a notification.
 
Methods inherited from class rails.game.model.ModelObject
addDependent, addObserver, getUpdate, removeDependent, resetOption, setOption, update
 
Methods inherited from class java.util.Observable
clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FULL_LIST

public static final int FULL_LIST
See Also:
Constant Field Values

ABBR_LIST

public static final int ABBR_LIST
See Also:
Constant Field Values
Constructor Detail

TrainsModel

public TrainsModel(Portfolio portfolio)
Method Detail

getText

public java.lang.String getText()
Description copied from class: ModelObject
The object that is sent to the Observer along with a notification. The default result is the Observable's toString(), but it can be overridden where needed.

Specified by:
getText in class ModelObject
Returns: