Class PageViewUtils


  • public class PageViewUtils
    extends Object
    Utility Methods for the PageView
    • Constructor Detail

      • PageViewUtils

        public PageViewUtils()
    • Method Detail

      • register

        public static void register​(PageView pageView)
        Make sure, the PageView is in the Context and contextChanged is fired when anything changed in the PageView or the related Document. The PageView don't have to be attached at this time. And will be added to the current Context when the PageView is attached.
        Parameters:
        pageView - the PageView to register
      • register

        public static void register​(PageView pageView,
                                    Context ctx)
        Register the PageView to the Context and fires contextChanged when the PageView or the related document has changed
        Parameters:
        pageView - The PageView to add
        ctx - the Context to add it to