set Allow Modes
Sets the allowed modes for the floating pane.
This method controls which docking/floating behaviors are permitted for the pane. By default, all modes (FloatingPaneMode.MODE_ALL) are allowed.
Parameters
mode
The FloatingPaneMode to allow. Can be one of:
FloatingPaneMode.MODE_ALL: Allows all modes (floating, bottom docking, side docking).
FloatingPaneMode.MODE_FLOATING: Only allows the pane to be in a floating state.
FloatingPaneMode.MODE_BOTTOM: Only allows the pane to be docked to the bottom.
FloatingPaneMode.MODE_SIDE: Only allows the pane to be docked to the left or right.