Class WindowUtilities.PopupContext
java.lang.Object
com.inductiveautomation.factorypmi.application.script.builtin.WindowUtilities.PopupContext
- Enclosing class:
- WindowUtilities
An object that is used to let the windowing system know when a popup is about to be shown,
and when it has hidden.
Used for Full-Screen Exclusive mode to avoid painting problems
-
Method Summary
Modifier and TypeMethodDescriptionvoid
endPopup()
This function should be when a popup window returns.void
This function should be called before a popup window is displayed.
-
Method Details
-
startPopup
public void startPopup()This function should be called before a popup window is displayed. It only does something if fullscreen exclusive mode is enabled. If FSE is enabled, this function disableds double-buffering so that painting works correctly. BE SURE to call endPopup() when the popup returns; -
endPopup
public void endPopup()This function should be when a popup window returns. It will restore double buffering if startPopup turned it off.
-