public class FlexPanel extends FlexContainer
您通常使用 Panel 容器包含顶层应用程序模块。例如,您可包含 Panel 容器中的购物车。
| Modifier | Constructor and Description |
|---|---|
protected |
FlexPanel(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 FlexPanel。
|
| Modifier and Type | Method and Description |
|---|---|
List<Color> |
getFooterColors()
获取 用于绘制页脚(ControlBar 容器的区域)背景的两种颜色的数组。
|
List<Color> |
getHeaderColors()
获取 用于绘制标题的两种颜色的数组。
|
int |
getHeaderHeight()
获取 标题的高度。
|
String |
getStatus()
获取 标题栏的状态区域中的文本。
|
String |
getTitle()
获取 标题栏中显示的标题。
|
boolean |
isDropShadowEnabled()
获取 Panel 容器的投影是否可见。
|
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, scrollchangeFocus, changeFocus, changeFocus, getAutomationClassName, getAutomationIndex, getAutomationName, getClassName, getCurrentState, getErrorColor, getErrorString, getId, getNumAutomationChildren, getPercentHeight, getPercentWidth, getScaleX, getScaleY, getThemeColor, getToolTip, isEnabled, isFocusEnabled, isUseHandCursor, move, move, move, setFocusclick, 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, typePasswordKeyscaptureBitmap, 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, waitForPropertyequals, 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, toStringprotected FlexPanel(JtfObjectHandle handle, Desktop desktop)
handle - 可确定 FlexPanel 的句柄desktop - 此对象所在的桌面public boolean isDropShadowEnabled()
public List<Color> getFooterColors()
第一种颜色是顶层颜色。第二种颜色是底色。默认值为 null,默认情况下,控件条背景与面板背景相同。默认值为 null。
public List<Color> getHeaderColors()
第一种颜色是顶层颜色。第二种颜色是底色。默认值为 null,默认情况下,标题背景与面板背景相同。默认值为 null。
public int getHeaderHeight()
public String getStatus()
public String getTitle()
Copyright 2009-2012 Micro Focus. All Rights Reserved.