public class FlexBox extends FlexContainer
Modifier | Constructor and Description |
---|---|
protected |
FlexBox(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 FlexBox。
|
Modifier and Type | Method and Description |
---|---|
String |
getDirection()
获取 是否使用垂直(默认值)或水平布局。
|
String |
getHorizontalAlign()
获取 容器中子级的水平对齐。
|
String |
getVerticalAlign()
获取 容器中子级的垂直对齐。
|
dragCancel, dragCancel, dragDrop, dragDrop, dragDrop, dragStart, dragStart, getBackgroundAlpha, getBackgroundColor, getBackgroundDisabledColor, getBackgroundImage, getBackgroundSize, getColumnNames, getCreationIndex, getCreationPolicy, getFillAlphas, getFillColors, getFirstVisibleRow, getFontFamily, getFontSize, getFontStyle, getFontWeight, getLabel, getLastVisibleRow, getNumChildren, getNumColumns, getNumRows, getValues, mouseScroll, mouseScroll, scroll
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 FlexBox(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 FlexBox 的句柄desktop
- 此对象所在的桌面public String getDirection()
public String getHorizontalAlign()
可能值为:左、居中和右。默认值为左,但如 ButtonBar
和 ToggleButtonBar
等某些容器具有不同默认值。
public String getVerticalAlign()
可能值为:上、居中和下。默认值为上,但如 ButtonBar
、ControlBar
、LinkBar
和 ToggleButtonBar
等某些容器具有不同默认值。
Copyright 2009-2012 Micro Focus. All Rights Reserved.