The panel Bean has the following information and Customizer functions.
See
"Package Guide"- JFPanel
Property information
Name | Type | Reference | Setting | Explanation |
---|---|---|---|---|
autoFocus | boolean | Y | Y | Set focus function valid/invalid |
background | java.awt | Y | Y | Background color |
componentOrientation | java.awt | Y | Y | The orientation of the string. It depends on the language |
enabled | boolean | Y | Y | Whether enabled |
firstFocusComponent | java.awt | Y | Y | Component focused first |
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 |
layout | java.awt | Y | Y | Layout manager |
locale | java.util | Y | Y | Locale information |
name | java.lang | Y | Y | Name |
visible | boolean | Y | Y | Whether visible |
wrapAround | boolean | Y | Y | Whether to set wraparound of the focus movement |
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 container 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 | ||
drawViewImage | java.awt | Draws the panel screen image. |
drawViewImage | java.awt | Draws the panel screen image in a specified size. |
java.awt | ||
remove | int | Deletes the component. |
remove | java.awt | Deletes the component. |
removeAll | Deletes all components. | |
removeNotify | Notifies a component that it has been removed from the container. If a peer exists, it is destroyed. | |
requestFocus | Requests an input focus. | |
transferFocus | Moves the focus to the next component. |
Customizer
Mode
Set the panel mode.
Set wraparound for the focus movement. If checked, the focus moves by wrapping around.
Set valid/invalid to set focus function. If this item is checked, focus is set up in component arranged by one when it draws at first.