@Dependent @Templated public class CaseCommentsViewImpl extends AbstractView<CaseCommentsPresenter> implements CaseCommentsPresenter.CaseCommentsView
presenter
Constructor and Description |
---|
CaseCommentsViewImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addCommentButton(org.jboss.errai.common.client.dom.Event e) |
void |
clearCommentInputForm() |
void |
clearErrorMessages() |
org.jboss.errai.common.client.dom.HTMLElement |
getElement() |
void |
hideLoadButton() |
void |
init() |
void |
init(CaseCommentsPresenter 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 |
setCaseCommentList(List<CaseCommentSummary> caseCommentList) |
tooltip
@PostConstruct public void init()
public org.jboss.errai.common.client.dom.HTMLElement getElement()
getElement
in interface org.jboss.errai.common.client.api.IsElement
public void init(CaseCommentsPresenter presenter)
init
in interface org.uberfire.client.mvp.HasPresenter<CaseCommentsPresenter>
init
in class AbstractView<CaseCommentsPresenter>
public void clearCommentInputForm()
clearCommentInputForm
in interface CaseCommentsPresenter.CaseCommentsView
public void clearErrorMessages()
public void resetPagination()
resetPagination
in interface CaseCommentsPresenter.CaseCommentsView
public void setCaseCommentList(List<CaseCommentSummary> caseCommentList)
setCaseCommentList
in interface CaseCommentsPresenter.CaseCommentsView
public void hideLoadButton()
hideLoadButton
in interface CaseCommentsPresenter.CaseCommentsView
@EventHandler(value="addCommentButton") public void addCommentButton(@ForEvent(value="click") org.jboss.errai.common.client.dom.Event e)
@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.