Class CmsPopup.HistoryHandler

  • All Implemented Interfaces:
    com.google.gwt.event.logical.shared.ValueChangeHandler<java.lang.String>, com.google.gwt.event.shared.EventHandler
    Enclosing class:
    CmsPopup

    public static class CmsPopup.HistoryHandler
    extends java.lang.Object
    implements com.google.gwt.event.logical.shared.ValueChangeHandler<java.lang.String>
    Handles fragment changes by closing the active popups.

    Only used for GWT dialogs opened from Vaadin.

    • Constructor Summary

      Constructors 
      Constructor Description
      HistoryHandler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addPopup​(CmsPopup popup)
      Adds a popup to the list of active popups.
      void onValueChange​(com.google.gwt.event.logical.shared.ValueChangeEvent<java.lang.String> event)  
      void removePopup​(CmsPopup popup)
      Removes a popup from the list of active popups.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • addPopup

        public void addPopup​(CmsPopup popup)
        Adds a popup to the list of active popups.

        Parameters:
        popup - the popup
      • onValueChange

        public void onValueChange​(com.google.gwt.event.logical.shared.ValueChangeEvent<java.lang.String> event)
        Specified by:
        onValueChange in interface com.google.gwt.event.logical.shared.ValueChangeHandler<java.lang.String>
        See Also:
        ValueChangeHandler.onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent)
      • removePopup

        public void removePopup​(CmsPopup popup)
        Removes a popup from the list of active popups.

        Parameters:
        popup - the popup to remove