gvt.mvc
Class  Model
java.lang.Object
  |
  +--gvt.mvc.Model
- Direct Known Subclasses: 
- Counter
- public class Model- extends java.lang.Object
This class is the superclass of all models
| Constructor Summary | 
| Model()
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
toString, 
wait, 
wait, 
wait | 
 
Model
public Model()
addView
public void addView(View view)
- Add a view to the model list.
removeView
public void removeView(View view)
- Remove a view from the model list.
setChanged
public void setChanged()
- Set the changed flag.
clearChanged
public void clearChanged()
- Clear the changed flag.
hasChanged
public boolean hasChanged()
- Query the changed flag.
notifyViews
public void notifyViews()
- Updated all views attached to the model.