InternalFrame
Declares one internal frame, placed on plain bounds.
The frame is put on bounds and then left there: a move or a resize of the user's stands, nothing reports it, and the declaration reaches the frame again only when bounds itself changes. Declare the frame with an InternalFrameState instead to observe where the user leaves it.
Parameters
the text shown in the frame's title bar
the frame's position and size within the desktop
callback invoked when the user activates the frame's close control; remove the frame from the composition in response to actually close it
the SwingModifier applied to the frame
which window controls the frame shows; none by default
the composable shown in the frame's body
See also
Declares one internal frame driven by a raw InternalFrameListener instead of an onClose lambda. The internalFrameListener is attached as-is and removed on the same instance; pass a stable instance (e.g. remember {}) to avoid churn. Use this overload to observe the full set of internal-frame events (opened, closing, closed, iconified, deiconified, activated, deactivated); the close control stays controlled, so remove the frame from the composition to actually close it.
Parameters
the text shown in the frame's title bar
the frame's position and size within the desktop
the listener notified of the frame's window events
the SwingModifier applied to the frame
which window controls the frame shows; none by default
the composable shown in the frame's body
See also
Declares one internal frame whose geometry and window state are driven by the hoisted state. Assigning to InternalFrameState.bounds moves and resizes the frame, assigning to InternalFrameState.iconified iconifies or deiconifies it and assigning to InternalFrameState.maximized maximizes or restores it, and a user dragging its title bar, pulling its border or activating its iconify, maximize or restore control writes the new value back into state.
Parameters
the text shown in the frame's title bar
the hoistable, observable geometry and window state of the frame, driving this frame alone
callback invoked when the user activates the frame's close control; remove the frame from the composition in response to actually close it
the SwingModifier applied to the frame
which window controls the frame shows; none by default
the composable shown in the frame's body
See also
Declares one internal frame whose geometry and window state are driven by the hoisted state, and whose window events reach a raw InternalFrameListener instead of an onClose lambda. The internalFrameListener is attached as-is and removed on the same instance; pass a stable instance (e.g. remember {}) to avoid churn.
Parameters
the text shown in the frame's title bar
the hoistable, observable geometry and window state of the frame, driving this frame alone
the listener notified of the frame's window events
the SwingModifier applied to the frame
which window controls the frame shows; none by default
the composable shown in the frame's body