|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.client.core.AbstractPresenter<GroupPresenter.GroupView,Group>
ccc.client.presenters.GroupPresenter
public abstract class GroupPresenter
Abstract base class for group presenters.
Nested Class Summary | |
---|---|
static interface |
GroupPresenter.GroupView
MVP view of a group. |
Constructor Summary | |
---|---|
GroupPresenter(GroupPresenter.GroupView view)
Constructor. |
|
GroupPresenter(GroupPresenter.GroupView view,
Group group)
Constructor. |
Method Summary | |
---|---|
protected void |
bind(Group dto)
Extract data from a DTO into the view. |
void |
cancel()
Discard the edits. |
protected void |
render()
Render this presenter. |
protected void |
unbind(Group dto)
Extract data from the view into a DTO. |
protected boolean |
valid()
Check that the data in the view is valid. |
Methods inherited from class ccc.client.core.AbstractPresenter |
---|
clearHandlers, dispose, getModel, getView |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ccc.client.core.Editable |
---|
save |
Methods inherited from interface ccc.client.events.EventHandler |
---|
handle |
Constructor Detail |
---|
public GroupPresenter(GroupPresenter.GroupView view)
view
- The MVP view for this presenter.public GroupPresenter(GroupPresenter.GroupView view, Group group)
view
- The MVP view for this presenter.group
- The group to update.Method Detail |
---|
protected final void render()
protected final boolean valid()
public final void cancel()
cancel
in interface Editable
protected final void bind(Group dto)
dto
- The DTO that will provide the view's data.protected final void unbind(Group dto)
dto
- The DTO that will receive the view's data.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |