public class ImageDocumentEditor extends AbstractDocumentEditor
| 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 |
getLinkAttributes(java.lang.String lang,
FileDocument doc,
Member mbr)
Returns HTML attributes to add to the link.
|
java.lang.String |
getLinkCss()
Returns CSS classes to add to the link.
|
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.
|
getKey, setKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLinkAttributes, getMenuLabelpublic boolean accept(FileDocument doc, Member mbr)
DocumentEditordoc - the documentmbr - the memberpublic java.lang.String getUrl(FileDocument doc, Member mbr, java.lang.String baseUrl)
DocumentEditordoc - the documentmbr - the memberbaseUrl - the base URL of the sitepublic java.lang.String getName(java.lang.String lang)
DocumentEditorlang - the languagepublic java.lang.String getIcon(FileDocument doc, Member mbr)
DocumentEditordoc - the documentmbr - the documentpublic java.lang.String getButtonLabel(java.lang.String lang,
FileDocument doc,
Member mbr)
DocumentEditorlang - the languagedoc - the documentmbr - the documentpublic java.lang.String getLinkCss()
DocumentEditorpublic java.lang.String getLinkAttributes(java.lang.String lang,
FileDocument doc,
Member mbr)
DocumentEditorlang - the languagedoc - the documentmbr - the documentCopyright © 2001-2022 Jalios SA. All Rights Reserved.