@Dependent @Templated public class CaseCommentsViewImpl extends Object implements CaseCommentsPresenter.CaseCommentsView
| Constructor and Description |
|---|
CaseCommentsViewImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addComment(boolean editing,
String editActionLabel,
String commentId,
String author,
String commentText,
Date commentAddedAt,
CaseCommentsPresenter.CaseCommentAction... actions) |
void |
addCommentButton(org.jboss.errai.common.client.dom.Event e) |
void |
addCommentPressingEnter(org.jboss.errai.common.client.dom.KeyboardEvent e) |
void |
clearCommentInputForm() |
void |
clearErrorMessages() |
org.jboss.errai.common.client.dom.HTMLElement |
getElement() |
void |
init(CaseCommentsPresenter presenter) |
void |
removeAllComments() |
public void init(CaseCommentsPresenter presenter)
init in interface org.uberfire.client.mvp.UberElement<CaseCommentsPresenter>public void removeAllComments()
removeAllComments in interface CaseCommentsPresenter.CaseCommentsViewpublic void clearCommentInputForm()
clearCommentInputForm in interface CaseCommentsPresenter.CaseCommentsViewpublic void clearErrorMessages()
public void addComment(boolean editing,
String editActionLabel,
String commentId,
String author,
String commentText,
Date commentAddedAt,
CaseCommentsPresenter.CaseCommentAction... actions)
addComment in interface CaseCommentsPresenter.CaseCommentsView@EventHandler(value="addCommentButton")
public void addCommentButton(@ForEvent(value="click")
org.jboss.errai.common.client.dom.Event e)
@EventHandler(value="comment-creation-input")
public void addCommentPressingEnter(@ForEvent(value="keyup")
org.jboss.errai.common.client.dom.KeyboardEvent e)
public org.jboss.errai.common.client.dom.HTMLElement getElement()
getElement in interface org.jboss.errai.common.client.api.IsElementCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.