<resetButton>要素 |
![]() |
ネームスペース: | http://xmlns.oracle.com/uix/ui |
派生元: | <ui:button>要素 |
グループ: | UIX Components |
要素の型: | UINode |
説明 |
![]() |
<resetButton>要素は、フォームのコンテンツをリセットする押しボタンを作成します。 リセット・ボタンでは子ノードはレンダリングされません。
例 |
![]() |
次の簡単な例では、3つのチェック・ボックスを作成します。 ユーザーは、「RESET」ボタンをクリックすることにより(アクセス・キーrでもアクセスできます)、3つのチェック・ボックスすべてをデフォルトの状態(チェックなし、チェック、チェックなし)にリセットできます。
<form name="resform">
<contents>
<stackLayout>
<contents>
<styledText text="Reset Elements." styleClass="OraHeaderSubSub" />
<checkBox text="Box1" name="checkbox1" value="1" />
<checkBox text="Box2" name="checkbox2" value="2" checked="true"/>
<checkBox text="Box3" name="checkbox3" value="3" />
<resetButton formName="resform" text="RESET" accessKey="r" />
</contents>
</stackLayout>
</contents>
</form>