public enum PdfjsViewerDisplayMode extends Enum<PdfjsViewerDisplayMode>
PdfjsViewerImpl
.Enum Constant and Description |
---|
EMBED_MP4
Display document as embed-tag with video/mp4 mime type.
|
EMBED_PDF
Display document as embed-tag with application/pdf mime type.
|
IMAGE
Display document as image-tag.
|
LINK
Display a download-link.
|
PDFJS
Display document with PDFJS.
|
PLACEHOLDER
Display a placeholder.
|
Modifier and Type | Method and Description |
---|---|
static PdfjsViewerDisplayMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PdfjsViewerDisplayMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PdfjsViewerDisplayMode PDFJS
public static final PdfjsViewerDisplayMode IMAGE
public static final PdfjsViewerDisplayMode EMBED_MP4
public static final PdfjsViewerDisplayMode EMBED_PDF
public static final PdfjsViewerDisplayMode LINK
public static final PdfjsViewerDisplayMode PLACEHOLDER
public static PdfjsViewerDisplayMode[] values()
for (PdfjsViewerDisplayMode c : PdfjsViewerDisplayMode.values()) System.out.println(c);
public static PdfjsViewerDisplayMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.