Class PageViewUtils

java.lang.Object
com.levigo.jadice.web.client.util.PageViewUtils

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PageViewUtils

      public PageViewUtils()
  • Method Details

    • 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