Class PopupRegulator<V,E>

java.lang.Object
ghidra.graph.viewer.popup.PopupRegulator<V,E>
Type Parameters:
V - the vertex type
E - the edge type

public class PopupRegulator<V,E> extends Object
A class to control popups for graph clients, bypassing Java's default tool tip mechanism
  • Constructor Details

    • PopupRegulator

      public PopupRegulator(PopupSource<V,E> popupSupplier)
  • Method Details

    • isPopupShowing

      public boolean isPopupShowing()
      Returns true if this class's popup is showing
      Returns:
      true if this class's popup is showing
    • setPopupDelay

      public void setPopupDelay(int delayMs)
      Sets the time between mouse movements to wait before showing this class's popup
      Parameters:
      delayMs - the delay
    • setPopupsVisible

      public void setPopupsVisible(boolean visible)
      Sets the enablement of this class's popup
      Parameters:
      visible - true to have popups enabled