public static interface ElementView.Presenter<E extends ElementView>
Modifier and Type | Method and Description |
---|---|
void |
onDeleteItem(E itemElementView)
Delete the item and its properties shown on the given
itemElementView |
void |
onEditItem(E itemElementView)
Start editing properties of the given
itemElementView |
void |
onStopEditingItem(E itemElementView)
Stop editing properties of the given
itemElementView
without updating the properties |
void |
onToggleRowExpansion(boolean isShown) |
void |
onToggleRowExpansion(E itemElementView,
boolean shown) |
void |
remove()
Completely remove the elements of the given
Collection |
void |
setCollectionEditorPresenter(CollectionView.Presenter collectionEditorPresenter) |
void |
toggleEditingStatus(boolean toDisable) |
void |
updateCommonToggleStatus(boolean shown)
Update the toggle status of the main collection container if all the contained
ElementView
have the same one |
void |
updateItem(E itemElementView)
Update the values of the properties shown in the given
itemElementView
and stop the editing mode |
void setCollectionEditorPresenter(CollectionView.Presenter collectionEditorPresenter)
void onToggleRowExpansion(boolean isShown)
isShown
- The current status of the ElementView
void onToggleRowExpansion(E itemElementView, boolean shown)
void updateCommonToggleStatus(boolean shown)
ElementView
have the same oneshown
- void onEditItem(E itemElementView)
itemElementView
itemElementView
- void updateItem(E itemElementView)
itemElementView
and stop the editing modeitemElementView
- void onStopEditingItem(E itemElementView)
itemElementView
without updating the propertiesitemElementView
- void onDeleteItem(E itemElementView)
itemElementView
itemElementView
- void remove()
Collection
void toggleEditingStatus(boolean toDisable)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.