Package com.ebasetech.xi.api.controls
Interface MultimediaControlProperties
- All Superinterfaces:
AriaControlProperties,BorderStyleProperties,MarginStyleProperties,MessageProperties
- All Known Subinterfaces:
AudioControl,VideoControl
public interface MultimediaControlProperties extends BorderStyleProperties, MarginStyleProperties, AriaControlProperties, MessageProperties
-
Method Summary
Modifier and Type Method Description java.lang.StringgetHeight()multimedia player height.java.lang.StringgetSrc()The URL of the multimedia content to embed.TextgetText()Returns theTextobject for the multimedia text.TextgetTitle()Returns theTextobject for the title text.java.lang.StringgetWidth()multimedia player width.booleanisAutoplay()Returns whether the embedded content will automatically play as soon as it loaded.booleanisLoop()Returns whether the multimedia player will automatically restart upon reaching the end of the content.booleanisMuted()Returns whether the multimedia player will initially be silenced.booleanisShowControls()Returns whether the browser will offer controls to allow the user to control the multimedia playback.voidsetAutoplay(boolean autoplay)Sets whether the embedded content will automatically play as soon as it loaded.voidsetHeight(java.lang.String imageHeight)Sets the multimedia player height.voidsetLoop(boolean loop)Sets whether the multimedia player will automatically restart upon reaching the end of the content.voidsetMuted(boolean loop)Sets whether the multimedia player will initially be silenced.voidsetShowControls(boolean controls)Sets whether the browser will offer controls to allow the user to control the multimedia playback.voidsetSrc(java.lang.String src)Sets the URL of the multimedia content to embed.voidsetWidth(java.lang.String imageWidth)Sets the multimedia player width.Methods inherited from interface com.ebasetech.xi.api.controls.AriaControlProperties
addAriaCustomAttribute, getAriaCustomAttributes, getAriaDescribedBy, getAriaLabelledBy, getAriaLabelText, getAriaRole, removeAriaCustomAttribute, setAriaCustomAttributes, setAriaRoleMethods inherited from interface com.ebasetech.xi.api.controls.BorderStyleProperties
getBorderColor, getBorderRadius, getBorderStyle, getBorderWidth, getBottomBorderWidth, getLeftBorderWidth, getRightBorderWidth, getTopBorderWidth, setBorderColor, setBorderRadius, setBorderStyle, setBorderWidth, setBottomBorderWidth, setLeftBorderWidth, setRightBorderWidth, setTopBorderWidthMethods inherited from interface com.ebasetech.xi.api.controls.MarginStyleProperties
getAllMargin, getBottomMargin, getLeftMargin, getRightMargin, getTopMargin, setAllMargin, setBottomMargin, setLeftMargin, setRightMargin, setTopMarginMethods inherited from interface com.ebasetech.xi.api.controls.MessageProperties
getErrorMessageStyle, getInfoMessageStyle, getWarningMessageStyle
-
Method Details
-
getText
Text getText()Returns theTextobject for the multimedia text.- Since:
- V5.12
-
getTitle
Text getTitle()Returns theTextobject for the title text.- Since:
- V5.12
-
getSrc
java.lang.String getSrc()The URL of the multimedia content to embed. The URL can be either relative or absolute.- Since:
- V5.12
-
setSrc
void setSrc(java.lang.String src)Sets the URL of the multimedia content to embed. The URL can be either relative or absolute. When absolute, it should start with the protocol e.g.http://www.google.com.- Since:
- V4.4
-
isAutoplay
boolean isAutoplay()Returns whether the embedded content will automatically play as soon as it loaded.- Since:
- V5.12
-
setAutoplay
void setAutoplay(boolean autoplay)Sets whether the embedded content will automatically play as soon as it loaded.- Since:
- V4.4
-
isShowControls
boolean isShowControls()Returns whether the browser will offer controls to allow the user to control the multimedia playback.- Since:
- V5.12
-
setShowControls
void setShowControls(boolean controls)Sets whether the browser will offer controls to allow the user to control the multimedia playback.- Since:
- V4.4
-
isLoop
boolean isLoop()Returns whether the multimedia player will automatically restart upon reaching the end of the content.- Since:
- V5.12
-
setLoop
void setLoop(boolean loop)Sets whether the multimedia player will automatically restart upon reaching the end of the content.- Since:
- V5.12
-
isMuted
boolean isMuted()Returns whether the multimedia player will initially be silenced.- Since:
- V5.12
-
setMuted
void setMuted(boolean loop)Sets whether the multimedia player will initially be silenced.- Since:
- V5.12
-
getWidth
java.lang.String getWidth()multimedia player width. SeesetWidth(String)for details of supported values when setting this property.- Since:
- V5.12
-
setWidth
void setWidth(java.lang.String imageWidth)Sets the multimedia player width.Any valid value for the CSS width property can be specified e.g. 300px
- Since:
- V5.12
-
getHeight
java.lang.String getHeight()multimedia player height. SeesetHeight(String)for details of supported values when setting this property.- Since:
- V5.12
-
setHeight
void setHeight(java.lang.String imageHeight)Sets the multimedia player height.Any valid value for the CSS height property can be specified e.g. 300px
- Since:
- V5.12
-