panelClosedOptions property

PanelClosedOptions panelClosedOptions
final

This helps you to execute specific actions when panel is closed.

Use case example : You are waiting for the user to perform a desired action with the panel (like a choice), and user just closes the panel, without interacting with it. In such cases, you need a DEFAULT value to be notified / thrown in order to handle this situation. PanelClosedOptions.sendResult and PanelClosedOptions.throwResult can be used for it.

To use all features, PanelClosedOptions.detachDragging needs to be true.

Implementation

final PanelClosedOptions panelClosedOptions;