rails.game.model
Class PrivatesModel

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

public class PrivatesModel
extends ModelObject


Field Summary
static int BREAK
           
static int SPACE
           
 
Fields inherited from class rails.game.model.ModelObject
dependents, log, option
 
Constructor Summary
PrivatesModel(java.util.List<PrivateCompanyI> privatesList)
           
 
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

SPACE

public static final int SPACE
See Also:
Constant Field Values

BREAK

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

PrivatesModel

public PrivatesModel(java.util.List<PrivateCompanyI> privatesList)
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: