public class FlexScrollBase extends FlexObject
スクロール バーはユーザーが操作し、表示可能領域を変更するメソッドおよびプロパティには開発者がアクセスします。 ScrollControlBase が持つ子オブジェクトは 1 つのみで、そのオブジェクトを配置およびマスクするか、またはサイズ変更して、表示可能なコンテンツを表示します。 スクロールするすべての項目は、このコンテンツ オブジェクトの子であることが必要です。
修飾子 | コンストラクタと説明 |
---|---|
protected |
FlexScrollBase(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい FlexScrollBase を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
mouseScroll()
InteractiveObject インスタンス上でマウス ホイールが回されたときにディスパッチされます。
|
void |
mouseScroll(int delta)
InteractiveObject インスタンス上でマウス ホイールが回されたときにディスパッチされます。
|
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 FlexScrollBase(JtfObjectHandle handle, Desktop desktop)
handle
- FlexScrollBase を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic void mouseScroll()
ターゲットがテキスト フィールドの場合、デフォルトの動作ではテキストがスクロールします。 Microsoft Windows OS でのみ利用可能です。
mouseWheel イベント オブジェクトの type プロパティの値を定義します。
public void mouseScroll(int delta)
ターゲットがテキスト フィールドの場合、デフォルトの動作ではテキストがスクロールします。 Microsoft Windows OS でのみ利用可能です。
mouseWheel イベント オブジェクトの type プロパティの値を定義します。
delta
- マウス ホイール上の各ノッチが表す行の数Copyright 2009-2012 Micro Focus. All Rights Reserved.