public class FlexMenuBar extends FlexObject
修飾子 | コンストラクタと説明 |
---|---|
protected |
FlexMenuBar(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい FlexMenuBar を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
Color |
getBackgroundColor()
[読み取り専用] コンポーネントの背景色。
|
Color |
getColor()
[読み取り専用] コンポーネント ラベルを含むコンポーネントのテキストの色。
|
List<String> |
getColumnNames()
[読み取り専用] データ内のすべての列の名前を含むリスト。
|
Color |
getDisabledColor()
[読み取り専用] コンポーネントが無効な場合のテキストの色。
|
List<Color> |
getFillColors()
[読み取り専用] コントロールの背景を濃淡色化するのに使用する色。
|
int |
getFirstVisibleRow()
[読み取り専用] 最初の可視の子のインデックス。
|
String |
getFontFamily()
[読み取り専用] 使用するフォントの名前。
|
double |
getFontSize()
[読み取り専用] テキストの高さ(ピクセル単位)。
|
String |
getFontStyle()
[読み取り専用] テキストがイタリック フォントかどうか。
|
String |
getFontWeight()
[読み取り専用] テキストがボールド体かどうか。
|
int |
getLastVisibleRow()
[読み取り専用] 最後の可視の子のインデックス。
|
int |
getNumChildren()
[読み取り専用] このオブジェクトの子の数。
|
int |
getNumColumns()
[読み取り専用] 利用可能なデータ中の列の合計数。
|
int |
getNumRows()
[読み取り専用] 利用可能なデータ中の行の合計数。
|
Color |
getRollOverColor()
[読み取り専用] ユーザーがメニュー項目の上にマウスを移動したときのメニュー項目の背景色。
|
double |
getSelectedIndex()
[読み取り専用] 現在開いている Menu、または現在開いている Menu がない場合は最後に開いていた Menu の MenuBar コントロールのインデックス。
|
Color |
getSelectionColor()
[読み取り専用] メニュー項目が選択されたときのメニュー項目の背景色。
|
String |
getTextAlign()
[読み取り専用] コンテナー内のテキストの配置。
|
String |
getTextDecoration()
[読み取り専用] テキストに下線を表示するかどうか。
|
int |
getTextIndent()
[読み取り専用] テキストの 1 行目のコンテナー左端からのオフセット(ピクセル単位)。
|
List<List<String>> |
getValues(int start,
int end)
コンポーネントのすべての部分のオートメーション値を含む配列を返します。
|
void |
hide()
メニューまたはサブメニューが閉じたときにディスパッチされます。
|
void |
show(String itemRenderer)
メニューまたはサブメニューが開いたときにディスパッチされます。
|
void |
type(String keyCode)
ユーザーがキーを押したときにディスパッチされます。
|
void |
type(String keyCode,
ModifierKey keyModifier)
ユーザーがキーを押したときにディスパッチされます。
|
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 FlexMenuBar(JtfObjectHandle handle, Desktop desktop)
handle
- FlexMenuBar を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic List<List<String>> getValues(int start, int end)
戻り値は行の配列で、各行は項目の配列になります。
start
- 開始点の子のインデックス。 デフォルト値は 0 です。end
- 終了点の子のインデックス。 デフォルト値は 0 です。public void hide()
public void show(String itemRenderer)
itemRenderer
- このプロパティは子の種類のイベントでは設定されませんpublic void type(String keyCode)
keyCode
- 押したり離したりするキーのキー コード値public void type(String keyCode, ModifierKey keyModifier)
keyCode
- 押したり離したりするキーのキー コード値keyModifier
- 使用されるキー修飾(Ctrl キーなど)public Color getBackgroundColor()
デフォルト値は未定義で、設定されておらずコンポーネントの背景が透明であることを意味します。
ほとんどの Flex コントロールのデフォルト スキンは部分的に透明です。 結果として、コンテナーの背景色はそのコンテナー内にあるコントロールを通して部分的に表示されます。 コントロールの fillAlphas プロパティのアルファ値を 1 に設定することによって、これを避けることができます。
public Color getColor()
public Color getDisabledColor()
public List<Color> getFillColors()
平面的なコントロールには同じ色を両方の値として渡します。 デフォルト値は [ 0xFFFFFF, 0xCCCCCC ] です。
public int getFirstVisibleRow()
public String getFontFamily()
完全な CSS 実装と異なり、カンマ区切りリストはサポートされません。 任意のフォント ファミリ名を使用できます。 汎用フォント名を指定した場合、適切なデバイス フォントに置換されます。 デフォルト値は Verdana
です。
public double getFontSize()
ColorPicker コントロール以外のすべてのコントロールのデフォルト値は 10 です。 ColorPicker コントロールのデフォルト値は 11 です。
public String getFontStyle()
有効な値は normal
と italic
です。 デフォルト値は normal
です。
public String getFontWeight()
有効な値は、normal および bold です。 Button コントロールのデフォルト値は bold です。 他のすべてのコントロールのデフォルト値は normal です。
public int getLastVisibleRow()
public int getNumChildren()
public int getNumColumns()
public int getNumRows()
public Color getRollOverColor()
public double getSelectedIndex()
public Color getSelectionColor()
public String getTextAlign()
有効な値は left、right または center です。
ほとんどのコンポーネントのデフォルト値は left です。 FormItem コンポーネントの場合、デフォルト値は right です。 Button、LinkButton および AccordionHeader コンポーネントでは、デフォルト値は center です。このプロパティは labelPlacement プロパティが left または right に設定されている場合のみ認識されます。 labelPlacement が top または bottom に設定されている場合は、テキストおよびアイコンが中央に配置されます。
public String getTextDecoration()
有効な値は none
と underline
です。 デフォルト値は none
です。
public int getTextIndent()
Copyright 2009-2012 Micro Focus. All Rights Reserved.