[Home] [Contents] [Index] [Javadoc] | ![]() [Frames] [No Frames] |
[Previous] [Next] |
The following is a listing of most of the available properties in JClass Field and their default values. The properties are arranged alphabetically by property name. The second entry on any given row details the group or groups for which the property is appropriate. The third entry names the data type of the method's argument. A small number of properties are read-only variables, and therefore only have a get method. These properties are marked with a "(G)" following their property name. For a list of properties categorized by validator, component, and invalid, see Property Summaries in chapter 3.
![]() | |||
A read-only variable that contains the version number for this release of JClass Field. This read only property is supplied as a convenience function. |
|||
![]() | |||
Describes whether or not a null value is to be interpreted as a valid value. See state (G). |
|||
![]() | |||
The background color of the field. Typically, the color is |
|||
![]() | |||
If |
|||
![]() | |||
Determines the case of the characters displayed in the field. When the case policy is set to
|
|||
![]() | |||
Specifies the column in the data source to which the field is bound. |
|||
![]() | |||
Determines how selection is handled when the mouse button is held down on a spin arrow button. If |
|||
![]() | |||
Controls whether the value in a numeric field is treated as currency. |
|||
![]() | |||
The currency locale controls the display of currency in a numeric field by using the currency formatting conventions of the given locale. |
|||
![]() | |||
A read-only variable that contains the currency symbol used in the given currency locale. |
|||
![]() | |||
Binds the field to a data source component. The value specifies the name of the data source component combined with the table column to bind to. The format of the value is specific to each type of data source. |
|||
![]() | |||
Binds the field to a data source component. |
|||
![]() | |||
Specifies the detail level of the default format for date/time validators. Has no effect when the format property has been changed. The possible property values are listed below with examples of their display.
|
|||
![]() | |||
This property contains the edit format determined by the locale, for displaying date and time values. |
|||
![]() | |||
This property contains formats determined by the locale, for date and time values. |
|||
![]() | |||
The default value of the field which is used if |
|||
![]() | |||
Given an array of |
|||
![]() | |||
Method to set a pattern on the Decimal Format object used by the validator. This display format is in effect when the field does not have focus. See Number Format Characters. (See also editPattern) |
|||
![]() | |||
Controls whether double-buffering is used when displaying and updating the component. |
|||
![]() | |||
A list of strings that are used in an attempt to match the user's input to date and time formats. (See Date Formats in chapter 3.) Given an incomplete string, the calendar validator attempts to fill in the rest. If the validation fails, the field is marked as invalid. |
|||
![]() | |||
The display formatting pattern used when the field has focus. A number's format may be different while it is being edited from the format that is used when the field loses focus. An example is allowing the end-user to type in a leading hyphen (minus sign) to denote a negative number in a financial application, yet showing a bracketed number when editing is complete. (See displayPattern) |
|||
![]() | |||
Inherited from |
|||
![]() | |||
This read-only variable contains the number corresponding to the first space in a field in which a user can enter data. Its value will vary depending on the mask set. |
|||
![]() | |||
![]() | |||
![]() | |||
Controls the format currently being used to display the date/time values. The format string uses these conventions: |
|||
![]() | |||
Controls the amount by which to increment or decrement the field's value with each click on the spinner. The increment must be a non-zero positive number. |
|||
![]() | |||
Controls the background color used in the visual component if the field is invalid. By default, this value is inherited from the background color of the component. |
|||
![]() | |||
Describes a |
|||
![]() | |||
Controls the foreground color used in the visual component if the field is invalid. By default this value is inherited from the foreground color of the component. |
|||
![]() | |||
The
|
|||
![]() | |||
Specifies the validators used for each subfield of the IP. i.e. xxx.xxx.xxx.xxx You can associate one validator for each subfield. |
|||
![]() | |||
Controls the display of time and date values according to the given locale. |
|||
![]() | |||
Any alphabetic character. Lower case characters will be converted to upper case. |
|||
Any alphabetic character. Upper case characters will be converted to lower case. |
|||
Any alphanumeric character, that is, any character from the set {0-9a-zA-Z}. |
|||
The next character that follows is to be treated as a literal, even if it is one of the above characters. |
|||
![]() | |||
Use this property to reassign the mask characters. The meaning assigned to a character at a given position remains the same, but the character used to designate that meaning changes. Example: |
|||
![]() | |||
If |
|||
![]() | |||
Controls whether values must match those in the pick list of the validator or not. The default is true, but this property is only applicable if there are elements stored in the pick list. (See pickList) |
|||
![]() | |||
Controls the maximum possible value of the numeric object currently being checked by the validator. |
|||
![]() | |||
![]() | |||
Controls the interpretation of two-digit years. Any two-digit date less than the threshold is considered to be after the year 2000 while any value greater than or equal to the threshold is considered to be after the year 1900. The default is 69 so that, for example, '96 is treated as 1996 and '10 is treated as 2010. |
|||
![]() | |||
Controls the minimum possible value of the numeric object currently being checked by the validator. |
|||
![]() | |||
![]() | |||
![]() | |||
Controls the number of characters to match with the mask from left to right. This number does not include any literals. If the value is -1, the entire mask will be matched. |
|||
![]() | |||
![]() | |||
A list of valid values for the field. If used in conjunction with |
|||
![]() | |||
The get method for this property returns the list of entries in the pick list of a given field. |
|||
![]() | |||
Describes the place holder string, which specifies the prompt characters to be used in place of blanks (spaces) in a masked field. If the place holder character string is null or if an empty character exists after the number of characters provided then the field uses a space character. Note: use the |
|||
![]() | |||
This property allows you to set both min and max at the same time. Use the get methods for min and max to return the values that determine the range. |
|||
![]() | |||
Controls whether a field on a given form must have a valid value to before the form can be submitted. |
|||
![]() | |||
Controls whether the value in a field is selected upon the field gaining focus. |
|||
![]() | |||
![]() | |||
Controls the action of the spin-arrow buttons. The possible property values are listed below with their corresponding meanings.
|
|||
![]() | |||
Describes the state of the field. The possible values of this property are listed.below with their corresponding meanings.
|
|||
![]() | |||
The timeZone property controls the time value using conventions of the given time zone. |
|||
![]() | |||
This property is used to store a short informative prompt describing the field to help end-users know what type of data to enter. |
|||
![]() | |||
Controls whether a numeric field with currency set displays its value using the international currency symbol for a given locale or using the symbol used by convention in that locale |
|||
![]() | |||
Describes a String of characters which are allowed as input in the current field. Use this property if the number of valid characters is less than the number of invalid ones. (See invalidChars) |
|||
![]() | |||
This is the fundamental property of a field. It fully describes the object's value. A field's value is set as a result of some valid action on the field that changes its data and has been approved by the associated validator. |
|||
![]() | |||
This read-only variable contains the class of the value in the field. |
[Home] [Contents] [Index] [Javadoc] | Comments on the documentation? Please send them to jclass_docs@klgroup.com |
[Previous] [Next] | |
[Frames] [No Frames] |