The frame Bean has the following information.
See
"Package Guide"- JFFrame
Property information
Name | Type | Reference | Setting | Explanation |
---|---|---|---|---|
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 |
extendedState | int | Y | Y | Frame status |
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 |
iconImage | java.awt | Y | Y | Image of icon |
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 |
maximizedBounds | java.awt | Y | Y | Boundary when maximized |
menuBar | java.awt | Y | Y | Menu bar |
name | java.lang | Y | Y | Name |
resizable | boolean | Y | Y | Whether resizable |
state | int | Y | Y | Status |
title | java.lang | Y | Y | Title |
undecorated | boolean | Y | Y | Whether decorated |
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. |
window | java.awt.event | addWindowListener | windowActivated | Is issued when the window status changes. |
windowClosed | ||||
windowClosing | ||||
windowDeactivated | ||||
windowDeiconified | ||||
windowIconified | ||||
windowOpened | ||||
windowFocus | java.awt.event | addWindowFocusListener | windowGainedFocus | Issued when the status of the window focus changes. |
windowLostFocus | ||||
windowState | java.awt.event | addWindowStateListener | windowStateChanged | Issued when the window status 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 | ||
applyResourceBundle | java.util | Apply the settings in the given ResourceBundle to this Window. |
applyResourceBundle | java.lang | Load the ResourceBundle with the given name using the default locale and apply its settings to this window. |
createBufferStrategy | int | Creates a new multi-buffering method for the component. |
createBufferStrategy | int | Creates a new multi-buffering method for the component. |
java.awt | ||
dispose | Releases all of the native screen resources. | |
getFocusOwner | Returns the child component of this Window which has focus if and only if this Window is active. | |
getFrames | Returns an array containing all Frames. | |
getOwnedWindows | Return an array containing all the windows this window currently owns. | |
getOwner | Return an owner. | |
getSharedOffscreen | Gets off screen image. | |
getSharedOffscreenBuffer | int | Creates off screen image. |
int | ||
getSharedOffscreenSize | Gets off screen image's size. | |
getWarningString | Gets the warning string that is displayed with this window. | |
pack | Causes this Window to be sized to fit the preferred size and layouts of its subcomponents. | |
remove | java.awt | Deletes the component. |
remove | int | Deletes the component. |
removeAll | Deletes all components. | |
requestFocus | Requests an input focus. | |
toBack | Sends this window to the back. | |
toFront | Sends this window to the front. | |
transferFocus | Moves the focus to the next component. |