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

3.18 List format Bean

The list format Bean has the following information and Customizer functions.

See

"Package Guide"- JFListView

Property information

Name

Type

Reference

Setting

Explanation

addDataRows

com.fujitsu.jbk.gui
JFListViewItems

Y

Adds the data of the specified rows and columns after the last row

adjustHeader

boolean

Y

Y

Whether to display the dummy column header

alignment

com.fujitsu.jbk.gui
JFCellObjectProperty

Y

Display position of the specified column character string

background

java.awt
Color

Y

Y

Background color

borderColor

java.awt
Color

Y

Y

Border line color

borderType

int

Y

Y

Border line type

borderWidth

int

Y

Y

Border line width

cellBackground

com.fujitsu.jbk.gui
JFCellObjectProperty

Y

Background color

cellForeground

com.fujitsu.jbk.gui
JFCellObjectProperty

Y

Foreground color

columnAlignment

com.fujitsu.jbk.gui
JFIndexObjectProperty

Y

Display position of the string of the whole specified column

columnCount

int

Y

Y

Number of data columns

columnWidth

com.fujitsu.jbk.gui
JFIndexObjectProperty

Y

Column width of the specified column

columns

int

Y

Y

Number of display columns

componentOrientation

java.awt
ComponentOrientation

Y

Y

The orientation of the string. It depends on the language

cursorIndex

int

Y

Y

Line where the cursor is

deselect

int

Y

Deselection

enableChangeWidth

com.fujitsu.jbk.gui
JFIndexObjectProperty

Y

Changing of the display width of the specified column enabled/disabled

enableMenu

boolean

Y

Y

Whether to display the popup menu

enableSort

com.fujitsu.jbk.gui
JFIndexObjectProperty

Y

Sorting with the specified column data as key enabled/disabled

enableToolTip

boolean

Y

Y

Whether to display the tool tip

enabled

boolean

Y

Y

Whether enabled

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

headerAlignment

com.fujitsu.jbk.gui
JFIndexObjectProperty

Y

Display position of the string of the specified header

headerHeight

int

Y

Y

Height of column header

headerImage

(Array)
java.awt
Image

(Array)
Y

(Array)
Y

Image displayed in the column header specified by the column

headerObject

(Array)
java.lang
Object

(Array)
Y

(Array)
Y

Object of the column header specified by the column

headerObjectToString

(Array)
com.fujitsu.jbk.gui
JFObjectToString

(Array)
Y

(Array)
Y

Object for setting the character string set in the column header

headerString

com.fujitsu.jbk.gui
JFIndexObjectProperty

Y

Character string displayed in the column header specified by the column

horizontalUnitIncrement

int

Y

Y

Unit increment value of horizontal scrollbar

ignoreRepaint

boolean

Y

Y

Whether the paint message of the operating system should be ignored

locale

java.util
Locale

Y

Y

Locale information

multipleMode

boolean

Y

Y

Multiple selection mode/single selection mode

name

java.lang
String

Y

Y

Name

preferredColumnWidth

(Array)
int

(Array)
Y

Optimum column width of the specified column

remoteFont

boolean

Y

Whether the registered font is a remote font

rowCount

int

Y

Y

Number of data lines

rowHeight

int

Y

Y

Height of one line in data area

rows

int

Y

Y

Number of lines displayed in the data area

select

int

Y

Selection

selectBackground

java.awt
Color

Y

Y

Background color of a selected cell

selected

(Array)
boolean

(Array)
Y

Whether the specified line is selected

selectedCount

int

Y

Number of lines in the selected status

selectedIndex

int

Y

Selected line

selectedIndexes

int[]

Y

Array of all lines in the selected status

selectedObjects

java.lang
Object[]

Y

First object array on the line in the selected status

selectForeground

java.awt
Color

Y

Y

Foreground color of a selected cell

string

com.fujitsu.jbk.gui
JFCellObjectProperty

Y

Character string

toolTipText

java.lang
String

Y

Y

Tool tip text

topIndex

int

Y

Y

Line displayed at the beginning

viewMode

boolean

Y

Y

Whether the mode is view mode

visible

boolean

Y

Y

Whether visible

visibleHScrollbar

boolean

Y

Horizontal scroll bar display/no display

visibleHeader

boolean

Y

Y

Column header display/no display

visibleVScrollbar

boolean

Y

Vertical scroll bar display/no display

wheelScrollingEnabled

boolean

Y

Y

Whether to enable scrollbar operation with mouse wheel

Event information

Name

Listener

Addition/removal

Method

Explanation

action

java.awt.event
ActionListener

addActionListener
removeActionListener

actionPerformed

Is issued when the mouse is double-clicked or when the Enter key is pressed.

component

java.awt.event
ComponentListener

addComponentListener
removeComponentListener

componentResized

Is issued when the component status changes.

componentMoved

componentShown

componentHidden

focus

java.awt.event
FocusListener

addFocusListener
removeFocusListener

focusGained

Is issued when the focus moves.

focusLost

inputMethod

java.awt.event
InputMethodListener

addInputMethodListener
removeInputMethodListener

caretPositionChanged

Is issued when the input method status changes.

inputMethodTextChanged

item

java.awt.event
ItemListener

addItemListener
removeItemListener

itemStateChanged

Is issued when the line is selected/deselected.

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.

Method information

Name

Parameters

Explanation

addRow

Adds null line data to the end of the line.

deselect

int

Deselects the specified line.

exchangeColumn

int

Replaces the specified column.

int

exchangeRow

int

Replaces the specified line.

int

getSelectForeground

int

Returns the foreground color of a cell when it is selected.

int

getSelectBackground

int

Returns the background color of a cell when it is selected.

int

hideToolTip

Erases the tool tip.

insertRow

int

Inserts a null line data into the specified line.

removeRow

int

Deletes the line data of the specified line.

requestFocus

Requests an input focus.

search

char

Moves the cursor and selection process onto the line that begins with the specified character.

select

int

Selects the specified line.

setColumnSelectBackground

int

Returns the background color of a column when it is selected.

java.awt
Color

setColumnSelectForeground

int

Returns the foreground color of a column when it is selected.

java.awt
Color

setRowSelectBackground

int

Returns the background color of a row when it is selected.

java.awt
Color

setRowSelectForeground

int

Returns the foreground color of a row when it is selected.

java.awt
Color

setSelectBackground

int

Sets the background color of a cell when it is selected.

int

java.awt
Color

setSelectForeground

int

Sets the foreground color of a cell when it is selected.

int

java.awt
Color

showToolTip

java.lang
String

Displays the tool tip.

java.awt
Point

java.awt
Dimension

long

sort

int

Uses the information of the specified column to sort lines.

boolean

transferFocus

Moves the focus to the next component.

Customizer