Top
Interstage Studio J Business Kit GUI Library User's Guide
FUJITSU Software

3.30 Text area Bean

The text area Bean has the following information and Customizer functions.

See

"Package Guide"- JFTextArea

Property information

Name

Type

Reference

Setting

Explanation

autoEscape

boolean

Y

Y

Automatic exit function valid/invalid

autoIME

boolean

Y

Y

Automatic change of input mode

background

java.awt
Color

Y

Y

Background color

blink

boolean

Y

Y

Whether to blink the character string

blinkInterval

long

Y

Y

Blink interval of character string

borderColor

java.awt
Color

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
JFIndexObjectProperty

Y

Input caret blink

caretPosition

int

Y

Y

Caret position

caretStyle

com.fujitsu.jbk.gui
JFIndexObjectProperty

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

clickedHyperLinkColor

java.lang
Color

Y

Y

Color of visited hyperlinks

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
ComponentOrientation

Y

Y

The orientation of the string. It depends on the language

compoundEventMode

boolean

Y

Y

Whether to fire the start/finish event of edit field and scrollbar

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

focusTraversalKeysEnabled

boolean

Y

Y

Whether the focus traversal key is available

focusable

boolean

Y

Y

Whether the focus can be set

font

java.awt
Font

Y

Y

Font

foreground

java.awt
Color

Y

Y

Foreground color

hyperLinkViewMode

boolean

Y

Y

Whether to display hyperlinks

hyperLinkColor

java.lang
Color

Y

Y

Color of hyperlinks

ignoreRepaint

boolean

Y

Y

Whether the focus traversal key is available

inactiveBackground

java.awt
Color

Y

Y

Background color when inactive

inactiveForeground

java.awt
Color

Y

Y

Foreground color when inactive

inputAssist

int

Y

Y

Input assist method

inputLimitation

com.fujitsu.jbk.gui
JFInputLimitation

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

length

int

Y

Character string length

lineHeight

int

Y

Y

Height of line

locale

java.util
Locale

Y

Y

Locale information

maxByteLength

int

Y

Y

Maximum number of input-enabled bytes

maxLength

int

Y

Y

Maximum number of input-enabled characters

name

java.lang
String

Y

Y

Name

remoteFont

boolean

Y

Whether the registered font is a remote font

reverse

boolean

Y

Y

Whether to display in reverse video or not

rows

int

Y

Y

Number of the character display lines

scrollbarVisibility

int

Y

Y

How to display scroll bar

selectedInFocus

boolean

Y

Y

Whether to select all the character string when focused or not

selectedText

java.lang
String

Y

Selected character string

selectionEnd

int

Y

Y

Selection end position

selectionStart

int

Y

Y

Select start position

text

java.lang
String

Y

Y

Character string

textEditKey

com.fujitsu.jbk.gui
JFMultiLineTextEditKey

Y

Y

Function key manager

toolTipText

java.lang
String

Y

Y

Tool tip text

underlineColor

java.awt
Color

Y

Y

Underline color

underlineType

int

Y

Y

Underline type

visible

boolean

Y

Y

Whether visible

wheelScrollingEnabled

boolean

Y

Y

Whether to enable scrollbar operation with mouse wheel

wordWrap

boolean

Y

Y

Word wrap/no word wrap

wordWrapIterator

java.text
BreakIterator

Y

Y

Whether specify the pause of word to wrap around.

Event information

Name

Listener

Addition/removal

Method

Explanation

action

java.awt.event
ActionListener

addActionListener
removeActionListener

actionPerformed

Is issued when automatically exited. And it can be issued when the Enter key is pressed with the customization function of the function key, too.

autoEscape

com.fujitsu.jbk.gui
JFAutoEscapeListener

addAutoEscapeListener
removeAutoEscapeListener

autoEscape

Is issued immediately prior to automatic exit.

component

java.awt.event
ComponentListener

addComponentListener
removeComponentListener

componentResized

Is issued when the component status changes.

componentMoved

componentShown

componentHidden

compound

com.fujitsu.jbk.gui
JFCompoundEventListener

addCompoundEventListener
removeCompoundEventListener

startProcessEvent

Is issued when the event of edit field and scrollbar is fired.

endProcessEvent

focus

java.awt.event
FocusListener

addFocusListener
removeFocusListener

focusGained

Is issued when the focus moves.

focusLost

hyperLink

com.fujitsu.jbk.gui
JFHyperLinkListener

addHyperLinkListener
removeHyperLinkListener

mouseEntered

Is issued when a hyperlink is used

mouseExited

mouseClicked

inputError

com.fujitsu.jbk.gui
JFInputErrorListener

addInputErrorListener
removeInputErrorListener

inputError

Is issued when a character string input error occurs.

inputMethod

java.awt.event
InputMethodListener

addInputMethodListener
removeInputMethodListener

caretPositionChanged

Is issued when the input method status changes.

inputMethodTextChanged

key

java.awt.event
KeyListener

addKeyListener
removeKeyListener

keyTyped

Is issued by key operation.

keyPressed

keyReleased

mouse

java.awt.event
MouseListener

addMouseListener
removeMouseListener

mouseClicked

Is issued by mouse operation.

mousePressed

mouseReleased

mouseEntered

mouseExited

mouseMotion

java.awt.event
MouseMotionListener

addMouseMotionListener
removeMouseMotionListener

mouseDragged

Is issued when the mouse moves.

mouseMoved

mouseWheel

java.awt.event
MouseWheelListener

addMouseWheelListener
removeMouseWheelListener

mouseWheelMoved

Is issued by mouse wheel operation.

propertyChange

java.beans
PropertyChangeListener

addPropertyChangeListener
removePropertyChangeListener

propertyChange

Is issued when the property changes.

text

java.awt.event
TextListener

addTextListener
removeTextListener

textValueChanged

Is issued when a character is input.

Method information

Name

Parameters

Explanation

addEnableChar

char

Adds an input enabled character.

append

java.lang
String

Adds a specified character string at the end of the current text.

canCopy

Returns whether copy is possible.

canCut

Returns whether cut is possible.

canPaste

Returns whether paste is possible.

copy

Copies the selected character string onto the clipboard.

cut

Cuts the selected character string onto the clipboard.

getLineCount

Returns the line.

getMinimumSize

int

Returns the minimum size of this component which has the specified number of the lines, and the number of the column.

int

getPreferredSize

int

Returns the optimum size of this component which has the specified number of the lines, and the number of the column.

int

getStringForRange

int

Returns the partial character string.

int

hideToolTip

Erases the tool tip.

insert

java.lang
String

Inserts the character string into the selected area.

int

insertText

java.lang
String

Inserts the character string into the selected area.

paste

Pastes from the clipboard.

replaceRange

java.lang
String

Replaces the specified range of character string by the substitute character string.

int

int

requestFocus

Requests an input focus.

select

int

Partially selects the character string.

int

selectAll

Selects the entire character string.

selectCancel

Cancels the selection of the character string.

showToolTip

java.lang
String

Displays the tool tip.

java.awt
Point

java.awt
Dimension

long

transferFocus

Moves the focus to the next component.

Customizer