Package ghidra.graph.viewer.popup

# 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 Summary

  Constructors
  Constructor
  Description
  `PopupRegulator(PopupSource<V,E> popupSupplier)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `isPopupShowing()`
  Returns true if this class's popup is showing
  `void`
  `setPopupDelay(int delayMs)`
  Sets the time between mouse movements to wait before showing this class's popup
  `void`
  `setPopupsVisible(boolean visible)`
  Sets the enablement of this class's popup

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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