# Format

Defines what format the program uses to interpret data as it is exchanged between the component and its associated data object. When you click the Format value field in the right pane of the Properties window, you can select one of the following values from the drop down list. If you select any value other than None, you must specify whether a user must enter a value in this field. Do this by selecting either true or false in the Required value field.

None

Specifies that there the component has no specific format.

> Integer

> > Specifies that the value in the component must be an integer within the the range, value1 - value2, where value1 is the value specified in the Min Value field, and value2 is the value specified in the Max Value field.

> Short

> > Specifies that the value in the component must be a short within the range, value1 - value2, where value1 is the value specified in the Min Value field, and value2 is the value specified in the Max Value field.

> Long

> > Specifies that the value in the component must be a long within the range, value1 - value2, where value1 is the value specified in the Min Value field, and value2 is the value specified in the Max Value field.

> Float

> > Specifies that the value in the component must be a floating point number within the range, value1 - value2, where value1 is the value specified in the Min Value field, and value2 is the value specified in the Max Value field.

> String

> > Specifies that the value in the component must be a string whose length is within the range, value1 - value2, where value1 is the value specified in the Min Length field, and value2 is the value specified in the Max Length field.

> Percent

> > Verifies that the data in the component contains a valid floating point value between 0.0 and 100.0.

> Date

> > Verifies that the data in the component contains a date that is correctly formatted for the specified locale.

> Time

> > Verifies that the data in the component contains a time that is correctly formatted for the specified locale.

> Internet address

> > Verifies that the data in the component contains a valid Internet address.

> Class

> > Specifies a class name or a package and class name that handles the data formatting. For example, mypackage.mydataclass.