public class ItemElementPresenter extends ElementPresenter<ItemElementView> implements ItemElementView.Presenter
collectionEditorPresenter, elementViewList, propertyPresenter, viewsProvider| Constructor and Description |
|---|
ItemElementPresenter() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.dom.client.LIElement |
getItemContainer(String itemId,
Map<String,String> propertiesMap) |
List<Map<String,String>> |
getItemsProperties()
Retrieves a
List with the Maps of all the items' properties |
void |
onDeleteItem(ItemElementView itemElementView)
Delete the item and its properties shown on the given
itemElementView |
void |
onEditItem(ItemElementView itemElementView)
Start editing properties of the given
itemElementView |
void |
onStopEditingItem(ItemElementView itemElementView)
Stop editing properties of the given
itemElementView
without updating the properties |
void |
onToggleRowExpansion(ItemElementView itemElementView,
boolean isShown) |
void |
updateItem(ItemElementView itemElementView)
Update the values of the properties shown in the given
itemElementView
and stop the editing mode |
onToggleRowExpansion, remove, setCollectionEditorPresenter, toggleEditingStatus, updateCommonToggleStatusclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonToggleRowExpansion, remove, setCollectionEditorPresenter, toggleEditingStatus, updateCommonToggleStatuspublic com.google.gwt.dom.client.LIElement getItemContainer(String itemId, Map<String,String> propertiesMap)
getItemContainer in interface ItemElementView.PresenteritemId - the id of the current itempropertiesMap - the properties to be put inside the UListElement
representing a single item of the listLIElement representing all the items of the listpublic void onToggleRowExpansion(ItemElementView itemElementView, boolean isShown)
onToggleRowExpansion in interface ElementView.Presenter<ItemElementView>public void onEditItem(ItemElementView itemElementView)
ElementView.PresenteritemElementViewonEditItem in interface ElementView.Presenter<ItemElementView>public void onStopEditingItem(ItemElementView itemElementView)
ElementView.PresenteritemElementView
without updating the propertiesonStopEditingItem in interface ElementView.Presenter<ItemElementView>public void updateItem(ItemElementView itemElementView)
ElementView.PresenteritemElementView
and stop the editing modeupdateItem in interface ElementView.Presenter<ItemElementView>public void onDeleteItem(ItemElementView itemElementView)
ElementView.PresenteritemElementViewonDeleteItem in interface ElementView.Presenter<ItemElementView>public List<Map<String,String>> getItemsProperties()
ItemElementView.PresenterList with the Maps of all the items' propertiesgetItemsProperties in interface ItemElementView.PresenterCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.