Class GWTJepEntry

java.lang.Object
com.singularsys.client.GWTJepEntry
All Implemented Interfaces:
EntryPoint

public class GWTJepEntry extends Object implements EntryPoint
Entry point classes allowing the all examples to be accessed from the same library. The JavaScript in the web page must define the pageType variable:
  • Constructor Details

    • GWTJepEntry

      public GWTJepEntry()
  • Method Details

    • onModuleLoad

      public void onModuleLoad()
      This is the entry point method, will construct the appropriate class, depending on the window.PageType variable, and calls it onModuleLoad() method.
      Specified by:
      onModuleLoad in interface EntryPoint
    • getPageType

      public String getPageType()
      Reads the window.PageType variable from JavaScript
    • consoleLog

      public static void consoleLog(String msg)
      Native method to write to the JavaScript console
      Parameters:
      msg -