The extended character string field Bean has the following information and Customizer functions.
See
"Package Guide"- JFFieldRichString
Property information
Name | Type | Reference | Setting | Explanation |
---|---|---|---|---|
alignmentHorizontal | int | Y | Y | Display position of horizontal character string |
alignmentVertical | int | Y | Y | Display position of vertical character string |
autoEscape | boolean | Y | Y | Automatic exit function valid/invalid |
autoIME | boolean | Y | Y | Automatic change of input mode |
background | java.awt | Y | Y | Background color |
blink | boolean | Y | Y | Whether to blink the character string |
blinkInterval | long | Y | Y | Interval of blinking the character string |
borderColor | java.awt | Y | Y | Border line color |
borderType | int | Y | Y | Border line type |
borderWidth | int | Y | Y | Border line width |
byteLength | int | Y | Byte length of character string | |
caretBlink | com.fujitsu.jbk.gui | Y | Input caret blink | |
caretPosition | int | Y | Y | Caret position |
caretStyle | com.fujitsu.jbk.gui | Y | Caret style for the input field | |
caretVisible | boolean | Y | Y | Display/non-display of the input caret |
characterCodeMapped | boolean | Y | Y | Whether to convert incompatible character code |
columnBaseChar | char | Y | Y | The base character to be used on calculating the width of field |
columns | int | Y | Y | Number of display characters |
componentOrientation | java.awt | Y | Y | The orientation of the string. It depends on the language |
echoChar | char | Y | Y | Character display at password input |
editable | boolean | Y | Y | Editing enabled/disabled |
enableChars | char[] | Y | Y | Input-enabled character array |
enableMenu | boolean | Y | Y | Whether to display the popup menu |
enableToolTip | boolean | Y | Y | Whether to display the tool tip |
enableType | int | Y | Y | Input-enabled character set |
enabled | boolean | Y | Y | Whether enabled |
errorBeep | int | Y | Y | Error types for which a warning is sounded |
errorStringDisplayed | boolean | Y | Y | Whether to set a string that causes an error as it is |
focusTraversalKeysEnabled | boolean | Y | Y | Whether the focus traversal key is available |
focusable | boolean | Y | Y | Whether the focus can be set |
font | java.awt | Y | Y | Font |
foreground | java.awt | Y | Y | Foreground color |
formatTiming | int | Y | Y | Timing to perform formatting for the display |
fullField | boolean | Y | Y | Whether to check all digit input |
ignoreRepaint | boolean | Y | Y | Whether the paint message of the operating system should be ignored |
inactiveBackground | java.awt | Y | Y | Background color when inactive |
inactiveForeground | java.awt | Y | Y | Foreground color when inactive |
indispensableField | boolean | Y | Y | Whether to check the required input |
inputAssist | int | Y | Y | Input assist method |
inputLimitation | com.fujitsu.jbk.gui | Y | Y | Input restriction |
inputMode | int | Y | Y | Character set and character size |
inputStyle | int | Y | Y | Character string conversion window type |
insertMode | int | Y | Y | Input mode |
insets | java.awt | Y | Y | Inset |
length | int | Y | Character string length | |
locale | java.util | Y | Y | Locale information |
magnification | com.fujitsu.jbk.gui | Y | Character display magnification | |
maxByteLength | int | Y | Y | Maximum number of input-enabled bytes |
maxLength | int | Y | Y | Maximum number of input-enabled characters |
name | java.lang | Y | Y | Name |
plainTextEditing | boolean | Y | Y | Whether the format function is enabled during input |
remoteFont | boolean | Y | Whether the registered font is a remote font | |
reverse | boolean | Y | Y | Whether to display in reverse video or not |
selectedInFocus | boolean | Y | Y | Whether to select all the character string when focused or not |
selectedText | java.lang | Y | Selected character string | |
selectionEnd | int | Y | Y | Selection end position |
selectionStart | int | Y | Y | Select start position |
sendTextEventBySetText | boolean | Y | Y | Whether the TextEvent issue is done, when setText() is called |
strikeColor | java.awt | Y | Y | Color of strike-through line |
strikeType | int | Y | Y | Type of strike-through line |
text | java.lang | Y | Y | Character string |
textEditKey | com.fujitsu.jbk.gui | Y | Y | Function key manager |
toolTipText | java.lang | Y | Y | Tool tip text |
underlineColor | java.awt | Y | Y | Underline color |
underlineType | int | Y | Y | Underline type |
visible | boolean | Y | Y | Whether visible |
Event information
Name | Listener | Addition/removal | Method | Explanation |
---|---|---|---|---|
action | java.awt.event | addActionListener | actionPerformed | Is issued when the Enter key is pressed or when the component is out of focus automatically. |
autoEscape | com.fujitsu.jbk.gui | addAutoEscapeListener | autoEscape | Is issued immediately prior to automatic exit. |
component | java.awt.event | addComponentListener | componentResized | Is issued when the component status changes. |
componentMoved | ||||
componentShown | ||||
componentHidden | ||||
focus | java.awt.event | addFocusListener | focusGained | Is issued when the focus moves. |
focusLost | ||||
inputError | com.fujitsu.jbk.gui | addInputErrorListener | inputError | Is issued when a character string input error occurs. |
inputMethod | java.awt.event | addInputMethodListener | caretPositionChanged | Is issued when the input method status changes. |
inputMethodTextChanged | ||||
key | java.awt.event | addKeyListener | keyTyped | Is issued by key operation. |
keyPressed | ||||
keyReleased | ||||
mouse | java.awt.event | addMouseListener | mouseClicked | Is issued by mouse operation. |
mousePressed | ||||
mouseReleased | ||||
mouseEntered | ||||
mouseExited | ||||
mouseMotion | java.awt.event | addMouseMotionListener | mouseDragged | Is issued when the mouse moves. |
mouseMoved | ||||
mouseWheel | java.awt.event | addMouseWheelListener | mouseWheelMoved | Is issued by mouse wheel operation. |
propertyChange | java.beans | addPropertyChangeListener | propertyChange | Is issued when the property changes. |
text | java.awt.event | addTextListener | textValueChanged | Is issued when a character is input. |
Method information
Name | Parameters | Explanation |
---|---|---|
addAttributedCharacter | char | Sets the display attribute information of the specified character. |
com.fujitsu.jbk.gui | ||
addEnableChar | char | Adds an input enabled character. |
canCopy | Returns whether copy is possible. | |
canCut | Returns whether cut is possible. | |
canPaste | Returns whether paste is possible. | |
checkFullField | Checks all digit inputting. | |
checkIndispensableField | Checks the required inputting. | |
copy | Copies the selected character string onto the clipboard. | |
cut | Cuts the selected character string onto the clipboard. | |
echoCharIsSet | Returns whether password input function is set up. | |
getAttributeIterator | Returns a display attribute information object. | |
getPreferredSize | int | Returns the optimum size toward number of the specified characters. |
getStringForRange | int | Returns the partial character string. |
int | ||
hideToolTip | Erases the tool tip. | |
insertText | java.lang | Inserts the character string into the selected area. |
paste | Pastes from the clipboard. | |
removeAttributedCharacter | char | Removes the specified character and corresponding display attribute information. |
removeNotify | Notifies a component that it has been removed from the container. If a peer exists, it is destroyed. | |
requestFocus | Requests an input focus. | |
select | int | Partially selects the character string. |
int | ||
selectAll | Selects the entire character string. | |
showToolTip | java.lang | Displays the tool tip. |
java.awt | ||
java.awt | ||
long | ||
transferFocus | Moves the focus to the next component. |
Customizer
Mode
Set the operation mode in the character string field.
Set automatic exit or no automatic exit. If this item is checked, automatic exit is performed.
Set whether to enable editing. If this item is checked, editing is enabled.
Set the reverse video mode or not. If this is checked, the display is in reverse mode.
Set to select all the character string or not when acquiring input focus. If this item is checked, all are selected.
Set to blink character string or not. If checked, the character string blinks. The interval time can be set in the 'Blink Interval' of the 'Paint' property.
Set whether the field is checked if all digits are input or not. If checked, the field is checked if all digits are input.
Set whether the field is checked if the required field is input or not. If checked, the field is checked if the required field is input.
Set whether to change the input mode automatically when the focus moves. If this item is checked, the input mode is changed.
Set the display status of the input caret. If checked, the input caret is displayed.
Set whether to disable the format function when data is input. If checked, the format function during input is disabled.
Set whether the issue of TextEvent does when setText() is called. If checked, the TextEvent is issued.
Set whether to convert YEN SIGN. If checked, character code conversion is performed.
For the character codes to be converted, see the following table:
SJIS | Unicode | Microsoft |
---|---|---|
0x815F | 0x005C[REVERSE SOLIDUS] | [Unicode]U+00A5[YEN SIGN] |
Select the input mode from among Alphanumeric, Hiragana, Katakana, Direct input, or System Default. This is available only when 'Automatic Change of Input Mode' is checked.
Select the input character size of the field from 1-byte character or 2-byte character. This is available only when 'Automatic Change of Input Mode' is checked.
Select the conversion mode for the input character string from among Conversion, None or Not specified. This is available only when 'Automatic Change of Input Mode' is checked.
Select the display position of the character string conversion window from the default position and component. To use this function, 'Automatic Change of Input Mode' must be checked.
Set whether to assist input of characters using a Japanese input system. By setting the conversion method, determination operations during input can be omitted.
Set the insert mode of strings. Select the insert mode from Insert/Overwrite.
Select the display magnification of ANK characters from Normal size/Horizontal Double size.
Paint
Set the character string field display information.
Set the blink interval of the display character string in milliseconds (ms). Specify from 1 to 9223372036854775807 as the blink interval.
Set the color of the strike-through line. When the button is pressed, Color setting dialog is displayed.
Select the type of the strike-through lines from among None, -(single line) or =(double lines).
Set the underline color. When the button is pressed, Color setting dialog is displayed.
Select the underline type from among None, Convex, Concave, or Flat.
Select the horizontal display position of the strings in the field set by 'Index' from among Left justified, Centered or Right justified.
Select the vertical display position of the strings from among Top-justified, Centered or Bottom-justified.
Set the foreground/background color of inactive. When the button is pressed, [Foreground Color/Background Color] setting dialog is displayed.
Set whether or not to specify an inset.
Set the upper inset with a pixel value. Specify from -2147483648 to 2147483647 as the inset upper.
Set the left inset with a pixel value. Specify from -2147483648 to 2147483647 as the inset left.
Set the bottom inset with a pixel value. Specify from -2147483648 to 2147483647 as the inset bottom.
Set the right inset with a pixel value. Specify from -2147483648 to 2147483647 as the inset right.
Select the caret style from among Vertical Line, Full-size, Half-size, Quarter-size, or Underline. A different status can be set for each input mode: overwrite and insert.
Set whether or not the caret blinks. A different status can be set for each input mode: overwrite and insert.
Value
Set the value of the character string field.
Set the value to be displayed in the character string field.
Set the operation when a character that will cause an error is contained in the string. If checked, no restriction is imposed on the string to be set.
Other
Set other information.
Set the caret position. Specify from 0 to the number of value's characters as the caret position.
Set the character which is used to decide the size of the component.
Set the number of display characters. Specify from 0 to 2147483647 as the number of display characters.
Set the character to display for the password input and displaying.
Set the maximum number of input enabled characters. When -1 is set, the maximum number of input characters is not checked. Specify from -1 to 2147483647 as the maximum number of input enabled characters.
Set the maximum number of input-enabled bytes. When -1 is set, the maximum number of input input-enabled bytes is not checked. The specified value is invalid if maximum number of input enabled characters is bigger than -1. Specify from -1 to 2147483647 as the maximum number of input-enabled bytes.
Set the selection start position. Specify from 0 to the number of value's characters as the selection start position.
Set the selection end position. Specify from 0 to the number of value's characters as the selection end position.
Set the timing to perform the display format. Formatting is performed when the keys are pressed the specified number of times. Specify from 0 to 2147483647 as the timing to perform the display format.
Set the characters that to be allowed for input. Set as a character string the characters that you want to allow for input.
Select the available character set for the input: English lowercase letter, English uppercase letter, number, special character and 2-byte character. The unchecked character set cannot be used for the input. To partially enable the input of the character set, set to 'Input Enabled Character'.
Select the error types for which the warning is sounded from among Error of all digit input check, Error of required input check, Error of input limit check, or Error of invalid character input check.
Select the input restriction from Normal and Extension.
In case of Normal, specifies input restriction with 'Maximum Number of Input Enabled Characters', 'Maximum Number of Input Enabled bytes', 'Input Enabled Character', and 'Input Enabled Character Set'.
In case of Extension, specifies input restriction with the <Set> button is pressed, [Input Limitation] setting dialog is displayed.
When Extension is specified, each input restriction becomes invalid when it is set in Normal . And, when Normal is specified, each input restriction becomes invalid when it is set in Extension.