public class PDFViewer extends AbstractFileForm
| Modifier and Type | Class and Description |
|---|---|
static class |
PDFViewer.GotoPageActionListener |
static class |
PDFViewer.NextPageActionListener |
static class |
PDFViewer.PreviousPageActionListener |
static class |
PDFViewer.RotateLeftPageActionListener |
static class |
PDFViewer.RotateRightPageActionListener |
static class |
PDFViewer.ScalePageActionListener |
static class |
PDFViewer.ZoomInPageActionListener |
static class |
PDFViewer.ZoomOutPageActionListener |
drive, fileLOG| Constructor and Description |
|---|
PDFViewer() |
| Modifier and Type | Method and Description |
|---|---|
float |
getCurrentRotation() |
float |
getCurrentScale() |
Map<String,String> |
getFileMetadata() |
int |
getNumberOfPages() |
String |
getPageImageLink() |
int |
getPageNumber() |
String |
getPdfLink() |
void |
initFile(org.exoplatform.clouddrive.CloudDrive drive,
org.exoplatform.clouddrive.CloudFile file)
Initialize UI component to represent the given cloud file.
|
boolean |
isViewable() |
protected String |
localeFile() |
void |
setPageNumber(int pageNum) |
void |
setRotation(float rotation) |
void |
setScale(float scale) |
getDrive, getFile, getResourceBundle, processRenderactivate, deActivate, initContextaddUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, getSubmitAction, getUICheckBoxInput, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, urladdChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesbroadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, urlpublic boolean isViewable()
isViewable in class AbstractFileFormtrue if file can be represented as Web document.protected String localeFile()
localeFile in class AbstractFileFormpublic void initFile(org.exoplatform.clouddrive.CloudDrive drive,
org.exoplatform.clouddrive.CloudFile file)
initFile in interface CloudFileViewerinitFile in class AbstractFileFormdrive - CloudDrivefile - CloudFilepublic int getNumberOfPages()
public String getPageImageLink()
public String getPdfLink()
public float getCurrentRotation()
public void setRotation(float rotation)
public float getCurrentScale()
public void setScale(float scale)
public int getPageNumber()
public void setPageNumber(int pageNum)
Copyright © 2003–2016 eXo Platform SAS. All rights reserved.