public class FlexTabNavigator extends FlexViewStack
修飾子 | コンストラクタと説明 |
---|---|
protected |
FlexTabNavigator(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい FlexTabNavigator を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
change(String relatedObject)
itemClick イベントのイベント オブジェクトの type プロパティの値を定義します。
|
String |
getHorizontalAlign()
[読み取り専用] この TabNavigator コンテナーの上部にあるタブの水平位置。
|
double |
getHorizontalGap()
[読み取り専用] ピクセル単位で表したタブ間の間隔。
|
double |
getTabHeight()
[読み取り専用] 各タブの高さ(ピクセル単位)。
|
double |
getTabWidth()
[読み取り専用] 各タブの幅(ピクセル単位)。
|
getSelectedChild, getSelectedIndex, type, type
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 FlexTabNavigator(JtfObjectHandle handle, Desktop desktop)
handle
- FlexTabNavigator を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic void change(String relatedObject)
relatedObject
- 生成されたイベントの子オブジェクトpublic String getHorizontalAlign()
有効な値は left、center および right です。 デフォルト値は left です。
値が left の場合、最初のタブの左端が TabNavigator コンテナーの左端に揃えられます。 値が right の場合、最後のタブの右端が TabNavigator コンテナーの右端に揃えられます。 値が center の場合、タブが TabNavigator コンテナー上部の中央に揃えられます。
整列設定による違いが表示されるには、すべてのタブの幅の合計が TabNavigator コンテナーの幅より小さい必要があります。
public double getHorizontalGap()
public double getTabHeight()
デフォルト値は未定義です。 このプロパティが未定義の場合、各タブの高さは、この TabNavigator コンテナーに適用されるフォント スタイルによって決定されます。 このプロパティを設定すると、この計算よりも設定値が優先されます。
public double getTabWidth()
デフォルト値は未定義です。 このプロパティが未定義の場合、各タブの幅は、この TabNavigator コンテナーに適用されるフォント スタイルを使用したラベル テキストの幅によって決定されます。 タブの幅の合計が TabNavigator コンテナーの幅より広い場合、計算されたタブ幅が縮小されます(最小 30 ピクセルまで)。 このプロパティを設定すると、この計算よりも設定値が優先されます。
タブのラベル テキストは、タブに収まらない場合切り詰められます。 タブ ラベルが切り詰められた場合、ユーザーがタブの上にマウスを移動すると、ツール ヒントにラベル テキスト全体が表示されます。
Copyright 2009-2012 Micro Focus. All Rights Reserved.