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
A class to control popups for graph clients, bypassing Java's default tool tip mechanism
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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 Details
-
PopupRegulator
-
-
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
-