|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object becker.util.AbstractModel
public class AbstractModel
An implementation of IModel
. Classes needing to implement
IModel
may extend this class to ease their implementation.
Field Summary | |
---|---|
protected List<IView> |
views
|
Constructor Summary | |
---|---|
AbstractModel()
Create a new AbstractModel. |
Method Summary | |
---|---|
void |
addView(IView aView)
Add a view to a list of views. |
void |
removeView(IView aView)
Remove a specific view from the list of views. |
void |
updateAllViews()
Update all the views that have been added to this model. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<IView> views
Constructor Detail |
---|
public AbstractModel()
Method Detail |
---|
public void addView(IView aView)
addView
in interface IModel
aView
- The view to add.public void removeView(IView aView)
removeView
in interface IModel
aView
- The view to remove.public void updateAllViews()
updateAllViews
in interface IModel
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |