<text>要素
ネームスペース: http://xmlns.oracle.com/uix/ui/laf

<text>要素は、テキストベースのアイコンを定義します。

構文
<text
      text="string"
    [ styleClass="string" ]
>
     <!-- The following child can be anything derived from the given element -->
   <inlineStyle></inlineStyle>
</text>

注意:
  • この要素は<icon>要素内で使用されます。

  • 説明

    <text>要素は、テキストベースのアイコンを登録します。


    次の例では、テキスト・アイコンを登録する方法を示します。

                    <!-- Replace the required icon with a text icon.  -->
                    <icon name="ui:required">
                      <text text="*"/>
                    </icon>

    属性

    説明
    styleClass アイコンのテキストに適用されるスタイル・クラス。
    string
    text アイコンのテキスト。  必須。
    string

    子要素

    説明 必須 組込み可能な数
    <inlineStyle>
    アイコンのインライン・スタイル。
    いいえ 無限