public class GlobalImage extends Image implements IImageFilter
| Modifier and Type | Field and Description |
|---|---|
static String |
IMAGE_FILTER |
protected static Logger |
logger
create a static logger.
|
static String |
RAW_FILTER |
static String |
TYPE |
config, STYLE_CENTERDEFAULT_ENCODING, DESCRIPTION_KEY, DIR_KEY, EMBED_CODE_KEY, ENCODING_KEY, FILE_NAME_KEY, LABEL_KEY, properties, REVERSE_LINK_KEYCACHE_KEY_SUFFIX_PARAM_NAME, COMPONENT_KEY, EDIT_CLASS, FORCE_COMPONENT_ID, HIDDEN, I18N_FILE, NOT_EDIT_PREVIEW_PARAM_NAME, SCROLL_TO_COMP_ID_ATTRIBUTE_NAME, TIME_CACHE_NAME, VALUE_SEPARATORNO_LINKCOLORED_WRAPPER_CLASS, COMP_ID_REQUEST_PARAM, COMPLEXITY_ADMIN, COMPLEXITY_EASY, COMPLEXITY_STANDARD, CONTAINER_COLOR, DEFAULT_COLOR, DYN_COMP_COLOR, ECOM_COLOR, EDIT_ACTION_CSS_CLASS, GRAPHIC_COLOR, HIGH_LABEL_LEVEL, ID_SEPARATOR, LINK_COLOR, LOW_LABEL_LEVEL, META_COLOR, MIDDLE_LABEL_LEVEL, SEARCH_LEVEL_HIGH, SEARCH_LEVEL_LOW, SEARCH_LEVEL_MIDDLE, SEARCH_LEVEL_NONE, TEXT_COLOR, VIEW_DEFINITION_REQUEST_ID, WEB2_COLOR| Constructor and Description |
|---|
GlobalImage() |
getCssClass, getCSSType, getDefaultFile, getDescription, getDisplayAllLabel, getFile, getFileList, getFiles, getHelpURI, getImageDescription, getLanguage, getMainFolder, getPopularity, getPriority, getRelativeFileDirectory, getStaticLabel, getStyleLabelList, getStyleList, getStyleTitle, getTags, init, isAllowRAW, isImageValid, isShared, isUploadOnDropcontains, equals, expandZip, getAllResources, getAllResourcesLinks, getContentAsText, getDecoImageFileXHTMLInputName, getDecoImageXHTMLInputName, getDecorationFilter, getDeleteTitle, getDescription, getDescriptionName, getDirInputName, getDirLabelTitle, getDirList, getDirSelected, getEmbedCode, getEmbedCodeName, getEncoding, getEncodingXHTMLInputName, getFileFilter, getFileList, getFileName, getFileUploadActionTitle, getFileURL, getFileXHTMLInputName, getFirstTextInputName, getImageChangeTitle, getImageDecorativeTitle, getImageLabelTitle, getImageSelectTitle, getImageUploadTitle, getJSOnChange, getLabel, getLabelXHTMLInputName, getLatestValidDate, getMaxPreviewImages, getMetaCode, getNewDirInputName, getNewDirLabelTitle, getPreviewCode, getPreviewCode, getPreviewCode, getPreviewZoneId, getResourceURL, getResourceURL, getReverseLinkeLabelTitle, getReverseLinkInputName, getSecondTextInputName, getSelectXHTMLInputName, getStaticInfo, getTextAutoInputName, getWordCount, isDisplayable, isDisplayMeta, isFromShared, isImported, isInsertable, isLinkToStatic, isMirroredByDefault, isOnlyFirstOccurrence, isReverseLink, isWithDescription, needEncoding, performLoadImages, performUpload, reloadProperties, renameResource, saveItem, setDirSelected, setEmbedCode, setFileName, setLabel, setLatestValidDate, setValue, storeProperties, transflateFromapplyReplacement, cleanValue, clearReplacement, clone, compareTo, contructViewStyle, countLine, delete, deleteMySelf, equals, executeCurrentRenderer, executeJSP, executeRenderer, executeRenderer, extractFieldsFromRenderer, getAjaxId, getArea, getAuthors, getBackgroundColor, getBaseHelpURL, getClassName, getComplexityLevel, getComponentBean, getComponentCSS, getComponentCssClass, getComponentId, getComponentLabel, getComponentPath, getConfig, getConfigMessage, getContainerPage, getContentAsMap, getContentCache, getContentMessage, getContentName, getContentTimeCache, getCookiesDisplayStatus, getCreationDate, getCSSStyle, getCurrentPage, getCurrentRenderer, getDebugHeader, getDefaultHelpURI, getDefaultRenderer, getDeleteDate, getDescription, getDisplayAsInputName, getDisplayMessage, getEditText, getEmptyCode, getEmptyXHTMLCode, getErrorMessage, getExternalResources, getFirstPrefix, getForcedId, getForcedPrefixViewXHTMLCode, getForcedSuffixViewXHTMLCode, getFormName, getHeaderContent, getHelpType, getHelpURL, getI18nEditableKeys, getId, getImportFolderPath, getImportFolderPath, getInlineStyle, getInputName, getInputNameRenderer, getInputNameRendererTitle, getItalicAndStrongLanguageMarkerList, getJSOnSubmit, getKey, getLabelLevel, getLastSufix, getLayout, getListClass, getListGroup, getListItemTag, getListTag, getLock, getMarkerList, getMirrorWrapper, getModificationDate, getNextComponent, getPage, getPageDescription, getPrefixViewXHTMLCode, getPreviewAttributes, getPreviewCssClass, getPreviewCssId, getPreviousComponent, getQuotationLanguageMarkerList, getRemplacement, getRenderer, getRendererTitle, getRenderes, getRequestComponent, getSearchLevel, getSelectRendererXHTML, getSpecialInputTag, getSpecialPreviewCssClass, getSpecialPreviewCssId, getStyle, getStyleLabel, getSuffixViewXHTMLCode, getTag, getTextColor, getTextForSearch, getTextLabel, getTextTitle, getTitleLevel, getTypeInputName, getValue, getValue, getVersion, getViewData, getViewDataFile, getViewID, getViewText, getXHTMLCode, getXHTMLConfig, haveRight, includeComponentJSP, includePage, insert, isAjaxWrapper, isAutoDeletable, isAutoRenderer, isBackgroundColored, isCanAddClass, isColored, isConfig, isContentCachableByQuery, isContentTimeCachable, isDefaultValue, isDispayEmptyXHTMLCode, isDisplayHidden, isEditOnCreate, isFirstElementOfRepeatSequence, isFirstRepeated, isFreeInputLayout, isHelpURL, isHiddable, isHidden, isHiddenInMode, isInline, isList, isMetaTitle, isMirrorWrapped, isModify, isNeedDelete, isNeedRefresh, isNeedRenderer, isNew, isNextSame, isNextSame, isNolink, isNoLinkable, isPreviousSame, isPreviousSame, isRealContent, isRepeat, isRepeatable, isRestMatch, isReversedLink, isUnique, isValueProperties, isValueTranslatable, isViewDataFile, isVisible, isVisible, isVisibleFromCookies, isWrapped, isXML, loadViewData, main, markAsNew, newInstance, next, onStyleChange, performConfig, performUpdate, previous, processView, renderViewXHTMLCode, replaceAllInContent, replaceInContent, resetContentCache, resetViewData, setBackgroundColor, setComponentBean, setContainerPage, setContentCache, setContentTimeCache, setDisplayHidden, setForcedId, setHidden, setHiddenInMode, setList, setMirrorWrapped, setModify, setNeedRefresh, setNextComponent, setNolink, setPage, setPreviousComponent, setRepeat, setStyle, setTextColor, setValid, stored, storeViewData, stringToReader, stringToReader, stringToStream, textToXHTMLfinalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdgetResourceURLgetPreviewCodeprotected static Logger logger
public static final String IMAGE_FILTER
public static final String TYPE
public static final String RAW_FILTER
protected boolean canUpload(ContentContext ctx)
canUpload in class AbstractFileComponentpublic String getType()
IContentVisualComponentgetType in interface IContentVisualComponentgetType in class Imagepublic String createFileURL(ContentContext ctx, String url)
createFileURL in class Imagepublic String getCSSClassName(ContentContext ctx)
getCSSClassName in class Imagepublic String getSpecificClass(ContentContext ctx)
AbstractVisualComponentgetSpecificClass in class AbstractVisualComponentprotected boolean isImageFilter()
protected boolean isDecorationImage()
protected Map<String,String> getTranslatableResources(ContentContext ctx) throws Exception
Exceptionpublic String getTranslatedID()
public void setTranslatedID(String id)
public boolean isAskWidth(ContentContext ctx)
isAskWidth in class AbstractVisualComponentpublic String getWidth()
getWidth in class AbstractVisualComponentpublic void setWidth(String width)
setWidth in class AbstractVisualComponentprotected String getDefaultFilter()
public String getAlt(ContentContext ctx)
public String getPreviewURL(ContentContext ctx, String filter)
getPreviewURL in interface IStaticResourcegetPreviewURL in class Imagepublic String getImageHash(ContentContextBean ctx)
getImageHash in interface IImageFilterprotected String getImageURL(ContentContext ctx) throws Exception
Exceptionprotected boolean isEditImage(ContentContext ctx)
public void prepareView(ContentContext ctx) throws Exception
AbstractVisualComponentprepareView in class ImageExceptionprotected String getNewLinkParamName()
protected boolean isLabel()
protected String getEditXHTMLCode(ContentContext ctx) throws Exception
getEditXHTMLCode in class AbstractFileComponentExceptionprotected boolean isMutlimediaResource()
protected boolean isLink()
protected boolean isEmbedCode()
public String getTitle()
public String getTitle(ContentContext ctx)
getTitle in interface IStaticResourcegetTitle in class Imagepublic String getLocation(ContentContext ctx)
getLocation in interface IStaticResourcegetLocation in class Imagepublic Date getDate(ContentContext ctx)
getDate in interface IStaticResourcegetDate in class Imageprotected void setTitle(String title)
public String getLocation()
public Date getDate() throws ParseException
ParseExceptionpublic String getDisplayDate() throws ParseException
ParseExceptionprotected void setDate(String date)
protected boolean isMeta()
public String getFileDirectory(ContentContext ctx)
getFileDirectory in class Imagepublic String getFileNameOver()
protected String getFilter(ContentContext ctx)
public String getHexColor()
IContentVisualComponentgetHexColor in interface IContentVisualComponentgetHexColor in class Imagepublic String getImageImgName()
getImageImgName in class AbstractFileComponentprotected String getImageLinkTitle(ContentContext ctx) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionpublic String getLink()
public String getURL(ContentContext ctx)
ILinkprotected String getLargeFilter(ContentContext ctx)
protected String getLinkXHTMLInputName()
public GenericMessage getMessage()
IContentVisualComponentgetMessage in interface IContentVisualComponentgetMessage in class AbstractVisualComponentpublic String getViewXHTMLCode(ContentContext ctx) throws Exception
getViewXHTMLCode in class ImageExceptionorg.javlo.itf.IContentVisualComponent#getXHTMLCode()protected void init()
throws ResourceNotFoundException
init in class AbstractVisualComponentResourceNotFoundExceptionpublic boolean isContentCachable(ContentContext ctx)
IContentVisualComponentisContentCachable in interface IContentVisualComponentisContentCachable in class AbstractFileComponentpublic String performEdit(ContentContext ctx) throws Exception
IContentVisualComponentperformEdit in interface IContentVisualComponentperformEdit in class AbstractFileComponentExceptionprotected boolean isLinkValid(String url)
public void setFilter(String filter)
public void setLink(String link)
public void setDecorationImage(String image)
public String getDecorationImage()
public void setMessage(GenericMessage inMsg)
setMessage in class AbstractVisualComponentprotected void uploadFiles(ContentContext ctx, RequestService requestService) throws Exception
uploadFiles in class AbstractFileComponentExceptionpublic String getImageLinkURL(ContentContext ctx)
getImageLinkURL in interface IImageTitlegetImageLinkURL in class Imagepublic boolean initContent(ContentContext ctx) throws Exception
IContentVisualComponentinitContent in interface IContentVisualComponentinitContent in class ImageExceptionpublic int getHeight()
public void setRenderer(ContentContext ctx, String renderer)
IContentVisualComponentsetRenderer in interface IContentVisualComponentsetRenderer in class AbstractVisualComponentpublic int getWidth(ContentContextBean ctx)
public int getHeight(ContentContextBean ctx)
public String getFirstText()
public void setFirstText(String text)
public String getSecondText()
public void setSecondText(String text)
public void setHeight(ContentContext ctx, int height)
public void setWidth(ContentContext ctx, int width) throws Exception
Exceptionpublic String getActionGroupName()
IActiongetActionGroupName in interface IActiongetActionGroupName in class Imagepublic static String performDataFeedBack(ContentContext ctx, EditContext editContext, GlobalContext globalContext, User currentUser, ContentService content, ComponentContext componentContext, RequestService rs, I18nAccess i18nAccess, MessageRepository messageRepository, Module currentModule, AdminUserFactory adminUserFactory) throws Exception
Exceptionpublic boolean isFloatText(ContentContext ctx)
public String getSpecialTagTitle(ContentContext ctx) throws Exception
getSpecialTagTitle in interface IContentVisualComponentgetSpecialTagTitle in class AbstractVisualComponentExceptionpublic boolean isTextAuto()
public void setTextAuto(boolean auto)
protected String getLabelTextInputName()
protected String getEditorComplexity(ContentContext ctx)
AbstractVisualComponentgetEditorComplexity in class AbstractFileComponentpublic String getSpecialTagXHTML(ContentContext ctx) throws Exception
getSpecialTagXHTML in interface IContentVisualComponentgetSpecialTagXHTML in class AbstractVisualComponentExceptionpublic String getImageFilterKey(ContentContextBean ctx)
getImageFilterKey in interface IImageFilterpublic BufferedImage filterImage(ContentContextBean ctx, BufferedImage image)
filterImage in interface IImageFilterpublic boolean isListable()
IContentVisualComponentisListable in interface IContentVisualComponentisListable in class AbstractVisualComponentpublic GenericMessage getTextMessage(ContentContext ctx)
IContentVisualComponentgetTextMessage in interface IContentVisualComponentgetTextMessage in class AbstractVisualComponentpublic boolean isLinkValid(ContentContext ctx)
ILinkisLinkValid in interface ILinkisLinkValid in class AbstractFileComponentprotected boolean isFileNameValid(ContentContext ctx, String fileName)
isFileNameValid in class AbstractFileComponentpublic boolean isLocal(ContentContext ctx)
IStaticResourceisLocal in interface IStaticResourceisLocal in class Imagepublic String getErrorMessage(ContentContext ctx)
IContentVisualComponentgetErrorMessage in interface IContentVisualComponentgetErrorMessage in class AbstractVisualComponentpublic String getFontAwesome()
getFontAwesome in interface IContentVisualComponentgetFontAwesome in class ImageCopyright © 2012-2018. All Rights Reserved.