The spin button Bean has the following information and Customizer functions.
See
"Package Guide"- JFSpinButton
Property information
Name | Type | Reference | Setting | Explanation |
---|---|---|---|---|
background | java.awt | Y | Y | Background color |
borderColor | java.awt | Y | Y | Border line color |
borderWidth | int | Y | Y | Border line width |
buddy | java.awt | Y | Y | Related component |
componentOrientation | java.awt | Y | Y | The orientation of the string. It depends on the language |
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 |
join | boolean | Y | Y | Whether to attach to the right side of the related component at FlowLayout |
locale | java.util | Y | Y | Locale information |
name | java.lang | Y | Y | Name |
orientation | int | Y | Y | Orientation |
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 |
---|---|---|---|---|
action | java.awt.event | addActionListener | actionPerformed | Is issued when the JFSpinButton button is pressed by the mouse or key. |
component | java.awt.event | addComponentListener | componentResized | Is issued when the component status changes. |
componentMoved | ||||
componentShown | ||||
componentHidden | ||||
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 |
---|---|---|
hideToolTip | Erases the tool tip. | |
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
Relation
Specify the spin button position.
Set whether to place on the right side of the related component. If this item is checked, the spin button is placed on the right side of the related component. If this item is unchecked, the spin button is placed in the position specified by the application.
Paint
Set the orientation of the spin button.
Select the orientation of the spin button from Vertical/Horizontal.