setAllowModes

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: