@Dependent @Templated public class CaseCommentItemView extends AbstractView<CaseCommentsPresenter> implements com.google.gwt.user.client.TakesValue<CaseCommentSummary>, org.jboss.errai.common.client.api.IsElement
presenter| 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() |
CaseCommentSummary |
getValue() |
void |
onCancelEdtionClick(org.jboss.errai.common.client.dom.Event e) |
void |
onCaseCommentEditEvent(CaseCommentEditEvent event) |
void |
onUpdateCommentClick(org.jboss.errai.common.client.dom.Event e) |
void |
setCommentEditEvent(javax.enterprise.event.Event<CaseCommentEditEvent> commentEditEvent) |
void |
setEditMode(boolean editMode) |
void |
setIconType(String iconTypeClass) |
void |
setLastElementStyle() |
void |
setValue(CaseCommentSummary model) |
protected void |
updateActions(boolean editItem) |
boolean |
validateForm() |
init, tooltip@Inject public void setCommentEditEvent(javax.enterprise.event.Event<CaseCommentEditEvent> commentEditEvent)
public void setIconType(String iconTypeClass)
public org.jboss.errai.common.client.dom.HTMLElement getElement()
getElement in interface org.jboss.errai.common.client.api.IsElementpublic void addAction(CaseCommentsPresenter.CaseCommentAction action)
public void addUpdateCommentAction(CaseCommentsPresenter.CaseCommentAction action)
public void setEditMode(boolean editMode)
public void clearErrorMessages()
public boolean validateForm()
@EventHandler(value="update-comment")
public void onUpdateCommentClick(@ForEvent(value="click")
org.jboss.errai.common.client.dom.Event e)
@EventHandler(value="cancel-edition")
public void onCancelEdtionClick(@ForEvent(value="click")
org.jboss.errai.common.client.dom.Event e)
public CaseCommentSummary getValue()
getValue in interface com.google.gwt.user.client.TakesValue<CaseCommentSummary>public void setValue(CaseCommentSummary model)
setValue in interface com.google.gwt.user.client.TakesValue<CaseCommentSummary>protected void updateActions(boolean editItem)
public void onCaseCommentEditEvent(@Observes
CaseCommentEditEvent event)
public void setLastElementStyle()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.