|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.client.core.AbstractPresenter<T,U>
T
- The type of the MVP view.U
- The type of the MVP model.public abstract class AbstractPresenter<T extends View<? extends Editable>,U>
Abstract helper class for implementing MVP presenters.
Constructor Summary | |
---|---|
AbstractPresenter(T view,
U model)
Constructor. |
Method Summary | |
---|---|
protected void |
clearHandlers()
Clear all handlers for this presenter. |
protected void |
dispose()
Dispose of this presenter. |
U |
getModel()
Accessor. |
T |
getView()
Accessor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ccc.client.events.EventHandler |
---|
handle |
Constructor Detail |
---|
public AbstractPresenter(T view, U model)
view
- View implementation.model
- Model implementation.Method Detail |
---|
protected void clearHandlers()
protected final void dispose()
public T getView()
public U getModel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |