The group box Bean has the following information and Customizer functions.
See
"Package Guide"- JFGroupbox
Property information
Name | Type | Reference | Setting | Explanation |
alignment | int | Y | Y | Display position of label character string |
background | java.awt | Y | Y | Background color |
borderColor | java.awt | Y | Y | Border line color |
borderType | int | Y | Y | Border line type |
borderWidth | int | Y | Y | Border line width |
componentOrientation | java.awt | Y | Y | The orientation of the string. It depends on the language |
controlEnabled | boolean | Y | Y | Whether to operation of the possible/impossibility of the added component |
enableMenu | boolean | Y | Y | Whether to display the popup menu |
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 | Y | Y | Font |
foreground | java.awt | Y | Y | Foreground color |
ignoreRepaint | boolean | Y | Y | Whether the paint message of the operating system should be ignored |
label | java.lang | Y | Y | Label character string |
layout | java.awt | Y | Y | Layout manager |
locale | java.util | Y | Y | Locale information |
name | java.lang | Y | Y | Name |
remoteFont | boolean | Y | Whether the registered font is a remote font | |
toolTipText | java.lang | Y | Y | Tool tip text |
visible | boolean | Y | Y | Whether visible |
Event information
Name | Listener | Addition/removal | Method | Explanation |
---|---|---|---|---|
component | java.awt.event | addComponentListener | componentResized | Is issued when the component status changes. |
componentMoved | ||||
componentShown | ||||
componentHidden | ||||
container | java.awt.event | addContainerListener | componentAdded | Is issued when the pasted status changes. |
componentRemoved | ||||
focus | java.awt.event | addFocusListener | focusGained | Is issued when the focus moves. |
focusLost | ||||
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. |
Method information
Name | Parameters | Explanation |
---|---|---|
add | java.awt | Adds the component. |
add | java.awt | Adds the component. |
int | ||
add | java.awt | Adds the component. |
java.lang | ||
add | java.awt | Adds the component. |
java.lang | ||
int | ||
hideToolTip | Erases the tool tip. | |
remove | int | Deletes the component. |
remove | java.awt | Deletes the component. |
removeAll | Deletes all components. | |
requestFocus | Requests an input focus. | |
showToolTip | java.lang | Displays the tool tip. |
java.awt | ||
java.awt | ||
long | ||
transferFocus | Moves the focus to the next component. |
Customizer
Label
Sets the group box label.
Select the label display position from among Top Left, Top Center, Top Right, Bottom Left, Bottom Center, or Bottom Right..
Set the label to be displayed in the group box.