Element: TabbedPanel.
Icon:
Text: A container with tabs.
Description: A TabbedPanel is a container that hosts its children one on top of the other, providing a system of tabs that allow access to one of them at a time. The tabs display the name of each child.
Table of properties |
||
Name | Description | Values accepted |
Main | ||
Tab Pos | The position of the tabs. | One of the constants: top, bottom, left
or right. It can also be an integer variable (consult the Javadoc reference for the class javax.swing.JTabbedPane). |
Visible | The visibility of the element. | A boolean variable or one of the constants true or false. |
Size | The size of the element. | An Object variable of the class java.awt.Dimension or the integer values for the width and the height, respectively, separated by a comma. |
Graphical Aspect | ||
Background | The color used for the background of the element and that of its children (unless they explicitely set their own value for this property). | An Object variable of the class java.awt.Color
or one of the predefined colors: black,
blue, cyan, darkGray, gray, green, lightGray, magenta, orange, pink,
red, white, yellow.
A color can also be specified providing its integer RGB coordinates (between 0 and 255), plus an optional transparency coordinate. The default value is decided by the system. |
Foreground | The color used for any text displayed by the element or by its children (unless they explicitely set their own value for this property). | See the values for the Background property. |
Font | The font used for any text displayed by the element or by its children (unless they explicitely set their own value for this property). | An Object variable of the class java.awt.Font
or a set of family, style and size, separated by commas. The style
must be one of plain,
bold, italic, bold | italic. Example: Monospaced,italic,18.
The default value is decided by the system. |
Tooltip | The text displayed when the cursor lingers on top of the element. | Any constant or variable of type String. |