<comparison>要素 |
 |
ネームスペース: |
http://xmlns.oracle.com/uix/ui |
派生元: |
<ui:boundValue>要素 |
グループ: |
UIX Components |
要素の型: |
BoundValue |
<comparison>要素は、指定した比較演算子を使用して、2つの子バインド値を比較します。
構文 |
 |
<comparison >
<!-- The following child can be anything derived from the given element -->
</comparison>
注意:
この要素は派生元要素のすべての属性と子要素を持つことができます。
この要素にはテキストを含めることができます。
説明 |
 |
<comparison>要素は、指定した比較演算子を使用して、2つの子バインド値を比較します。注意: 等号または不等号以外で比較に使用できるのは、java.lang.Number値のみです。
例 |
 |
<dataScope>
<provider>
<data name="ifData">
<inline conditional="false"
isTrue="If test was true."
isFalse="If test was false."/>
</data>
</provider>
<contents>
<styledText styleClass="OraInstructionText" >
<boundAttribute name="text">
<if>
<comparison type="notEquals">
<dataObject select="conditional" source="ifData"/>
<fixed javaType="boolean">true</fixed>
</comparison>
<dataObject select="isTrue" source="ifData"/>
<dataObject select="isFalse" source="ifData"/>
</if>
</boundAttribute>
</styledText>
</contents>
</dataScope>
属性 |
 |
|
説明 |
型 |
type |
比較に使用する演算子。指定可能な値は、equals、notEquals、greaterThan、lessThan、greaterThanOrEquals、lessThanOrEqualsです。必須。 |
ui:comparisonType |
|
子要素 |
 |
|
説明 |
必須 |
組込み可能な数 |
<(その他の要素)> |
boundValueを表す2つの子要素。
|
はい |
2 |
|