|
Description
|
|
Represents a "Simple Internal Frame". It is a component that has a frame-like appearance but is not associated with Swing's internal frame mechanism.
A simpleInternalFrame has a title bar that may contain an icon and a description. The title bar can also incorporate an arbitrary toolbar . The content of the simpleInternalFrame can be filled with an arbitrary component. The content and the toolbar can either be defined by nested components or via the idand toolbarattributes. The attributes always take precedence over nested elements. If there is only one nested element, it is taken as content. If there are two nested elements, the first one is taken as toolbar and the second as content. |
|
Sub-Elements
|
|
Required Attributes
|
|
Optional Attributes
|
|
|
actionCommand
Method call
return type:
void
|
Method to be called if the title bar is double-clicked.
|
|
icon
Method call
return type:
javax.swing.Icon
event aware
|
Icon to be displayed on the left corner of the title bar.
|
|
id
Gui4j-ID
|
Refers to the component to be used as content.
|
|
infoText
Method call
return type:
java.lang.String
event aware
|
Additional text to be displayed in the title bar. If specified, it will be displayed in brackets behind the title.
|
|
selected
Enumeration
default:
always
|
Defines the strategy when to "select" a
simpleInternalFrame. The title bar of a selected
simpleInternalFrameis specially coloured.
Allowed values:
|
|
tabIcon
Method call
return type:
javax.swing.Icon
event aware
|
[documentation missing]
|
|
tabText
Method call
return type:
java.lang.String
event aware
|
[documentation missing]
|
|
title
Method call
return type:
java.lang.String
event aware
|
The text to be displayed in the title bar.
|
|
toolbar
Gui4j-ID
|
A reference to the toolbar to be incorporated into the title bar.
|