Module MaterialFX

Class MFXPopup.MFXPopupEvent

java.lang.Object
java.util.EventObject
javafx.event.Event
io.github.palexdev.materialfx.controls.MFXPopup.MFXPopupEvent
All Implemented Interfaces:
Serializable, Cloneable
Enclosing class:
MFXPopup

public static class MFXPopup.MFXPopupEvent extends Event
Events class for MFXPopups.

Introduces a new event type: "REPOSITION_EVENT". It can be used to inform a popup that it should reposition. The typical use of this event is in case of Control/Skin or in general MVC pattern. If you don't have a reference to the popup, fire this event and capture it in the class that has the popup's reference then call, MFXPopup.reposition().
See Also: