User:Jcreer/SMS:DMI Table Elements: Difference between revisions
From XMS Wiki
Jump to navigationJump to search
Line 151: | Line 151: | ||
|- | |- | ||
|'''Used by''' | |'''Used by''' | ||
|width="530"| | |width="530"| table | ||
|} | |} | ||
Revision as of 17:15, 9 March 2015
Element <column>
Info | Definition of the column in the table. A widget defined in a column will be the widget used for each cell in the column. |
Versions | 1, 2 |
Attributes | none |
Children | text, read_only, optional, dependency, text_box, combo_box, edit_box, all elements starting with “custom_control”, check_box |
Used by | table |
Example | Column1 is read only, Column 2 isn’t read only and is also optional. This means the column can have empty fields and a warning message won’t be displayed.
< table > … <column> <text>Column1</text> <read_only></read_only> </ column > < column > <text>Column2</text> <optional></optional> </ column > </ table > |
Element <row>
Info | Typically a user would only use row if there is a fixed table and wanting to display row text or to specify specific rows as read only. Row tags are placed inside a < table >. |
Versions | 1, 2 |
Attributes | none |
Children | text, read_only, optional, dependency, text_box, combo_box, edit_box, all elements starting with “custom_control”, check_box, text_style |
Used by | table |
Example | Row 1 is read only, row 2 isn’t
< table > … <row> <text>Row1</text> <read_only></read_only> </row> <row> <text>Row2</text> </row> </ table > |
Element < table >
Info | Table widget with columns and rows. Will most likely have multiple column and row tags. |
Versions | 1, 2 |
Attributes | none |
Children | read_only, column, row, dependency, unique_name, text_style |
Used by | item |
Example | Read only table with 2 columns and 3 rows. The number of rows are fixed.
< table > <unique_name>myTable </unique_name> <read_only></read_only> <fixed_row_count>3</fixed_row_count> <column> <text>hours</text> </column> <column> <text>minutes</text> </column> </ table > |
Element <x_column>, <y_column>
Info | Used to define the attributes in the column such as text (heading). |
Versions | 2 |
Attributes | none |
Children | text |
Used by | control_curve |
Example | This example creates a curve button with the date/time flag.
<item> <control_curve> <unique_name>myCurve1</unique_name> <flags>XY_USEDATE</flags> <x_column> <text>Time </x_column> <y_column> <text>Velocity</text> </y_column> </control_curve> … |
Attributes <min_height>
Info | A minimum value. Default is 0. |
Values | positive integer
0: default |
Versions | 2 |
Attributes | none |
Used by | table |
Attributes <min_row_count>
Info | Used to set the maximum number of rows allowed in a table. |
Values | integer
0: default |
Versions | 3 |
Attributes | none |
Used by | table |
SMS – Surface-water Modeling System | ||
---|---|---|
Modules: | 1D Grid • Cartesian Grid • Curvilinear Grid • GIS • Map • Mesh • Particle • Quadtree • Raster • Scatter • UGrid | |
General Models: | 3D Structure • FVCOM • Generic • PTM | |
Coastal Models: | ADCIRC • BOUSS-2D • CGWAVE • CMS-Flow • CMS-Wave • GenCade • STWAVE • WAM | |
Riverine/Estuarine Models: | AdH • HEC-RAS • HYDRO AS-2D • RMA2 • RMA4 • SRH-2D • TUFLOW • TUFLOW FV | |
Aquaveo • SMS Tutorials • SMS Workflows |