Like what you see? Have a play with our trial version.

Data Types

TypeJava Data TypeNotes
TYPE_UNKNOWN  This type is used when the data type is not known, or when a parameter does not have a storage value (as in the case of a button parameter).
TYPE_NUMERICBigDecimal 
TYPE_TEXTString 
TYPE_DATEjava.sql.Date 
TYPE_TIMEjava.sql.Time 
TYPE_TIMESTAMPjava.sql.Timestamp 
TYPE_BOOLEANBoolean 
TYPE_BINARY byte[] 

TYPE_GISPOINT

TYPE_GISPOLYGON

TYPE_GISLINESTRING

TYPE_GISMULTILINE

TYPE_GISMULTIPOLY

TYPE_GISMULTIPOINT

TYPE_GISMULTIGEOMETRY

TYPE_GISGEOMETRY

GIS Geometry type

All relevant classes live under the com.hof.mi.gis.data package.
TYPE_PASSWORD

String

Tells Yellowfin to display this in a password input box rather than a plain text input.

TYPE_FIELD

TYPE_GISCACHEFIELD

Integer

Special data types that indicates a report field is required.

 

 

Display Types

TypeOptionsNotes

DISPLAY_TEXT_TINY

DISPLAY_TEXT_SMALL

DISPLAY_TEXT_MED

DISPLAY_TEXT_MEDLONG

DISPLAY_TEXT_LONG

ViewOptions:

  • Placeholder: placeholder text to show before a value has been entered.
  • Suffix: a display suffix which should be shown appended to the end of the actual value.
  • Width: override the width value of this input with a custom width. Note: This is a css property, so you can describe in whatever display unit you like. No unit defaults to px.
Several different default widths of text input boxes.
DISPLAY_SELECT

Options:

Each option added to a parameter with this display type will be shown as an option in the dropdown list. The value and description are taken from the option. For example:

p.addOption(“PUG”, “Small”);
p.addOption(“LAB”, “Large”);

 

ViewOptions:

  • Width: override the width value of this input with a custom width. Note: This is a css property, so you can describe in whatever display unit you like. No unit defaults to px
Select dropdown. Has a choice in the list for each option.
DISPLAY_RADIO

Options:

Each option added to a parameter with this display type will be shown as an option in the radio group. The value and description are taken from the option. For example:

p.addOption(“ONE”, “1”);
p.addOption(“TWO”, “2”);
p.addOption(“THREE”, “3”);

 

ViewOptions:

  • Valign: Specifies the valign css property for this element.
Radio button group. Has a radio button for each option.

DISPLAY_DATE

DISPLAY_TIMESTAMP

ViewOptions:

  • Width: Override the default width of this element.
Date input element with date-picker.
DISPLAY_TIMENone.Text input element which verifies time data input.
DISPLAY_CHECKBOX

Options:

Each option specified will be a checkbox in the list. Only the description will be shown, as the value will be true/false. For example, the options below will produce two checkboxes with the provided text.

p.addOption(“Likes dogs?”);
p.addOption(“Likes cats?”);
 
DISPLAY_HIDDENNone.Element is on the page, but not shown. This is currently only available for Third party drivers and source connections, its use elsewhere is undefined.
DISPLAY_SWITCH

Options:

You can specify two options which will be used as value and description for the left and right switch positions. Example:

p.addOption(“SOME_LEFT_VALUE”, “This is the left value”);
p.addOption(“SOME_RIGHT_VALUE”, “This is the right value”);
Toggle switch with description text for each value.
DISPLAY_BUTTON

Options:

You can set the text of the button by adding an option with the value “BUTTONTEXT” and description of the required text. Example:

p.addOption(“BUTTONTEXT”, “Click Me!”);
Standard Yellowfin button.
 DISPLAY_URLBUTTON

Options:

You can set the text of the button the same way as in DISPLAY_BUTTON, but this type also has another option for specifying the URL to open when clicked. It is specified by the option value “BUTTONURL” . Example:

p.addOption(“BUTTONURL”, “http://google.com”);
Standard Yellowfin button which opens a given link when clicked.
DISPLAY_STATIC_TEXTNone.This value is not in use and is deprecated. Its use is undefined.
DISPLAY_PASSWORDNone.Password input text box.
DISPLAY_COLOURNone.Standard Yellowfin colour-picker UI.
DISPLAY_SLIDER_AND_TEXT

ViewOptions:

  • sliderWidth: Override the default width of the slider element.
Slider input with a linked textbox which allows input via either method.

 

 

 

 

 

 

  • No labels