Difference between revisions of "PrF UG forms widget default types"

From Protege Wiki
Jump to: navigation, search
(Default Widget Types)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
== Default Widget Types ==
 
== Default Widget Types ==
  
{{PrF_UG_TOC_forms}}<div id='prf_ug'>
+
<noinclude>{{PrF_UG_TOC_forms}}<div id='prf_ug'></noinclude>
  
 
The [[PrF_UG_forms_form_edit_pane|Form Editor]]
 
The [[PrF_UG_forms_form_edit_pane|Form Editor]]
Line 26: Line 26:
 
using the [[PrF_UG_forms_widget_type_menu|Widget Type menu]].
 
using the [[PrF_UG_forms_widget_type_menu|Widget Type menu]].
  
 +
<div class='b'>
 
{| summary="default widgets"
 
{| summary="default widgets"
 
! Value Type
 
! Value Type
 
! Field Type
 
! Field Type
 
! Default Widget
 
! Default Widget
! Default Appearance
 
 
|-
 
|-
 
|
 
|
Line 39: Line 39:
 
<b>CheckBoxWidget:</b>
 
<b>CheckBoxWidget:</b>
 
a checkbox widget that is true when selected or false when blank
 
a checkbox widget that is true when selected or false when blank
|
+
<p>[[Image:PrF_UG_slots_boolean_unchecked.png|slots_boolean_unchecked]]</p>
[[Image:PrF_UG_slots_boolean_unchecked.png|slots_boolean_unchecked]]
 
 
|-
 
|-
 
|
 
|
Line 50: Line 49:
 
a display widget and buttons
 
a display widget and buttons
 
that allow the user to specify a class as the field value
 
that allow the user to specify a class as the field value
|
+
<p>[[Image:PrF_UG_inst_field_type_class_location.png|instances_field_type_class_location]]</p>
[[Image:PrF_UG_inst_field_type_class_location.png|instances_field_type_class_location]]
 
 
|-
 
|-
 
|
 
|
Line 60: Line 58:
 
<b>FloatFieldWidget</b>:
 
<b>FloatFieldWidget</b>:
 
an entry widget that verifies that the entered value is a valid decimal number
 
an entry widget that verifies that the entered value is a valid decimal number
|
+
<p>[[Image:PrF_UG_inst_filled_entry_float.png|instances_filled_entry_float]]</p>
[[Image:PrF_UG_inst_filled_entry_float.png|instances_filled_entry_float]]
 
 
|-
 
|-
 
|
 
|
Line 70: Line 67:
 
<b>InstanceFieldWidget:</b>
 
<b>InstanceFieldWidget:</b>
 
a display widget and buttons that allow the user to specify an instance as the field value
 
a display widget and buttons that allow the user to specify an instance as the field value
|
+
<p>[[Image:PrF_UG_inst_filled_entry_instance.png|instances_filled_entry_instance]]</p>
[[Image:PrF_UG_inst_filled_entry_instance.png|instances_filled_entry_instance]]
 
 
|-
 
|-
 
|
 
|
Line 80: Line 76:
 
<b>IntegerFieldWidget</b>:
 
<b>IntegerFieldWidget</b>:
 
an entry widget that verifies that the entered value is a valid whole number
 
an entry widget that verifies that the entered value is a valid whole number
|
+
<p>[[Image:PrF_UG_inst_filled_entry_integer.png|instances_filled_entry_integer]]</p>
[[Image:PrF_UG_inst_filled_entry_integer.png|instances_filled_entry_integer]]
 
 
|-
 
|-
 
|
 
|
Line 90: Line 85:
 
<b>TextFieldWidget:</b>
 
<b>TextFieldWidget:</b>
 
an entry widget that verifies that the entered value is a valid string
 
an entry widget that verifies that the entered value is a valid string
|
+
<p>[[Image:PrF_UG_inst_filled_entry_field_string.png|instances_filled_entry_field_string]]</p>
[[Image:PrF_UG_inst_filled_entry_field_string.png|instances_filled_entry_field_string]]
 
 
|-
 
|-
 
|
 
|
Line 100: Line 94:
 
<b>ComboBoxWidget:</b>
 
<b>ComboBoxWidget:</b>
 
a drop-down list that displays the Symbol's preset list of values
 
a drop-down list that displays the Symbol's preset list of values
|
+
<p>[[Image:PrF_UG_inst_filled_entry_symbol.png|instances_filled_entry_symbol]]</p>
[[Image:PrF_UG_inst_filled_entry_symbol.png|instances_filled_entry_symbol]]
 
 
|}
 
|}
 +
</div>
  
 
In addition to these widgets,
 
In addition to these widgets,
Line 108: Line 102:
 
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>
+
 
 +
<noinclude></div></noinclude>

Latest revision as of 18:00, November 13, 2008

Default Widget Types


Protege-Frames User's Guide
Forms
Understanding Forms
Forms Tab
Form Browser
Form Buttons
Form Editor
Display Slot Menu
Selected Widget Type Menu
Widget Configuration Dialog
Form Configuration Dialog Box
Default Widget Types
Additional String Widgets
Instance Row and Table Widgets
Contains Widget
Direct Instances Widget
Global Characteristics
Moving or Resizing a Widget
Widget Configuration Properties
Selecting a Widget Display
Hiding a Widget
Customizing a Row or Table Widget
Customizing a Contains Widget
Using a Resource List Widget
Additional Widget Types
Glossary, Editing Help

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

Boolean

Boolean

CheckBoxWidget: a checkbox widget that is true when selected or false when blank

slots_boolean_unchecked

Class

Class

ClsFieldWidget: a display widget and buttons that allow the user to specify a class as the field value

instances_field_type_class_location

Float

Float

FloatFieldWidget: an entry widget that verifies that the entered value is a valid decimal number

instances_filled_entry_float

Instance

Instance

InstanceFieldWidget: a display widget and buttons that allow the user to specify an instance as the field value

instances_filled_entry_instance

Integer

Integer

IntegerFieldWidget: an entry widget that verifies that the entered value is a valid whole number

instances_filled_entry_integer

String

String

TextFieldWidget: an entry widget that verifies that the entered value is a valid string

instances_filled_entry_field_string

Symbol

Symbol

ComboBoxWidget: a drop-down list that displays the Symbol's preset list of values

instances_filled_entry_symbol

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.