| Category: Text fields
Password field |
|
A password text field with an optional leading label. The user input is displayed with '*' characters. The user input is saved to a variable.
|
Properties: |
-
Text field columns
The width of the text field, expressed as a multiple of the width of the character 'm'. If zero, the text field will fill the entire horizontal space.
-
Icon-text gap
The gap between the label icon and the label text in pixels.
-
Initial text
The initial text in the text field. Can be empty.
-
Input validation expression
An expression or script that validates the user input when the password field loses the focus. If the expression returns false, the focus remains in the password field. In that case you should display an error message.
-
Key validation expression
An expression or script that validates each key that is pressed in this component by the user.
-
Font color
The color of the label font. If empty, the default color will be used.
-
Font
The font of the label. If empty, the default font is used. Use the font name "dialog" for the default label font and a "0" size value for the default size.
-
Icon
An image file with an icon for the label. Can be empty.
-
Text
The text of the label. Can be empty.
-
Font
The font of the text field. If empty, the default font is used. Use the font name "dialog" for the default label font and a "0" size value for the default size.
-
Variable name
The name of the variable to which the user input is assigned.
-
Write encoded value to response file
Write an encoded value of the entered password to the response file. Note that the encoding only prevents casual observation of the password. Do not enable if you require strict security for the password.
|
|
Text area |
|
A text area with an optional leading label. The user input is saved to a variable.
|
Properties: |
-
Text area columns
The width of the text area, expressed as a multiple of the width of the character 'm'. If zero, the text area will fill the entire horizontal space.
-
Fill extra vertical space
If set, the component will expand to fill remaining vertical space. Extra vertical space is only available, if the form is not scrollable. Custom form screens have a "Scrollable" property, which must be set to false.
-
Icon-text gap
The gap between the label icon and the label text in pixels.
-
Initial text
The initial text in the text field. Can be empty.
-
Input validation expression
An expression or script that validates the user input when the text area loses the focus. If the expression returns false, the focus remains in the text area. In that case you should display an error message.
-
Key validation expression
An expression or script that validates each key that is pressed in this component by the user.
-
Font color
The color of the label font. If empty, the default color will be used.
-
Font
The font of the label. If empty, the default font is used. Use the font name "dialog" for the default label font and a "0" size value for the default size.
-
Icon
An image file with an icon for the label. Can be empty.
-
Text
The text of the label. Can be empty.
-
Wrap lines
If set, lines will wrap at the end of the text area. Otherwise a horizontal scroll bar will be show when needed.
-
Text area rows
The height of the text area, expressed as a multiple of line heights. Must be greater than zero.
-
Font
The font of the text field. If empty, the default font is used. Use the font name "dialog" for the default label font and a "0" size value for the default size.
-
Use label font
If set, the default label font is used and other font settings are ignored.
-
Variable name
The name of the variable to which the user input is assigned.
-
Wrap entire words
This property is only relevant when lines are wrapped. If set, lines will wrap on word boundaries if possible.
|
|
Text field |
|
A text field with an optional leading label. The user input is saved to a variable.
|
Properties: |
-
Text field columns
The width of the text field, expressed as a multiple of the width of the character 'm'. If zero, the text field will fill the entire horizontal space.
-
Icon-text gap
The gap between the label icon and the label text in pixels.
-
Initial text
The initial text in the text field. Can be empty.
-
Input validation expression
An expression or script that validates the user input when the text field loses the focus. If the expression returns false, the focus remains in the text field. In that case you should display an error message.
-
Key validation expression
An expression or script that validates each key that is pressed in this component by the user.
-
Font color
The color of the label font. If empty, the default color will be used.
-
Font
The font of the label. If empty, the default font is used. Use the font name "dialog" for the default label font and a "0" size value for the default size.
-
Icon
An image file with an icon for the label. Can be empty.
-
Text
The text of the label. Can be empty.
-
Font
The font of the text field. If empty, the default font is used. Use the font name "dialog" for the default label font and a "0" size value for the default size.
-
Variable name
The name of the variable to which the user input is assigned.
|
|
Text field with date format |
|
A text field with an optional leading label and a date format. The user input (a java.util.Date) is saved to a variable.
|
Minimum Java requirement: 1.4 |
Properties: |
-
Text field columns
The width of the text field, expressed as a multiple of the width of the character 'm'. If zero, the text field will fill the entire horizontal space.
-
Date display style
The date display style specifies the verbosity of the date component.
-
Date format
The date format specifies the components of the date that should be editable, i.e. date, time or date and time.
-
Icon-text gap
The gap between the label icon and the label text in pixels.
-
Initial value
The initial date in the text field.
-
Input validation expression
An expression or script that validates the user input when the text field loses the focus. If the expression returns false, the focus remains in the text field. In that case you should display an error message.
-
Key validation expression
An expression or script that validates each key that is pressed in this component by the user.
-
Font color
The color of the label font. If empty, the default color will be used.
-
Font
The font of the label. If empty, the default font is used. Use the font name "dialog" for the default label font and a "0" size value for the default size.
-
Icon
An image file with an icon for the label. Can be empty.
-
Text
The text of the label. Can be empty.
-
Font
The font of the text field. If empty, the default font is used. Use the font name "dialog" for the default label font and a "0" size value for the default size.
-
Time display style
The time display style specifies the verbosity of the time component.
-
Variable name
The name of the variable to which the user input is assigned. The type of the variable value is java.util.Date.
|
|
Text field with format mask |
|
A text field with an optional leading label and an arbitrary format mask. The user input is saved to a variable. The default mask is that of an SSN. For more information, please see the javadoc of javax.swing.text.MaskFormatter.
|
Minimum Java requirement: 1.4 |
Properties: |
-
Allow invalid input
If set, invalid input will be allowed during editing. When the text field loses focus, invalid input will not be accepted, so the final value is guaranteed to be valid in any case.
-
Text field columns
The width of the text field, expressed as a multiple of the width of the character 'm'. If zero, the text field will fill the entire horizontal space.
-
Icon-text gap
The gap between the label icon and the label text in pixels.
-
Initial text
The initial text in the text field. Can be empty.
-
Input mask
The input mask as defined be the javadoc of javax.swing.text.MaskFormatter.
-
Input validation expression
An expression or script that validates the user input when the text field loses the focus. If the expression returns false, the focus remains in the text field. In that case you should display an error message.
-
Invalid characters
If not empty, this string defines the characters that are invalid for user input.
-
Key validation expression
An expression or script that validates each key that is pressed in this component by the user.
-
Font color
The color of the label font. If empty, the default color will be used.
-
Font
The font of the label. If empty, the default font is used. Use the font name "dialog" for the default label font and a "0" size value for the default size.
-
Icon
An image file with an icon for the label. Can be empty.
-
Text
The text of the label. Can be empty.
-
Placeholder character
The character that is displayed for empty characters of the input mask that still have to be filled out by the user.
-
Font
The font of the text field. If empty, the default font is used. Use the font name "dialog" for the default label font and a "0" size value for the default size.
-
Valid characters
If not empty, this string defines the characters that are valid for user input.
-
Return literal characters
If set, the value that is saved to the variable contains literal characters defined in the input mask.
-
Variable name
The name of the variable to which the user input is assigned. The type of the variable value is java.lang.String.
|
|
Text field with integer format |
|
A text field with an optional leading label and an integer format. The user input is saved to a variable with type java.lang.Long.
|
Minimum Java requirement: 1.4 |
Properties: |
-
Allow invalid input
If set, invalid input will be allowed during editing. When the text field loses focus, invalid input will not be accepted, so the final value is guaranteed to be valid in any case.
-
Text field columns
The width of the text field, expressed as a multiple of the width of the character 'm'. If zero, the text field will fill the entire horizontal space.
-
Icon-text gap
The gap between the label icon and the label text in pixels.
-
Initial text
The initial text in the text field. Can be empty.
-
Input validation expression
An expression or script that validates the user input when the text field loses the focus. If the expression returns false, the focus remains in the text field. In that case you should display an error message.
-
Key validation expression
An expression or script that validates each key that is pressed in this component by the user.
-
Font color
The color of the label font. If empty, the default color will be used.
-
Font
The font of the label. If empty, the default font is used. Use the font name "dialog" for the default label font and a "0" size value for the default size.
-
Icon
An image file with an icon for the label. Can be empty.
-
Text
The text of the label. Can be empty.
-
Maximum number of digits
The maximum number of digits that are acceptable for user input. If zero, there is no limit.
-
Minimum number of digits
The minimum number of digits that are acceptable for user input.
-
Font
The font of the text field. If empty, the default font is used. Use the font name "dialog" for the default label font and a "0" size value for the default size.
-
Use grouping separator
If set, a locale-dependent grouping separator is displayed.
-
Variable name
The name of the variable to which the user input is assigned. The type of the variable value is java.lang.Long.
|
|
|