public class CBanner extends Control
Modifier | Constructor and Description |
---|---|
protected |
CBanner(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 CBanner。
|
Modifier and Type | Method and Description |
---|---|
TestObject |
getBottom()
获取 位于横幅底部的控件。
|
TestObject |
getLeft()
获取 位于横幅左侧的控件。
|
TestObject |
getRight()
获取 位于横幅右侧的控件。
|
Point |
getRightMinimumSize()
获取 位于横幅右侧的控件的最小尺寸。
|
int |
getRightWidth()
获取 位于横幅右侧的控件的宽度。
|
boolean |
isSimple()
获取 是否以简单的传统形状呈现横幅。
|
void |
setRightMinimumSize(Point rightMinimumSize)
设置 位于横幅右侧的控件的最小尺寸。
|
void |
setRightWidth(int rightWidth)
设置 位于横幅右侧的控件的宽度。
|
void |
setSimple(boolean simple)
设置 是否以简单的传统形状呈现横幅。
|
getHorizontalBar, getVerticalBar, openContextMenu, openContextMenu
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getBackground, getFont, getForeground, getNativeHandle, isEnabled, isFocused, isVisible, mouseMove, mouseMove, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setBackground, setEnabled, setFocus, setFont, setForeground, setVisible, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeys
captureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, 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 CBanner(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 CBanner 的句柄desktop
- 此对象所在的桌面public TestObject getBottom()
public TestObject getLeft()
public TestObject getRight()
public Point getRightMinimumSize()
public void setRightMinimumSize(Point rightMinimumSize)
rightMinimumSize
- 位于横幅右侧的控件的最小尺寸public int getRightWidth()
public void setRightWidth(int rightWidth)
rightWidth
- 位于横幅右侧的控件的宽度public boolean isSimple()
public void setSimple(boolean simple)
simple
- 是否以简单的传统形状呈现横幅Copyright 2009-2012 Micro Focus. All Rights Reserved.