@Dependent
@Templated(value="TaskCommentsViewImpl.html",
stylesheet="TaskCommentsViewImpl.css")
public class TaskCommentsViewImpl
extends AbstractView<TaskCommentsPresenter>
implements TaskCommentsPresenter.TaskCommentsView
| Modifier and Type | Field and Description |
|---|---|
protected TaskCommentsPresenter |
presenter |
| Constructor and Description |
|---|
TaskCommentsViewImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCommentButton(org.jboss.errai.common.client.dom.Event e) |
void |
clearCommentInputForm() |
void |
clearErrorMessages() |
void |
disableNewComments() |
org.jboss.errai.common.client.dom.HTMLElement |
getElement() |
void |
hideLoadButton() |
void |
init() |
void |
init(TaskCommentsPresenter presenter) |
void |
loadMoreComments(org.jboss.errai.common.client.dom.MouseEvent event) |
void |
onSortAlphaAsc(org.jboss.errai.common.client.dom.MouseEvent event) |
void |
onSortAlphaDesc(org.jboss.errai.common.client.dom.MouseEvent event) |
void |
resetPagination() |
void |
setCommentList(List<CommentSummary> commentSummaries) |
void |
showCommentHeader() |
void |
showLoadButton() |
protected void |
submitCommentAddition() |
tooltipprotected TaskCommentsPresenter presenter
@PostConstruct public void init()
public org.jboss.errai.common.client.dom.HTMLElement getElement()
getElement in interface org.jboss.errai.common.client.api.IsElementpublic void init(TaskCommentsPresenter presenter)
init in interface org.uberfire.client.mvp.HasPresenter<TaskCommentsPresenter>init in class AbstractView<TaskCommentsPresenter>public void clearCommentInputForm()
clearCommentInputForm in interface TaskCommentsPresenter.TaskCommentsViewpublic void disableNewComments()
disableNewComments in interface TaskCommentsPresenter.TaskCommentsViewpublic void clearErrorMessages()
public void resetPagination()
resetPagination in interface TaskCommentsPresenter.TaskCommentsViewpublic void setCommentList(List<CommentSummary> commentSummaries)
setCommentList in interface TaskCommentsPresenter.TaskCommentsViewpublic void hideLoadButton()
hideLoadButton in interface TaskCommentsPresenter.TaskCommentsViewpublic void showLoadButton()
showLoadButton in interface TaskCommentsPresenter.TaskCommentsViewpublic void showCommentHeader()
showCommentHeader in interface TaskCommentsPresenter.TaskCommentsView@EventHandler(value="addCommentButton")
public void addCommentButton(@ForEvent(value="click")
org.jboss.errai.common.client.dom.Event e)
protected void submitCommentAddition()
@EventHandler(value="sort-alpha-asc")
public void onSortAlphaAsc(@ForEvent(value="click")
org.jboss.errai.common.client.dom.MouseEvent event)
@EventHandler(value="sort-alpha-desc")
public void onSortAlphaDesc(@ForEvent(value="click")
org.jboss.errai.common.client.dom.MouseEvent event)
@EventHandler(value="load-more-comments")
public void loadMoreComments(@ForEvent(value="click")
org.jboss.errai.common.client.dom.MouseEvent event)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.