Class JadiceViewer

java.lang.Object
com.levigo.jadice.web.demo.enterprise.client.JadiceViewer
All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget

public class JadiceViewer extends Object implements com.google.gwt.user.client.ui.IsWidget
  • Constructor Details

    • JadiceViewer

      public JadiceViewer(boolean autoDetectResolution)
  • Method Details

    • asWidget

      public com.google.gwt.user.client.ui.Widget asWidget()
      Specified by:
      asWidget in interface com.google.gwt.user.client.ui.IsWidget
    • createDocumentViewer

      public JadiceDocumentViewer createDocumentViewer(boolean autoDetectResolution, Context context)
    • createContext

      protected Context createContext()
      Initializes and fills the context with the embedded viewer (to perform operations regarding the display of the document) and a reference to the context itself. Furthermore it initializes a mechanism to update the context when the viewer changes its state.

      This method will be called only once at the creation time of this object.

      Returns:
      the new created Context
    • setMediaViewerVisible

      public void setMediaViewerVisible()
    • setDocumentViewVisible

      public void setDocumentViewVisible()
    • isMediaViewerVisible

      public boolean isMediaViewerVisible()
    • isDocumentViewVisible

      public boolean isDocumentViewVisible()
    • getMediaViewer

      public JadiceMediaViewer getMediaViewer()
    • getDocumentViewer

      public JadiceDocumentViewer getDocumentViewer()