User:Jcreer/SMS:DMI Check Box Elements: Difference between revisions
From XMS Wiki
Jump to navigationJump to search
Line 11: | Line 11: | ||
|- | |- | ||
|'''Attributes''' | |'''Attributes''' | ||
| | |default, | ||
export_text_checked, | |||
export_text_unchecked, | |||
text, | |||
unique_name, | |||
|- | |- | ||
|'''Children''' | |'''Children''' | ||
|width="530"| | |width="530"| [[SMS:Dynamic Model Interface Schema#Element <dependency>|dependency]], [[SMS:Dynamic Model Interface Schema#Element <text_style>|text_style]] | ||
|- | |- | ||
|'''Used by''' | |'''Used by''' |
Revision as of 22:18, 10 March 2015
Elements
Element <check_box>
Info | Widget that displays text that is checked/unchecked. |
Versions | 1, 2 |
Attributes | default,
export_text_checked, export_text_unchecked, text, unique_name, |
Children | dependency, text_style |
Used by | item |
Example |
<check_box> <text>Calculate Sediment Transport</text> <default>checked</default> <unique_name>togCalcSedimentTransport</unique_name> <export_text_checked>ON</export_text_checked> <export_text_unchecked>OFF</export_text_unchecked> <dependency>…</dependency>… </ check_box > |
Attributes
Attribute @ <export_text_checked>
Info |
Specified the text to be exported when the check box is set to true |
Values | string |
Version | 1 |
Used by | check_box |
Attribute @ <export_text_unchecked>
Info |
Specified the text to be exported when the check box is set to false |
Values | string |
Version | 1 |
Used by | check_box |
Attribute @ <unique_name>
Info |
A unique name given to an widget, which determines how to reference the widget. This is needed if the widget is being used as a dependency (parent), or if the widget value is being exported. When a unique_name is being referenced it should be by the file (nothing if current file), then unique_name. No spaces or punctuation (except _) are allowed in the name. The name must contain at least 1 non-numeric letter. The name must be unique. Names are not case sensitive, hence “aaa” is the same as “AAA”. |
Values | string (unique) |
Version | 1 |
Used by | card, text_box, combo_box, edit_box, table, all elements starting with “custom_control”, check_box, text_box, control_curve |