Difference between revisions of "PrF UG forms string widgets"

From Protege Wiki
Jump to: navigation, search
Line 18: Line 18:
 
! Sample
 
! Sample
 
|-
 
|-
| YellowStickyWidget
+
|
| Displays the string entry field as a yellow sticky note.
+
YellowStickyWidget
 +
|
 +
Displays the string entry field as a yellow sticky note.
 
|
 
|
 
[[Image:PrF_UG_forms_yellowstickywidget_small.png|forms_yellowstickywidget_small]]
 
[[Image:PrF_UG_forms_yellowstickywidget_small.png|forms_yellowstickywidget_small]]
 
|-
 
|-
| TextAreaWidget
+
|
| Displays the entry field as a text area - useful for extensive strings.
+
TextAreaWidget
 +
|
 +
Displays the entry field as a text area - useful for extensive strings.
 
|
 
|
 
[[Image:PrF_UG_forms_textareawidget_instance.png|forms_textareawidget_instance]]
 
[[Image:PrF_UG_forms_textareawidget_instance.png|forms_textareawidget_instance]]
 
|-
 
|-
| UniqueStringWidget
+
|
| Identical in appearance to the default TextStringWidget,
+
UniqueStringWidget
 +
|
 +
Identical in appearance to the default TextStringWidget,
 
but verifies that the entered string is a unique value,
 
but verifies that the entered string is a unique value,
i.e.,
+
i.e., it is not the same value at any other instance.
it is not the same value at any other instance.
 
 
|
 
|
 
[[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]]
 
|-
 
|-
| URLWidget
+
|
 +
URLWidget
 
|
 
|
 
Allows the user to enter and display a URL.
 
Allows the user to enter and display a URL.
Line 48: Line 54:
 
[[Image:PrF_UG_forms_urlwidget_small.png|forms_urlwidget_small]]
 
[[Image:PrF_UG_forms_urlwidget_small.png|forms_urlwidget_small]]
 
|-
 
|-
| ImageWidget
+
|
| Allows the user to enter the path to an image.
+
ImageWidget
 +
|
 +
Allows the user to enter the path to an image.
 
Pressing <b>Enter/Return</b> loads the image.
 
Pressing <b>Enter/Return</b> loads the image.
 
|
 
|
Line 64: Line 72:
 
! Sample
 
! Sample
 
|-
 
|-
| ResourceListWidget
+
|
 +
ResourceListWidget
 
|
 
|
 
Allows the user to enter a list of URLs;
 
Allows the user to enter a list of URLs;

Revision as of 00:47, October 16, 2008

Additional String Widgets


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

There are a number of additional widget types available for String widgets.

Single Cardinality String Widgets

The following widgets are available for a String field of Single cardinality. These widgets can be chosen by selecting a String widget at the Forms Tab and then selecting the desired widget from the Widget Type Menu:

Widget Name Description Sample

YellowStickyWidget

Displays the string entry field as a yellow sticky note.

Error creating thumbnail: Unable to save thumbnail to destination

TextAreaWidget

Displays the entry field as a text area - useful for extensive strings.

Error creating thumbnail: Unable to save thumbnail to destination

UniqueStringWidget

Identical in appearance to the default TextStringWidget, but verifies that the entered string is a unique value, i.e., it is not the same value at any other instance.

Error creating thumbnail: Unable to save thumbnail to destination

URLWidget

Allows the user to enter and display a URL. Entering a URL and pressing Enter/Return

or clicking Home
Error creating thumbnail: Unable to save thumbnail to destination

loads the URL into the field. Clicking View in Browser

Error creating thumbnail: Unable to save thumbnail to destination

opens the URL in the default browser.

Error creating thumbnail: Unable to save thumbnail to destination

ImageWidget

Allows the user to enter the path to an image. Pressing Enter/Return loads the image.

Error creating thumbnail: Unable to save thumbnail to destination

Multiple Cardinality String Widgets

The following widget is available for a String field of Multiple cardinality.

Widget Name Description Sample

ResourceListWidget

Allows the user to enter a list of URLs; checks to see that the syntax of the entered string is a valid URL, but does not verify that the URL is available. See Using a ResourceListWidget for more information.

Error creating thumbnail: Unable to save thumbnail to destination