public class FlexVideoDisplay extends FlexObject
Modifier | Constructor and Description |
---|---|
protected |
FlexVideoDisplay(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 FlexVideoDisplay。
|
Modifier and Type | Method and Description |
---|---|
String |
getSource()
获取 可流式传输的 FLV 文件的相对路径和文件名。
|
double |
getTotalTime()
获取 媒体的总长度(秒)。
|
double |
getVolume()
获取 音量(指定值范围为 0 至 1)。
|
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 FlexVideoDisplay(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 FlexVideoDisplay 的句柄desktop
- 此对象所在的桌面public String getSource()
public double getTotalTime()
对于 FLV 1.0 视频文件,您需手动设置此属性。对于 FLV 1.1 和更高版本,控件会自动计算此值。
public double getVolume()
Copyright 2009-2012 Micro Focus. All Rights Reserved.