Class EnterpriseFileHandler
java.lang.Object
com.levigo.jadice.web.demo.common.client.util.OpenFileHandler
com.levigo.jadice.web.demo.enterprise.client.openfile.EnterpriseFileHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class com.levigo.jadice.web.demo.common.client.util.OpenFileHandler
OpenFileHandler.DefaultOpenFileHandler, OpenFileHandler.UploadErroredHandler, OpenFileHandler.UploadFinishedHandler -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonFileOpen(PageView pageView, String filename, String data, String mimeType, long size) Called when a file should be opened in the ViewerMethods inherited from class com.levigo.jadice.web.demo.common.client.util.OpenFileHandler
createSource, getHandler, setHandler, upload
-
Constructor Details
-
EnterpriseFileHandler
public EnterpriseFileHandler()
-
-
Method Details
-
onFileOpen
Description copied from class:OpenFileHandlerCalled when a file should be opened in the Viewer- Specified by:
onFileOpenin classOpenFileHandler- Parameters:
pageView- the PageView the File should show infilename- the name of the File (Filesystem of the User)data- the file encoded as DataUrlmimeType- the MIME/content type of the filesize- the size of the file
-