@Dependent public class AnnotationListItem extends Object implements AnnotationListItemView.Presenter, com.google.gwt.user.client.ui.IsWidget
| Constructor and Description |
|---|
AnnotationListItem() |
AnnotationListItem(AnnotationListItemView view,
javax.enterprise.inject.Instance<AnnotationValuePairListItem> itemInstance) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.user.client.ui.Widget |
asWidget() |
protected AnnotationValuePairListItem |
createListItem() |
protected void |
destroy() |
protected void |
dispose(AnnotationValuePairListItem listItem) |
boolean |
isCollapsed() |
void |
loadAnnotation(Annotation annotation,
AnnotationSource annotationSource) |
void |
onCollapseChange() |
void |
onDelete() |
void |
setClearValuePairHandler(AdvancedAnnotationListEditorView.ClearValuePairHandler clearValuePairHandler) |
void |
setCollapseChangeHandler(AdvancedAnnotationListEditorView.CollapseChangeHandler collapseChangeHandler) |
void |
setCollapsed(boolean collapsed) |
void |
setDeleteAnnotationHandler(AdvancedAnnotationListEditorView.DeleteAnnotationHandler deleteAnnotationHandler) |
void |
setEditValuePairHandler(AdvancedAnnotationListEditorView.EditValuePairHandler editValuePairHandler) |
void |
setReadonly(boolean readonly) |
public AnnotationListItem()
@Inject public AnnotationListItem(AnnotationListItemView view, javax.enterprise.inject.Instance<AnnotationValuePairListItem> itemInstance)
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget in interface com.google.gwt.user.client.ui.IsWidgetpublic void loadAnnotation(Annotation annotation, AnnotationSource annotationSource)
public void setDeleteAnnotationHandler(AdvancedAnnotationListEditorView.DeleteAnnotationHandler deleteAnnotationHandler)
public void setClearValuePairHandler(AdvancedAnnotationListEditorView.ClearValuePairHandler clearValuePairHandler)
public void setEditValuePairHandler(AdvancedAnnotationListEditorView.EditValuePairHandler editValuePairHandler)
public void setCollapseChangeHandler(AdvancedAnnotationListEditorView.CollapseChangeHandler collapseChangeHandler)
public boolean isCollapsed()
public void setCollapsed(boolean collapsed)
public void setReadonly(boolean readonly)
public void onDelete()
onDelete in interface AnnotationListItemView.Presenterpublic void onCollapseChange()
onCollapseChange in interface AnnotationListItemView.Presenter@PreDestroy protected void destroy()
protected AnnotationValuePairListItem createListItem()
protected void dispose(AnnotationValuePairListItem listItem)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.