Class Video
java.lang.Object
com.almis.awe.model.entities.Element
com.almis.awe.model.entities.screen.component.Component
com.almis.awe.model.entities.screen.component.Video
- All Implemented Interfaces:
Copyable
,XMLNode
,Serializable
Video Tag Class
Used to parse video tag with XStream
Default HTML video tag
- Author:
- David FUENTES - 09/MAR/2016
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()
Get a copy of this elementReturns the autoplay attribute valueRetrieve component tagReturns controls value for the videogetLoop()
Returns the tag loop attributeReturns the poster attribute valueReturns the preload attribute valuegetSrc()
Returns the src attribute valuevoid
setAutoplay
(String autoplay) Stores the autoplay attribute valuevoid
setControls
(String controls) Stores the controls value for the videovoid
Stores the loop attribute valuevoid
Stores the poster attribute valuevoid
setPreload
(String preload) Stores the preload attribute valuevoid
Stores the source attribute valueMethods inherited from class com.almis.awe.model.entities.screen.component.Component
generateTemplate, getContextMenuConverter, getDependencyConverter, getTemplate, isAutoload, isLoadAll, isVisible
Methods inherited from class com.almis.awe.model.entities.Element
addElement, generateHelpTemplate, generateHelpTemplate, getChildrenByType, getElementKey, getElementList, getElementsById, getElementsByType, getElementsByType, getHelpTemplate, getReportStructure
-
Constructor Details
-
Video
public Video()
-
-
Method Details
-
copy
Description copied from interface:Copyable
Get a copy of this element- Returns:
- element copy
-
getControls
Returns controls value for the video- Returns:
- controls
-
setControls
Stores the controls value for the video- Parameters:
controls
- video controls
-
getSrc
Returns the src attribute value- Returns:
- src attribute
-
setSrc
Stores the source attribute value- Parameters:
src
- source attribute
-
getPoster
Returns the poster attribute value- Returns:
- poster attribute
-
setPoster
Stores the poster attribute value- Parameters:
poster
- poster attribute
-
getAutoplay
Returns the autoplay attribute value- Returns:
- autoplay
-
setAutoplay
Stores the autoplay attribute value- Parameters:
autoplay
- autoplay attribute
-
getPreload
Returns the preload attribute value- Returns:
- String
-
setPreload
Stores the preload attribute value- Parameters:
preload
- preload attribute
-
getLoop
Returns the tag loop attribute- Returns:
- Tag Text
-
setLoop
Stores the loop attribute value- Parameters:
loop
- Tag loop
-
getComponentTag
Retrieve component tag- Overrides:
getComponentTag
in classComponent
- Returns:
video
tag
-