Class OpenFileHandler.DefaultOpenFileHandler

java.lang.Object
com.levigo.jadice.web.demo.common.client.util.OpenFileHandler
com.levigo.jadice.web.demo.common.client.util.OpenFileHandler.DefaultOpenFileHandler
Enclosing class:
OpenFileHandler

public static class OpenFileHandler.DefaultOpenFileHandler extends OpenFileHandler
  • Constructor Details

    • DefaultOpenFileHandler

      public DefaultOpenFileHandler()
  • Method Details

    • onFileOpen

      public void onFileOpen(PageView pageView, String filename, String data, String mimeType, long size)
      Description copied from class: OpenFileHandler
      Called when a file should be opened in the Viewer
      Specified by:
      onFileOpen in class OpenFileHandler
      Parameters:
      pageView - the PageView the File should show in
      filename - the name of the File (Filesystem of the User)
      data - the file encoded as DataUrl
      mimeType - the MIME/content type of the file
      size - the size of the file