java.lang.Object
com.inductiveautomation.ignition.client.util.gui.PopupWrapper

public class PopupWrapper extends Object
Wraps the logic of displaying a small panel in a popup. For toggling, the pattern would look like:

 if (!wrapper.hidePopup()) {
   wrapper.showPopup(owner, new MyContents());
 }
 
  • Constructor Details

    • PopupWrapper

      public PopupWrapper()
  • Method Details

    • hidePopup

      public boolean hidePopup()
    • showPopup

      public void showPopup(Component owner, JComponent contents)