public class SparkVideoDisplay extends FlexObject
Modifier | Constructor and Description |
---|---|
protected |
SparkVideoDisplay(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 SparkVideoDisplay。
|
Modifier and Type | Method and Description |
---|---|
double |
getBytesLoaded()
获取 已下载至应用程序的数据字节数。
|
double |
getBytesTotal()
获取 正下载至应用程序的数据字节总数。
|
double |
getCurrentTime()
获取 自视频开始播放起,播放头的当前时间(秒)。
|
double |
getDuration()
获取 视频回放的持续时间(秒)。
|
String |
getMediaPlayerState()
获取 视频的当前状态。
|
String |
getScaleMode()
获取 调整视频内容大小的不同方式。
|
double |
getVolume()
获取 音量(指定值范围为 0 至 1)。
|
boolean |
isAutoDisplayFirstFrame()
获取 设置源时是否加载视频。
|
boolean |
isAutoPlay()
获取 设置源属性时是否立即播放视频。
|
boolean |
isAutoRewind()
获取 播放停止时是否将 FLV 文件后退至第一个帧。
|
boolean |
isLoop()
获取 回放完成后是否再次播放媒体。
|
boolean |
isMuted()
获取 是否将视频静音。
|
boolean |
isPauseWhenHidden()
获取 视频“隐藏”时是否继续播放。
|
boolean |
isPlaying()
获取 视频是正在播放还是正尝试播放的值。
|
changeFocus, changeFocus, changeFocus, getAutomationClassName, getAutomationIndex, getAutomationName, getClassName, getCurrentState, getErrorColor, getErrorString, getId, getNumAutomationChildren, getPercentHeight, getPercentWidth, getScaleX, getScaleY, getThemeColor, getToolTip, isEnabled, isFocusEnabled, isUseHandCursor, move, move, move, setFocus
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAlpha, getHeight, getStyle, getTabIndex, getWidth, getX, getY, isMouseEnabled, isTabChildren, isTabEnabled, isVisible, mouseMove, mouseMove, nativeToString, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeys
captureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getText, getValue, highlightObject, highlightObject, highlightObject, invokeMethods, textCapture, textCapture, textClick, textClick, textClick, textClick, textClick, textClick, textExists, textExists, textExists, textExists, textExists, textRectangle, textRectangle, textRectangle, textRectangle, textRectangle, waitForChildDisappearance, waitForChildDisappearance, waitForDisappearance, waitForDisappearance, waitForObject, waitForObject, waitForProperty, waitForProperty
equals, exists, find, find, findAll, findAll, getCustomTypeName, getDesktop, getHandle, getLocator, getProperty, getTypeName, hashCode, imageClick, imageClick, imageClick, imageClick, imageClick, imageClick, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageExists, imageExists, imageExists, imageExistsFile, imageExistsFile, imageExistsFile, imageRectangle, imageRectangle, imageRectangle, imageRectangleFile, imageRectangleFile, imageRectangleFile, invoke, preventFinalLocator, setProperty, toString
protected SparkVideoDisplay(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 SparkVideoDisplay 的句柄desktop
- 此对象所在的桌面public boolean isAutoDisplayFirstFrame()
public boolean isAutoPlay()
public boolean isAutoRewind()
public double getBytesLoaded()
public double getBytesTotal()
public double getCurrentTime()
public double getDuration()
public boolean isLoop()
public String getMediaPlayerState()
public boolean isMuted()
public boolean isPauseWhenHidden()
public boolean isPlaying()
public String getScaleMode()
public double getVolume()
Copyright 2009-2012 Micro Focus. All Rights Reserved.