Interface ModalWindowStack

  • All Known Implementing Classes:
    DefaultModalWindowStack

    public interface ModalWindowStack
    Provides z-index for modal windows to preserve theirs order after refresh.
    • Method Detail

      • getModalWindowZIndex

        int getModalWindowZIndex​(WidgetInstance widgetInstance)
        Provides z-index for given widget instance. If widget has already z-index assigned the same will be returned.
        Parameters:
        widgetInstance - widget instance.
        Returns:
        z-index which should be used to show window.
      • onWindowClosed

        void onWindowClosed​(WidgetInstance widgetInstance)
        Removes widget's z-index from stack and it's model.
        Parameters:
        widgetInstance - widget instance.
      • resetModalWindowStack

        void resetModalWindowStack()
        Resets z-index stack