public class ImageDocumentEditor extends java.lang.Object implements DocumentEditor
| Constructor and Description |
|---|
ImageDocumentEditor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(FileDocument doc,
Member mbr)
Returns true if the editor accepts the member to edit the document.
|
java.lang.String |
getButtonLabel(java.lang.String lang,
FileDocument doc,
Member mbr)
Return the localized label used for the button (if only this editor is available).
|
java.lang.String |
getIcon(FileDocument doc,
Member mbr)
Returns the icon of the editor.
|
java.lang.String |
getName(java.lang.String lang)
Returns the localized name of the editor.
|
java.lang.String |
getUrl(FileDocument doc,
Member mbr,
java.lang.String baseUrl)
Returns the URL to edit the document.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLinkAttributes, getLinkCss, getMenuLabelpublic boolean accept(FileDocument doc, Member mbr)
DocumentEditoraccept in interface DocumentEditordoc - the documentmbr - the memberpublic java.lang.String getUrl(FileDocument doc, Member mbr, java.lang.String baseUrl)
DocumentEditorgetUrl in interface DocumentEditordoc - the documentmbr - the memberbaseUrl - the base URL of the sitepublic java.lang.String getName(java.lang.String lang)
DocumentEditorgetName in interface DocumentEditorlang - the languagepublic java.lang.String getIcon(FileDocument doc, Member mbr)
DocumentEditorgetIcon in interface DocumentEditordoc - the documentmbr - the documentpublic java.lang.String getButtonLabel(java.lang.String lang,
FileDocument doc,
Member mbr)
DocumentEditorgetButtonLabel in interface DocumentEditorlang - the languagedoc - the documentmbr - the documentCopyright © 2001-2021 Jalios SA. All Rights Reserved.