The tab panel Bean has the following information and Customizer functions.
See
"Package Guide"- JFTabPanel
Property information
Name | Type | Reference | Setting | Explanation |
---|---|---|---|---|
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 |
component | (Array) | (Array) | Specified position page | |
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 |
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 |
enabledToFront | boolean | Y | Y | Whether to display the specified page isn't enabled. |
equalizeWidth | boolean | Y | Y | Whether to display the width of the page switch button at regular intervals |
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 |
image | (Array) | (Array) | (Array) | Image displayed on the page switch button on the page at the specified position |
indexEnabled | com.fujitsu.jbk.gui | Y | Whether the specified page is enabled. | |
locale | java.util | Y | Y | Locale information |
name | java.lang | Y | Y | Name |
remoteFont | boolean | Y | Whether the registered font is a remote font | |
tabLabelColor | com.fujitsu.jbk.gui | Y | Color of the label of specified page. | |
tabPosition | int | Y | Y | Display position of tab |
tabname | com.fujitsu.jbk.gui | Y | Name of the page at the specified position | |
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 | java.awt | Deletes the specified component. |
remove | int | Deletes the component at the specified position. |
remove | java.lang | Deletes the component that corresponds to the page with the specified name. |
removeAll | Deletes all components. | |
requestFocus | Requests an input focus. | |
show | java.awt | Displays the specified page. |
show | int | Displays the page at the specified position. |
show | java.lang | Displays the page that has the specified name. |
showFirst | Displays the first page. | |
showLast | Displays the last page. | |
showNext | Displays the next page. | |
showPrevious | Displays the previous page. | |
showToolTip | java.lang | Displays the tool tip. |
java.awt | ||
java.awt | ||
long | ||
transferFocus | Moves the focus to the next component. |
Customizer
Page
Set the page attribute.
In the initial status, no page property can be set.
Using the screen designer (screen edit function) of the integrated development environment, paste components on a tab panel and add a page, then set the properties of the page. To edit a page, specify the index of the page to be edited.
Select the display position of the tab from Top/Bottom.
Set whether to display the tab display width. If this item is checked, the tabs of each page have the same width. If this item is unchecked, the tab width is adjusted to match the number of characters in the tab name.
Set whether to control enable added component. If this item is checked, set to enabled component is operated in accordance with this component and tab.
Set whether to display the disabled page. If this item is checked, set to display the page when disabled.