|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.client.core.AbstractPresenter<ICommentView,Comment>
ccc.client.presenters.UpdateCommentPresenter
public class UpdateCommentPresenter
MVP presenter for updating comments.
Constructor Summary | |
---|---|
UpdateCommentPresenter(ICommentView view,
Comment model)
Constructor. |
Method Summary | |
---|---|
void |
cancel()
Discard the edits. |
void |
handle(Event<CommandType> event)
Handle an event. |
void |
save()
Confirm the edits. |
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 |
Constructor Detail |
---|
public UpdateCommentPresenter(ICommentView view, Comment model)
view
- View implementation.model
- Model implementation.Method Detail |
---|
public void save()
save
in interface Editable
public void handle(Event<CommandType> event)
handle
in interface EventHandler<CommandType>
event
- The event to handle.public void cancel()
cancel
in interface Editable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |