Difference between revisions of "PrF UG forms widget default types"
(Automated import of articles) |
|||
Line 4: | Line 4: | ||
{{PrF_UG_TOC_forms}}<div id='prf_ug'> | {{PrF_UG_TOC_forms}}<div id='prf_ug'> | ||
− | The | + | The [[PrF_UG_forms_form_edit_pane|Form Editor]] |
− | [[PrF_UG_forms_form_edit_pane|Form Editor]] | ||
displays a widget for each slot in the class. | displays a widget for each slot in the class. | ||
− | In the | + | In the [[PrF_UG_inst_instance_editor|Instance Editor]], |
− | [[PrF_UG_inst_instance_editor|Instance Editor]], | ||
these widgets are displayed as fields where users can enter the information for that slot. | these widgets are displayed as fields where users can enter the information for that slot. | ||
− | The possible display and options for the widget depend on the type of information that is included in the slot. | + | The possible display and options for the widget |
+ | depend on the type of information that is included in the slot. | ||
For more information on the different types of slots and fields, | For more information on the different types of slots and fields, | ||
− | see the | + | see the [[PrF_UG_inst|Instances Table of Contents]]. |
− | [[PrF_UG_inst|Instances Table of Contents]]. | ||
When {{#var:PrF}} generates a default layout, | When {{#var:PrF}} generates a default layout, | ||
it creates a default widget for each slot. | it creates a default widget for each slot. | ||
− | These widgets are described below. {{#var:PrF}} provides widgets for both <b>Single</b> and <b>Multiple</b> cardinality. | + | These widgets are described below. |
− | For simplicity, | + | {{#var:PrF}} provides widgets for both <b>Single</b> and <b>Multiple</b> cardinality. |
− | only the <b>Single</b> cardinality is shown. | + | For simplicity, only the <b>Single</b> cardinality is shown. |
For a description of the Multiple cardinality widget, | For a description of the Multiple cardinality widget, | ||
see the topic for the corresponding field. | see the topic for the corresponding field. | ||
− | <b>Note:</b> These topics describe the default widgets only. | + | <b>Note:</b> |
− | You can select different formats for the widgets using the | + | These topics describe the default widgets only. |
− | [[PrF_UG_forms_widget_type_menu|Widget Type Menu]]. | + | You can select different formats for the widgets |
+ | using the [[PrF_UG_forms_widget_type_menu|Widget Type Menu]]. | ||
{| summary="default widgets" | {| summary="default widgets" | ||
Line 37: | Line 36: | ||
| | | | ||
[[PrF_UG_inst_entry_field_boolean|Boolean]] | [[PrF_UG_inst_entry_field_boolean|Boolean]] | ||
− | | <b>CheckBoxWidget:</b> a checkbox widget that is true when selected or false when blank | + | | <b>CheckBoxWidget:</b> |
+ | a checkbox widget that is true when selected or false when blank | ||
| | | | ||
[[Image:PrF_UG_slots_boolean_unchecked.png|slots_boolean_unchecked]] | [[Image:PrF_UG_slots_boolean_unchecked.png|slots_boolean_unchecked]] | ||
Line 45: | Line 45: | ||
| | | | ||
[[PrF_UG_inst_entry_field_class|Class]] | [[PrF_UG_inst_entry_field_class|Class]] | ||
− | | <b>ClsFieldWidget:</b> a display widget and buttons that allow the user to specify a class as the field value | + | | <b>ClsFieldWidget:</b> |
+ | a display widget and buttons | ||
+ | that allow the user to specify a class as the field value | ||
| | | | ||
[[Image:PrF_UG_inst_field_type_class_location.png|instances_field_type_class_location]] | [[Image:PrF_UG_inst_field_type_class_location.png|instances_field_type_class_location]] | ||
Line 62: | Line 64: | ||
| | | | ||
[[PrF_UG_inst_entry_field_instance|Instance]] | [[PrF_UG_inst_entry_field_instance|Instance]] | ||
− | | <b>InstanceFieldWidget:</b> a display widget and buttons that allow the user to specify an instance as the field value | + | | <b>InstanceFieldWidget:</b> |
+ | a display widget and buttons that allow the user to specify an instance as the field value | ||
| | | | ||
[[Image:PrF_UG_inst_filled_entry_instance.png|instances_filled_entry_instance]] | [[Image:PrF_UG_inst_filled_entry_instance.png|instances_filled_entry_instance]] | ||
Line 79: | Line 82: | ||
| | | | ||
[[PrF_UG_inst_entry_field_string|String]] | [[PrF_UG_inst_entry_field_string|String]] | ||
− | | <b>TextFieldWidget:</b> an entry widget that verifies that the entered value is a valid string | + | | <b>TextFieldWidget:</b> |
+ | an entry widget that verifies that the entered value is a valid string | ||
| | | | ||
[[Image:PrF_UG_inst_filled_entry_field_string.png|instances_filled_entry_field_string]] | [[Image:PrF_UG_inst_filled_entry_field_string.png|instances_filled_entry_field_string]] | ||
Line 87: | Line 91: | ||
| | | | ||
[[PrF_UG_inst_entry_field_symbol|Symbol]] | [[PrF_UG_inst_entry_field_symbol|Symbol]] | ||
− | | <b>ComboBoxWidget:</b> a drop-down list that displays the Symbol's preset list of values | + | | <b>ComboBoxWidget:</b> |
+ | a drop-down list that displays the Symbol's preset list of values | ||
| | | | ||
[[Image:PrF_UG_inst_filled_entry_symbol.png|instances_filled_entry_symbol]] | [[Image:PrF_UG_inst_filled_entry_symbol.png|instances_filled_entry_symbol]] | ||
|} | |} | ||
− | In addition to these widgets, {{#var:PrF}} also provides a | + | In addition to these widgets, |
− | [[PrF_UG_|graph widget]], | + | {{#var:PrF}} also provides a [[PrF_UG_|graph widget]], |
which allows you to display relational information in the form of a diagram or graph. | which allows you to display relational information in the form of a diagram or graph. | ||
</div> | </div> |
Revision as of 15:42, October 15, 2008
Default Widget Types
The Form Editor displays a widget for each slot in the class. In the Instance Editor, these widgets are displayed as fields where users can enter the information for that slot. The possible display and options for the widget depend on the type of information that is included in the slot. For more information on the different types of slots and fields, see the Instances Table of Contents.
When Protege-Frames generates a default layout, it creates a default widget for each slot. These widgets are described below. Protege-Frames provides widgets for both Single and Multiple cardinality. For simplicity, only the Single cardinality is shown. For a description of the Multiple cardinality widget, see the topic for the corresponding field.
Note: These topics describe the default widgets only. You can select different formats for the widgets using the Widget Type Menu.
Value Type | Field Type | Default Widget | Default Appearance |
---|---|---|---|
CheckBoxWidget:
a checkbox widget that is true when selected or false when blank |
|||
ClsFieldWidget:
a display widget and buttons that allow the user to specify a class as the field value |
|||
FloatFieldWidget:
an entry widget that verifies that the entered value is a valid decimal number |
|||
InstanceFieldWidget:
a display widget and buttons that allow the user to specify an instance as the field value |
|||
IntegerFieldWidget:
an entry widget that verifies that the entered value is a valid whole number |
|||
TextFieldWidget:
an entry widget that verifies that the entered value is a valid string |
|||
ComboBoxWidget:
a drop-down list that displays the Symbol's preset list of values |
In addition to these widgets, Protege-Frames also provides a graph widget, which allows you to display relational information in the form of a diagram or graph.