|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mvc.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 CallbackRegistry
cbk
- public void removeCallback(Callback cbk)
removeCallback
in interface CallbackRegistry
cbk
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |