Class JadiceViewer
java.lang.Object
com.levigo.jadice.web.demo.enterprise.client.JadiceViewer
- All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.gwt.user.client.ui.Widget
asWidget()
protected Context
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.createDocumentViewer
(boolean autoDetectResolution, Context context) boolean
boolean
void
void
-
Constructor Details
-
JadiceViewer
public JadiceViewer(boolean autoDetectResolution)
-
-
Method Details
-
asWidget
public com.google.gwt.user.client.ui.Widget asWidget()- Specified by:
asWidget
in interfacecom.google.gwt.user.client.ui.IsWidget
-
createDocumentViewer
-
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
-
getDocumentViewer
-