The applet Bean has the following information.
See
"Package Guide"- JFApplet
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 |
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 |
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 | ||
destroy | To inform that it should destroy any resources that it has allocated. | |
getAppletContext | Determines this applet's context, which allows the applet to query and affect the environment in which it runs. | |
getAppletInfo | Returns information about this applet. | |
getAudioClip | java.net | Returns the AudioClip object. |
getAudioClip | java.net | Returns the AudioClip object. |
java.lang | ||
getCodeBase | Gets the base URL. | |
getDocumentBase | Returns an absolute URL naming the directory of the document in which the applet is embedded. | |
getImage | java.net | Returns an Image object that can then be painted on the screen. |
getImage | java.net | Returns an Image object that can then be painted on the screen. |
java.lang | ||
getParameter | java.lang | Returns the value of the named parameter in the HTML tag. |
getParameterInfo | Returns information about the parameters than are understood by this applet. | |
getSharedOffscreen | Gets off screen image. | |
getSharedOffscreenBuffer | int | Creates off screen image. |
int | ||
getSharedOffscreenSize | Gets off screen image's size. | |
init | Called by the browser or applet viewer to inform this applet that it has been loaded into the system. | |
isActive | Determines if this applet is active. | |
newAudioClip | java.net | Get an audio clip from the given URL. |
play | java.net | Plays the audio clip. |
java.lang | ||
play | java.net | Plays the audio clip. |
remove | java.awt | Deletes the component. |
remove | int | Deletes the component. |
removeAll | Deletes all components. | |
requestFocus | Requests an input focus. | |
setStub | java.applet | Sets this applet's stub. |
showStatus | java.lang | Requests that the argument string be displayed in the "status window". |
start | Called by the browser or applet viewer to inform this applet that it should start its execution. | |
stop | Called by the browser or applet viewer to inform this applet that it should stop its execution. | |
transferFocus | Moves the focus to the next component. |