新しいコンテンツを UI に渡し、更新します。
識別子: ui_update
<ui_update id="show_specified_amount"> <widget_params> <ui_element name="EXT_SCANNER_NAME"> <param name="content">Socket 7Xi</param>< /ui_element> <ui_element name="STATUS">< param name="content">CONNECTED</param>< param name="text_color">green.dark</param>< /ui_element> </widget_params> </ui_update>
ボタンのステータスを変更します。これは、ボタンをアクティブ化または非アクティブ化するために使用されます。
識別子: change_button_status
<change_button_status id="deactivate_continue_btn"> <button_tag>CONTINUE_BTN</button_tag> <control>DEACTIVATE</control>< /change_button_status>
アプリケーションの側面に一時的な通知を表示します。ワークフローには影響しません。
識別子: ui_notification
<ui_notification id="error_note" type="ERROR" duration="LONG" show_immediately="true"> <message>No server connection established!</message> </ui_notification>
ユーザーとの対話を必要とするダイアログウィンドウを表示します。特定の呼び出しステップでユーザーがクリックしたボタンなどのイベントを送信します。
識別子: ui_dialog
ボタンがクリックされたとき (または音声コマンドが認識されたとき) に、ボタン内で指定されたコマンドを含むイベントをトリガーします。
<ui_dialog id="test" type="INFO" title="私のタイトル" message="私のメッセージ"> <buttons> <button text="新しい注文" command="NEW_ORDER" speech_command="ノイエオーダー" focused="true"/> <button text="同じ注文" command="SAME_ORDER"/> </buttons>< /ui_dialog>
ユーザーの操作を必要とするダイアログ画面を表示します。ウィンドウが閉じられた後に発生するダイアログ イベントを送信します。
識別子: ui_page_dialog
ユーザーがクリックできるボタンは 3 つあります。
ボタンがクリックされたとき (またはその音声コマンドが認識されたとき) に、ボタン内に指定されたコマンドを含むイベントをトリガーします。
極小
<ui_page_dialog id="show-server-errors-dialog" type="ERROR" title="プロシージャが失敗しました"> <messages> <message>最初のエラー...</message> <message>Second エラー...</message> <message>3 番目のエラー...</message>< /messages> <buttons> <previous_page_btn>< param name="text">←</param> <param name="speech_command">PREVIOUS</param> </previous_page_btn> <next_page_btn>< param name="text">→</param> <param name="speech_command">NEXT</param> <param name="focused">true</param>< /next_page_btn> <close_btn>< param name="text">ANDRRES_cancel</param> <param name="command">EXIT_PAGER</param> <param name="speech_command">CANCEL</param> </close_btn> </buttons>< /ui_page_dialog>
すべてのオプション
<ui_page_dialog id="confirm_pick" type="INFO" title="Here we go again"> <messages> <message>what</message>< message>to</message>< message>do</message>< /messages>< buttons><previous_page_btn> < text><![CDATA[<]]></text> <speech_command>PREVIOUS</speech_command>< focused>false</focused> </previous_page_btn> <next_page_btn>< text><![CDATA[>]]></text> <speech_command>NEXT</speech_command> <focused>true</focused>< /next_page_btn> <close_btn> <text>return</text> <command>BW</command><speech_command> RETURN</speech_command> <focused>false</focused>< /close_btn> </buttons>< /ui_page_dialog>
context_variable = true の使用
<ui_page_dialog id="confirm_what_to_do" type="INFO" title="Here we go again"> <messages context_variable="true">#{what_to_do}</messages> <buttons><previous_page_btn> <text><![CDATA[<]]></textです> <speech_command>前へ</speech_command> <focused>false</focused> </previous_page_btn> <next_page_btn> <テキスト><![CDATA[>]]></textです> <speech_command>次へ</speech_command> <focused>false</focused> </next_page_btn> <close_btn> <text>ANDRRES_cancel</テキスト> <command>BW</コマンド> <speech_command>返却</speech_command> <focused>false</focused> </close_btn> </ボタン> </ui_page_dialog>
結果の処理
<ルールid="confirm_what_to_do_back"> <expression> <![CDATA[#{event:command} == 'BW' || #{event:command} == 'RETURN']]> </expression> <actions> <action ref="backwards"></action>< /actions>< /rule>
画面の右上隅にある中間の中断のない通知を開いたり閉じたりします。これにより、バックグラウンドで何かが起こっているかどうかをワーカーに知らせることができます。
推奨される使用例:
識別子: ui_progress_notification
極小
通知を開くには:
<ui_progress_notification id="show_progress"> <param name="id">group_confirmation</param> <param name="message">Bestätige Schritt</param> <param name="action">show</param>< /ui_progress_notification>
通知を再度閉じるには、次の操作を行います。
<ui_progress_notification id="close_progress"> <param name="id">group_confirmation</param> <param name="action">close</param> </ui_progress_notification>
すべてのオプション
<ui_progress_notification id="show_progress"> <param name="id">group_confirmation</param> <param name="title">CommitProcess</param>< param name="message">PickGroupの確認</param> <param name="action">show</param>< /ui_progress_notification> <ui_progress_notification id="close_progress"> <param name="id">group_confirmation</param>< param name="action">close</param>< /ui_progress_notificatio
レイアウト内の新しいスタイルを作成したり、既存のスタイルを変更したりできます。
推奨される使用例:
識別子: modify_style_repo
極小
<modify_style_repo id="change_exception_style" style_name="list_item_style_same_size">< properties> <param name="text_group" type="string">#{test_group}</param>< /properties>< /modify_style_repo>
UI レイアウト要素の参照スタイル:
<リスト名="SELF_MENU_TABLE_MENU" Weight =" 0.75" FocusOrder =" 0" TextStyle =" LIST_ITEM_STYLE_SAME_SIZE" PageIndicatorStyle =" PAGE_INDICATOR_STYLE" EntriesPerPage =" 5" Border =" 0,gray.dark,black" Padding =" 10,0,10,0"/>
生成:
すべてのオプション
<modify_style_repo id="change_exception_style" style_name="list_item_style_same_size"> <param name="base_on" type="string">list_item_style</param> <properties>< param name="text_group" type="string">#{test_group}</param> <param name="maxtextsize" type="string">15</param> <param name="gravity" type="string">center</param> </properties>< /modify_style_repo>
ユーザー インターフェイス (UI) 内にフォーカス項目を設定します。
識別子: ui_set_focus_item
<ui_set_focus_item id="myaction"><ui_set_focus_item/>