Interface ElementView.Presenter<E extends ElementView>

    • Method Detail

      • setCollectionEditorPresenter

        void setCollectionEditorPresenter​(CollectionView.Presenter collectionEditorPresenter)
      • onToggleRowExpansion

        void onToggleRowExpansion​(boolean isShown)
        Parameters:
        isShown - The current status of the ElementView
      • onToggleRowExpansion

        void onToggleRowExpansion​(E itemElementView,
                                  boolean shown)
      • updateCommonToggleStatus

        void updateCommonToggleStatus​(boolean shown)
        Update the toggle status of the main collection container if all the contained ElementView have the same one
        Parameters:
        shown -
      • onEditItem

        void onEditItem​(E itemElementView)
        Start editing properties of the given itemElementView
        Parameters:
        itemElementView -
      • updateItem

        void updateItem​(E itemElementView)
        Update the values of the properties shown in the given itemElementView and stop the editing mode
        Parameters:
        itemElementView -
      • onStopEditingItem

        void onStopEditingItem​(E itemElementView)
        Stop editing properties of the given itemElementView without updating the properties
        Parameters:
        itemElementView -
      • onDeleteItem

        void onDeleteItem​(E itemElementView)
        Delete the item and its properties shown on the given itemElementView
        Parameters:
        itemElementView -
      • remove

        void remove()
        Completely remove the elements of the given Collection
      • toggleEditingStatus

        void toggleEditingStatus​(boolean toDisable)