|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmvc.DirectModel<T>
public abstract class DirectModel<T>
DOCME.
| Constructor Summary | |
|---|---|
DirectModel()
new NamedDirectModel |
|
| Method Summary | |
|---|---|
void |
addCallback(Callback cbk)
m.addCallback(cbk) registers cbk as an callback of m. |
protected void |
notifyObservers()
executeCallbacks() invokes the execute() method for all callbacks of this model. |
void |
removeCallback(Callback cbk)
m.removeCallback(cbk) unregisters cbk as an callback of m. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface mvc.Model |
|---|
getValue |
| Constructor Detail |
|---|
public DirectModel()
| Method Detail |
|---|
protected void notifyObservers()
public void addCallback(Callback cbk)
addCallback in interface CallbackRegistrycbk - public void removeCallback(Callback cbk)
removeCallback in interface CallbackRegistrycbk -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||