public class FlexScrollBar extends FlexObject
| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
FlexScrollBar(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい FlexScrollBar を作成します。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
List<Color> |
getFillColors()
[読み取り専用] コントロールの背景を濃淡色化するのに使用する色。
|
double |
getLineScrollSize()
[読み取り専用] 矢印ボタンが押されたときにスクロールする量(ピクセル単位)。
|
double |
getPageScrollSize()
[読み取り専用] スクロール バーのトラックが押されたときのスクロール サムの移動量(ピクセル単位)。
|
double |
getScrollPosition()
[読み取り専用] 現在のスクロール位置を表す数値。
|
List<Color> |
getTrackColors()
[読み取り専用] トラックの色(2 色の配列として)。
|
void |
scroll(int position,
FlexScrollDirection direction,
FlexScrollDetail detail)
ScrollBar コントロールがユーザーによる動作やプログラムによってスクロールされた場合にディスパッチされます。
|
changeFocus, 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 FlexScrollBar(JtfObjectHandle handle, Desktop desktop)
handle - FlexScrollBar を識別するハンドルdesktop - このオブジェクトが存在するデスクトップpublic void scroll(int position,
FlexScrollDirection direction,
FlexScrollDetail detail)
position - 新しいスクロールの位置direction - スクロールの方向(ScrollEventDirection.HORIZONTAL または ScrollEventDirection.VERTICAL)detail - スクロール動作の種類。 有効な値の定数は ScrollEventDetail クラスで提供されます。public List<Color> getFillColors()
平面的なコントロールには同じ色を両方の値として渡します。 デフォルト値は [ 0xFFFFFF, 0xCCCCCC ] です。
public double getLineScrollSize()
public double getPageScrollSize()
public double getScrollPosition()
これは、minScrollPosition 以上、maxScrollPosition 以下の数値です。
デフォルト値は 0 です。
Copyright 2009-2012 Micro Focus. All Rights Reserved.