Package org.javlo.component.multimedia
Class EmbedVideo
-
- All Implemented Interfaces:
Serializable
,Comparable<IContentVisualComponent>
,IAction
,IContentVisualComponent
,IImageFilter
,ILink
,IPreviewable
,IStaticResource
,IUploadResource
,IVideo
,IImageTitle
,IRestItem
,IStaticContainer
public class EmbedVideo extends Video implements IAction
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.javlo.component.multimedia.Video
Video.OrderVideo
-
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE
-
Fields inherited from class org.javlo.component.image.GlobalImage
IMAGE_FILTER, logger, RAW_FILTER
-
Fields inherited from class org.javlo.component.image.Image
config, STYLE_CENTER
-
Fields inherited from class org.javlo.component.files.AbstractFileComponent
DEFAULT_ENCODING, DESCRIPTION_KEY, DIR_KEY, EMBED_CODE_KEY, ENCODING_KEY, FILE_NAME_KEY, LABEL_KEY, properties, REVERSE_LINK_KEY
-
Fields inherited from class org.javlo.component.core.AbstractVisualComponent
CACHE_KEY_SUFFIX_PARAM_NAME, COMPONENT_KEY, EDIT_CLASS, FLUID_COL_SIZE, FORCE_COMPONENT_ID, HIDDEN, I18N_FILE, MAX_COL_VALUE, MOBILE_TYPE, NOT_EDIT_PREVIEW_PARAM_NAME, SCROLL_TO_COMP_ID_ATTRIBUTE_NAME, TIME_CACHE_NAME, VALUE_SEPARATOR
-
Fields inherited from interface org.javlo.component.core.IContentVisualComponent
COLORED_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
-
Fields inherited from interface org.javlo.component.image.IImageTitle
NO_LINK
-
-
Constructor Summary
Constructors Constructor Description EmbedVideo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canUpload(ContentContext ctx)
String
getActionGroupName()
the group name of the actionint
getComplexityLevel(ContentContext ctx)
return the complexity level of the component.String
getType()
return the type of the element.String
getURL(ContentContext ctx)
generate a URL or URI link with all elements to click on.String
getViewXHTMLCode(ContentContext ctx)
protected boolean
isLink()
protected boolean
isMutlimediaResource()
-
Methods inherited from class org.javlo.component.multimedia.Video
addOneAccess, createFileURL, getAccess, getAllResources, getAllVideoOnPage, getCurrentRenderer, getDecorationFilter, getDefaultFilter, getFileDirectory, getFileFilter, getFontAwesome, getImageChangeTitle, getImageFilter, getImageUploadTitle, getImageURL, getPopularity, getPreviewCode, getPreviewURL, getRelativeFileDirectory, getRenderer, getResourceURL, getResourceURL, getSpecialTagTitle, getStyleLabelList, getStyleList, getStyleTitle, getTranslatableResources, isAskWidth, isAutoRenderer, isContentCachable, isDecorationImage, isDisplayable, isDisplayMeta, isEmbedCode, isFileNameValid, isImageFilter, isInline, isLinkValid, isMeta, isRealContent, performAccess, performEdit, prepareView, renameResource, renderInline
-
Methods inherited from class org.javlo.component.image.GlobalImage
filterImage, getAlt, getCSSClassName, getDate, getDate, getDecorationImage, getDisplayDate, getEditorComplexity, getEditXHTMLCode, getErrorMessage, getFileNameOver, getFilter, getFirstText, getHeight, getHeight, getHexColor, getIcon, getImageFilterKey, getImageHash, getImageImgName, getImageLinkTitle, getImageLinkURL, getLabelTextInputName, getLargeFilter, getLink, getLinkXHTMLInputName, getLocation, getLocation, getMessage, getNewLinkParamName, getSecondText, getSpecialTagXHTML, getSpecificClass, getTextMessage, getTitle, getTitle, getTranslatedID, getWidth, getWidth, hashForImage, init, initContent, isEditImage, isFloatText, isHiddenImage, isLabel, isLinkValid, isListable, isLocal, isStyleHidden, isTextAuto, performDataFeedBack, setDate, setDecorationImage, setFilter, setFirstText, setHeight, setLink, setMessage, setRenderer, setSecondText, setTextAuto, setTitle, setTranslatedID, setWidth, setWidth, uploadFiles
-
Methods inherited from class org.javlo.component.image.Image
getCssClass, getCSSType, getDefaultFile, getDescription, getDisplayAllLabel, getFile, getFileList, getFiles, getHelpURI, getImageDescription, getLanguage, getMainFolder, getPriority, getStaticLabel, getTags, init, isAllowRAW, isImageValid, isMobileOnly, isShared, isUploadOnDrop
-
Methods inherited from class org.javlo.component.files.AbstractFileComponent
contains, equals, expandZip, getAllResourcesLinks, getColumnableDefaultValue, getContentAsText, getDecoImageFileXHTMLInputName, getDecoImageXHTMLInputName, getDeleteTitle, getDescription, getDescriptionName, getDirInputName, getDirLabelTitle, getDirList, getDirSelected, getEmbedCode, getEmbedCodeName, getEncoding, getEncodingXHTMLInputName, getFileList, getFileName, getFileUploadActionTitle, getFileURL, getFileXHTMLInputName, getFirstTextInputName, getImageDecorativeTitle, getImageLabelTitle, getImageSelectTitle, getJSOnChange, getLabel, getLabelXHTMLInputName, getLatestValidDate, getMaxPreviewImages, getMetaCode, getNewDirInputName, getNewDirLabelTitle, getPreviewCode, getPreviewCode, getPreviewZoneId, getReverseLinkeLabelTitle, getReverseLinkInputName, getSecondTextInputName, getSelectXHTMLInputName, getStaticInfo, getTextAutoInputName, getWordCount, isFromShared, isImported, isInsertable, isLinkToStatic, isMirroredByDefault, isOnlyFirstOccurrence, isReverseLink, isWithDescription, needEncoding, performLoadImages, performUpload, reloadProperties, saveItem, setDirSelected, setEmbedCode, setFileName, setLabel, setLatestValidDate, setValue, storeProperties, transflateFrom
-
Methods inherited from class org.javlo.component.core.AbstractVisualComponent
applyReplacement, cleanResources, cleanValue, clearReplacement, clone, compareTo, contructViewStyle, countLine, delete, deleteMySelf, drawColumn, equals, executeCurrentRenderer, executeJSP, executeRenderer, executeRenderer, extractFieldsFromRenderer, forceInit, getAjaxId, getArea, getAuthors, getBackgroundColor, getBaseHelpURL, getClassName, getColomnablePrefix, getColomnableSuffix, getColumn, getColumnMaxSize, getColumnSize, getColumnSizes, getColumnStyle, getComponentBean, getComponentCSS, getComponentCssClass, getComponentId, getComponentLabel, getComponentPath, getConfig, getConfigInValue, getConfigMessage, getContainerPage, getContentAsMap, getContentCache, getContentMessage, getContentName, getContentTimeCache, getCookiesDisplayStatus, getCreationDate, getCSSStyle, getCurrentPage, getDataAttributes, getDebugHeader, getDefaultHelpURI, getDefaultRenderer, getDeleteDate, getDescription, getDisplayAsInputName, getDisplayMessage, getEditRenderer, getEditText, getEmptyCode, getEmptyXHTMLCode, getErrorMessage, getExternalModules, getExternalResources, getFirstPrefix, getForcedId, getForcedPrefixViewXHTMLCode, getForcedRenderer, getForcedSuffixViewXHTMLCode, getFormName, getGroup, getHeaderContent, getHelpText, getHelpType, getHelpURL, getI18nEditableKeys, getId, getImportFolderPath, getImportFolderPath, getInlineStyle, getInputName, getInputNameColomn, getInputNameColomnStyle, getInputNameRenderer, getInputNameRendererTitle, getItalicAndStrongLanguageMarkerList, getJSOnSubmit, getKey, getLabelLevel, getLastSufix, getLayout, getListClass, getListGroup, getListItemTag, getListTag, getLocalMessage, getLock, getManualCssClass, getMarkerList, getMirrorWrapper, getModificationDate, getNextComponent, getPage, getPageDescription, getPrefixCssClass, getPrefixViewXHTMLCode, getPreviewAttributes, getPreviewCssClass, getPreviewCssId, getPreviousComponent, getQuotationLanguageMarkerList, getReferenceComponent, getRemplacement, getRendererTitle, getRenderes, getRequestComponent, getSearchLevel, getSelectRendererXHTML, getSpecialInputTag, getSpecialPreviewCssId, getSpecificCssClass, getStyle, getStyleLabel, getSuffixViewXHTMLCode, getTag, getTextColor, getTextForSearch, getTextLabel, getTextPosition, getTextTitle, getTitleLevel, getTypeInputName, getValue, getValue, getVersion, getViewData, getViewDataFile, getViewID, getViewText, getXHTMLCode, getXHTMLConfig, haveRight, includeComponentJSP, includePage, insert, isAjaxWrapper, isAutoDeletable, isBackgroundColored, isCanAddClass, isCloseRow, isColored, isColumnable, isConfig, isContentCachableByQuery, isContentTimeCachable, isDefaultValue, isDispayEmptyXHTMLCode, isDisplayHidden, isEditOnCreate, isFirstElementOfRepeatSequence, isFirstRepeated, isFreeInputLayout, isHelpURL, isHiddable, isHidden, isHiddenInMode, isHiddenInModeValue, isInline, isList, isMetaTitle, isMirrorWrapped, isModify, isNeedDelete, isNeedRefresh, isNeedRenderer, isNew, isNextSame, isNextSame, isNolink, isNoLinkable, isOpenRow, isPreviousSame, isPreviousSame, isRepeat, isRepeatable, isRestMatch, isReversedLink, isUnique, isValueProperties, isValueTranslatable, isViewDataFile, isVisible, isVisible, isVisibleFromCookies, isWrapped, isXML, loadViewData, markAsNew, newInstance, next, onStyleChange, performColumnable, performConfig, performUpdate, prepareEdit, previous, processView, renderOtherComponent, renderViewXHTMLCode, replaceAllInContent, replaceInContent, resetContentCache, resetViewData, setBackgroundColor, setColumnSize, setColumnStyle, setComponentBean, setContainerPage, setContentCache, setContentTimeCache, setDisplayHidden, setForcedId, setForcedRenderer, setGroup, setHidden, setHiddenInMode, setList, setLocalMessage, setMirrorWrapped, setModify, setNeedRefresh, setNextComponent, setNolink, setPage, setPreviousComponent, setRepeat, setStyle, setTextColor, setTextPosition, setValid, stored, storeViewData, stringToReader, stringToReader, stringToStream, textToXHTML, toString, updateCache
-
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.javlo.component.core.IContentVisualComponent
cleanResources, clearReplacement, delete, equals, extractFieldsFromRenderer, forceInit, getArea, getAuthors, getClassName, getColumnSize, getColumnStyle, getComponentBean, getComponentCssClass, getComponentLabel, getConfig, getConfigInValue, getConfigMessage, getContentAsText, getContentMessage, getContentName, getCreationDate, getDescription, getEditText, getEmptyXHTMLCode, getErrorMessage, getErrorMessage, getExternalModules, getExternalResources, getFirstPrefix, getGroup, getHeaderContent, getHelpText, getHelpURL, getHexColor, getI18nEditableKeys, getIcon, getId, getInputNameRenderer, getJSOnSubmit, getKey, getLabelLevel, getLastSufix, getLayout, getListGroup, getMarkerList, getMessage, getModificationDate, getNextComponent, getPage, getPageDescription, getPrefixViewXHTMLCode, getPreviousComponent, getReferenceComponent, getSearchLevel, getSpecialTagXHTML, getStyle, getStyleLabel, getSuffixViewXHTMLCode, getTextForSearch, getTextLabel, getTextMessage, getTextTitle, getTitleLevel, getValue, getVersion, getViewText, getWordCount, getXHTMLCode, getXHTMLConfig, initContent, insert, isColumnable, isConfig, isDefaultValue, isDispayEmptyXHTMLCode, isDisplayHidden, isEditOnCreate, isFirstRepeated, isHelpURL, isHidden, isHiddenInMode, isInline, isInsertable, isList, isListable, isMetaTitle, isMirroredByDefault, isModify, isNeedRefresh, isNew, isNolink, isRepeat, isRepeatable, isRestMatch, isUnique, isVisible, isVisible, isVisibleFromCookies, loadViewData, markAsNew, newInstance, next, performConfig, previous, replaceAllInContent, replaceInContent, resetViewData, setColumnSize, setContainerPage, setDisplayHidden, setGroup, setList, setNeedRefresh, setNextComponent, setPage, setPreviousComponent, setRenderer, setRepeat, setStyle, setValid, setValue, stored, transflateFrom
-
Methods inherited from interface org.javlo.component.core.IImageFilter
getId
-
Methods inherited from interface org.javlo.component.image.IImageTitle
getImageDescription, getImageLinkURL, getPriority, isImageValid, isMobileOnly
-
Methods inherited from interface org.javlo.component.core.IPreviewable
getPreviewCode
-
Methods inherited from interface org.javlo.data.rest.IRestItem
getContentAsMap
-
Methods inherited from interface org.javlo.ztatic.IStaticContainer
contains, getAllResourcesLinks, getDirSelected, getFiles, setDirSelected
-
Methods inherited from interface org.javlo.component.core.IStaticResource
getCssClass, getDate, getDescription, getFile, getLanguage, getLocation, getTags, getTitle, isLocal, isShared
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String getType()
Description copied from interface:IContentVisualComponent
return the type of the element.- Specified by:
getType
in interfaceIContentVisualComponent
- Overrides:
getType
in classVideo
- Returns:
- the type of the element.
-
canUpload
protected boolean canUpload(ContentContext ctx)
-
isMutlimediaResource
protected boolean isMutlimediaResource()
- Overrides:
isMutlimediaResource
in classGlobalImage
-
getViewXHTMLCode
public String getViewXHTMLCode(ContentContext ctx) throws Exception
- Overrides:
getViewXHTMLCode
in classVideo
- Throws:
Exception
- See Also:
org.javlo.itf.IContentVisualComponent#getXHTMLCode()
-
getActionGroupName
public String getActionGroupName()
Description copied from interface:IAction
the group name of the action- Specified by:
getActionGroupName
in interfaceIAction
- Overrides:
getActionGroupName
in classVideo
- Returns:
- a group name.
-
getURL
public String getURL(ContentContext ctx)
Description copied from interface:ILink
generate a URL or URI link with all elements to click on.
-
getComplexityLevel
public int getComplexityLevel(ContentContext ctx)
Description copied from interface:IContentVisualComponent
return the complexity level of the component.- Specified by:
getComplexityLevel
in interfaceIContentVisualComponent
- Overrides:
getComplexityLevel
in classVideo
- Parameters:
ctx
- TODO- Returns:
- see contant
-
-