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

3.34 Tree format Bean

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

See

"Package Guide"- JFTree

Property information

Name

Type

Reference

Setting

Explanation

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

closedImage

java.awt
Image

Y

Closed icon image

columnCount

int

Y

Y

Number of data columns

columnWidth

com.fujitsu.jbk.gui
JFIndexObjectProperty

Y

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

controlDraw

boolean

Y

Y

Whether to control drawing

doubleClickOpen

boolean

Y

Y

Whether to open and close by double-clicking

editable

boolean

Y

Y

Editing enabled/disabled

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 header column character string

headerBackground

com.fujitsu.jbk.gui
JFIndexObjectProperty

Y

Background color of the specified column header

headerForeground

com.fujitsu.jbk.gui
JFIndexObjectProperty

Y

Foreground color of the specified column header

headerHeight

int

Y

Y

Height of the header

headerObject

com.fujitsu.jbk.gui
JFIndexObjectProperty

Y

Object of the column specified by the header

headerObjectToString

(Array)
com.fujitsu.jbk.gui
JFObjectToString

(Array)
Y

(Array)
Y

Object for setting the character string set in the column header

ignoreRepaint

boolean

Y

Y

Whether the paint message of the operating system should be ignored

inactiveBackground

java.awt
Color

Y

Y

Background color when inactive

inactiveForeground

java.awt
Color

Y

Y

Foreground color when inactive

indent

int

Y

Y

Indent value

justBeforeClosed

com.fujitsu.jbk.gui
JFTreeNode

Y

Node closed immediately prior

justBeforeOpened

com.fujitsu.jbk.gui
JFTreeNode

Y

Node opened immediately prior

lineColor

java.awt
Color

Y

Y

Layer line color

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

openable

boolean

Y

Y

Whether node open and close are enabled/disabled

openedImage

java.awt
Image

Y

Opened icon image

preferredColumnWidth

(Array)
int

(Array)
Y

Optimum column width of the specified column

remoteFont

boolean

Y

Whether the registered font is a remote font

rowHeight

int

Y

Y

Node display height

rowSelectMode

boolean

Y

Y

First-column only selection mode/single line selection mode

rows

int

Y

Y

Number of displayed lines

selectedObjects

java.lang
Object[]

Y

Node array in the selected status

toolTipText

java.lang
String

Y

Y

Tool tip text

viewMode

boolean

Y

Y

Whether the mode is view mode

visible

boolean

Y

Y

Whether visible

visibleButton

boolean

Y

Y

Display/no display of the open and close button

visibleHeader

boolean

Y

Y

Display/no display of the header

visibleLine

boolean

Y

Y

Display/no display of the layer line

visibleNodeCount

int

Y

Number of visible nodes

visibleRoot

boolean

Y

Y

Display/no display of the route

visibleTopIndex

com.fujitsu.jbk.gui
JFPosition

Y

Y

The position of the visible node displayed in the top left in the sphere of data

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.

adjustment

java.awt.event
AdjustmentListener

addAdjustmentListener
removeAdjustmentListener

adjustmentValueChanged

Is issued when the value of the adjustable object changes from this scroll bar.

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.

tree

com.fujitsu.jbk.gui
JFTreeListener

addTreeListener
removeTreeListener

nodeOpened

Is issued when the node opens and closes.

nodeClosed

Method information

Name

Parameters

Explanation

close

com.fujitsu.jbk.gui
JFTreeNode

Closes the specified node.

closeAll

Closes all nodes.

deselect

com.fujitsu.jbk.gui
JFTreeNode

Deselects the specified node.

getContainsNode

int

Returns the node of the specified coordinates.

int

hideToolTip

Erases the tool tip.

open

com.fujitsu.jbk.gui
JFTreeNode

Opens the specified node.

openAll

Opens all nodes.

refresh

com.fujitsu.jbk.gui
JFTreeNode

Specifies the node whose data has been changed and reflects the change in the view.

requestFocus

Requests an input focus.

select

com.fujitsu.jbk.gui
JFTreeNode

Selects the specified node.

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