public interface CmsImageManager
| Modifier and Type | Method and Description |
|---|---|
Binary |
getImageBinary(Node node) |
org.eclipse.swt.graphics.Point |
getImageSize(Node node) |
java.lang.String |
getImageTag(Node node)
The related <img> tag, with src, width and height set.
|
java.lang.StringBuilder |
getImageTagBuilder(Node node,
org.eclipse.swt.graphics.Point size)
The related <img> tag, with url, width and height set.
|
java.lang.String |
getImageUrl(Node node)
Returns the remotely accessible URL of the image (registering it if
needed) @return null if not available
|
org.eclipse.swt.graphics.Image |
getSwtImage(Node node) |
java.lang.Boolean |
load(Node node,
org.eclipse.swt.widgets.Control control,
org.eclipse.swt.graphics.Point size)
Load image in control
|
java.lang.String |
uploadImage(Node parentNode,
java.lang.String fileName,
java.io.InputStream in) |
java.lang.Boolean load(Node node, org.eclipse.swt.widgets.Control control, org.eclipse.swt.graphics.Point size) throws RepositoryException
RepositoryExceptionorg.eclipse.swt.graphics.Point getImageSize(Node node) throws RepositoryException
RepositoryExceptionjava.lang.String getImageTag(Node node) throws RepositoryException
RepositoryExceptionjava.lang.StringBuilder getImageTagBuilder(Node node, org.eclipse.swt.graphics.Point size) throws RepositoryException
RepositoryExceptionjava.lang.String getImageUrl(Node node) throws RepositoryException
RepositoryExceptionBinary getImageBinary(Node node) throws RepositoryException
RepositoryExceptionorg.eclipse.swt.graphics.Image getSwtImage(Node node) throws RepositoryException
RepositoryExceptionjava.lang.String uploadImage(Node parentNode, java.lang.String fileName, java.io.InputStream in) throws RepositoryException
RepositoryExceptionCopyright © 2007–2020. All rights reserved.