Package ghidra.graph.viewer.event.mouse
Interface VertexTooltipProvider<V,E>
- Type Parameters:
V
- the vertex typeE
- the edge type
public interface VertexTooltipProvider<V,E>
Creates tooltips for a given vertex.
-
Method Summary
Modifier and TypeMethodDescriptiongetTooltip
(V v) Returns a tooltip component for the given vertexgetTooltip
(V v, E e) Returns a tooltip component for the given vertex and edge.getTooltipText
(V v, MouseEvent e) Returns a tooltip string for the given vertex and mouse event
-
Method Details
-
getTooltip
Returns a tooltip component for the given vertexThis is used when the vertex is scaled too far for the user to see individual vertex subcomponents.
- Parameters:
v
- the vertex- Returns:
- a tooltip component
-
getTooltip
Returns a tooltip component for the given vertex and edge. This is used to create an edge tooltip, allowing for vertex data to appear in the tip.- Parameters:
v
- the vertexe
- the edge for- Returns:
- a tooltip component
-
getTooltipText
Returns a tooltip string for the given vertex and mouse event- Parameters:
v
- the vertexe
- the mouse event- Returns:
- the tooltip text
-