public class FlexLabel extends FlexObject
修飾子 | コンストラクタと説明 |
---|---|
protected |
FlexLabel(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい FlexLabel を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
Color |
getColor()
[読み取り専用] コンポーネント ラベルを含むコンポーネントのテキストの色。
|
Color |
getDisabledColor()
[読み取り専用] コンポーネントが無効な場合のテキストの色。
|
String |
getFontFamily()
[読み取り専用] 使用するフォントの名前。
|
double |
getFontSize()
[読み取り専用] テキストの高さ(ピクセル単位)。
|
String |
getFontStyle()
[読み取り専用] テキストがイタリック フォントかどうか。
|
String |
getFontWeight()
[読み取り専用] テキストがボールド体かどうか。
|
String |
getHtmlText()
[読み取り専用] Label コントロールによって表示されるテキスト(そのテキストのスタイルを表現する HTML マークアップを含む)。
|
String |
getText()
[読み取り専用] このコントロールで表示されるプレーン テキスト。
|
String |
getTextAlign()
[読み取り専用] コンテナー内のテキストの配置。
|
String |
getTextDecoration()
[読み取り専用] テキストに下線を表示するかどうか。
|
int |
getTextIndent()
[読み取り専用] テキストの 1 行目のコンテナー左端からのオフセット(ピクセル単位)。
|
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, 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 FlexLabel(JtfObjectHandle handle, Desktop desktop)
handle
- FlexLabel を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic Color getColor()
public Color getDisabledColor()
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 String getHtmlText()
このプロパティで HTML テキストを指定する場合は、Flash TextField コントロールでサポートされている HTML タグのサブセットを使用できます。
public String getText()
getText
クラス内 TestObject
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.