@Dependent @Templated public class CaseCommentItemView extends Object implements org.jboss.errai.common.client.api.IsElement
| Constructor and Description |
|---|
CaseCommentItemView() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(CaseCommentsPresenter.CaseCommentAction action) |
void |
addUpdateCommentAction(CaseCommentsPresenter.CaseCommentAction action) |
void |
clearErrorMessages() |
org.jboss.errai.common.client.dom.HTMLElement |
getElement() |
String |
getUpdatedComment() |
void |
setCommentAddedAt(String commentAddedAt) |
void |
setCommentAuthor(String commentAutor) |
void |
setCommentText(String commentText) |
void |
setEditMode(boolean editMode) |
void |
updateCommentPressingEnter(org.jboss.errai.common.client.dom.KeyboardEvent e) |
boolean |
validateForm() |
public org.jboss.errai.common.client.dom.HTMLElement getElement()
getElement in interface org.jboss.errai.common.client.api.IsElementpublic void setCommentAuthor(String commentAutor)
public void setCommentText(String commentText)
public void setCommentAddedAt(String commentAddedAt)
public void addAction(CaseCommentsPresenter.CaseCommentAction action)
public void addUpdateCommentAction(CaseCommentsPresenter.CaseCommentAction action)
public String getUpdatedComment()
public void setEditMode(boolean editMode)
public void clearErrorMessages()
public boolean validateForm()
@EventHandler(value="comment-update-input")
public void updateCommentPressingEnter(@ForEvent(value="keyup")
org.jboss.errai.common.client.dom.KeyboardEvent e)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.