Package ghidra.graph.viewer.popup
Class PopupRegulator<V,E>
- java.lang.Object
-
- ghidra.graph.viewer.popup.PopupRegulator<V,E>
-
- Type Parameters:
V
- the vertex typeE
- the edge type
public class PopupRegulator<V,E> extends java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isPopupShowing()
Returns true if this class's popup is showingvoid
setPopupDelay(int delayMs)
Sets the time between mouse movements to wait before showing this class's popupvoid
setPopupsVisible(boolean visible)
Sets the enablement of this class's popup
-
-
-
Constructor Detail
-
PopupRegulator
public PopupRegulator(PopupSource<V,E> popupSupplier)
-
-
Method Detail
-
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
-
-