public class FlexColorPicker extends FlexComboBase
コンポーネントのデフォルトのモードでは、正方形のボタンに単一の色見本が表示されます。 ユーザーが色見本のボタンをクリックすると、色見本パネルが開き、色見本リスト全体が表示されます。
| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
FlexColorPicker(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい FlexColorPicker を作成します。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
change(Color color)
ユーザーによる操作の結果として選択した色が変更されたときにディスパッチされます。
|
int |
getColumnCount()
[読み取り専用] 色見本グリッドの列の数。
|
Color |
getSelectedColor()
[読み取り専用] SwatchPanel オブジェクト内で現在選択されている色の値。
|
boolean |
isShowTextField()
[読み取り専用] カラー ラベルまたは 16 進数のカラー値を示すテキスト ボックスを表示するかどうか。
|
close, close, getBackgroundAlpha, getBackgroundColor, getBackgroundImage, getBackgroundSize, getColor, getDisabledColor, getFillAlphas, getFillColors, getFontFamily, getFontSize, getFontStyle, getFontWeight, getHighlightColor, getRestrict, getSelectedIndex, getText, getTextAlign, getTextDecoration, getTextIndent, input, isDropShadowEnabled, isEditable, open, open, scroll, selectText, type, typechangeFocus, 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, 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 FlexColorPicker(JtfObjectHandle handle, Desktop desktop)
handle - FlexColorPicker を識別するハンドルdesktop - このオブジェクトが存在するデスクトップpublic void change(Color color)
color - 選択された RGB 色public int getColumnCount()
非推奨 3.0: swatchPanelStyleName を推奨
public Color getSelectedColor()
このプロパティは、"blue" などの標準文字列の色名に設定できます。 dataProvider に黒(0x000000)のエントリが含まれている場合は、デフォルト値は 0 です。それ以外の場合は、デフォルト値はデータ プロバイダーのインデックス 0 にある項目の色です。
public boolean isShowTextField()
Copyright 2009-2012 Micro Focus. All Rights Reserved.