Package ghidra.graph.viewer.popup
Class ToolTipInfo<T>
- java.lang.Object
-
- ghidra.graph.viewer.popup.ToolTipInfo<T>
-
- Type Parameters:
T
- the type of object for which to create a tooltip
public abstract class ToolTipInfo<T> extends java.lang.Object
Basic container object that knows how to generate tooltips
-
-
Field Summary
Fields Modifier and Type Field Description protected java.awt.event.MouseEvent
event
protected T
graphObject
-
Constructor Summary
Constructors Constructor Description ToolTipInfo(java.awt.event.MouseEvent event, T t)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description protected abstract javax.swing.JComponent
createToolTipComponent()
Creates a tool tip componentprotected abstract void
deEmphasize()
Signals for the implementation to turn off emphasisprotected abstract void
emphasize()
Signals for the implementation to emphasis the original graph object passed to this info
-
-
-
Field Detail
-
event
protected final java.awt.event.MouseEvent event
-
graphObject
protected final T graphObject
-
-
Constructor Detail
-
ToolTipInfo
public ToolTipInfo(java.awt.event.MouseEvent event, T t)
-
-
Method Detail
-
createToolTipComponent
protected abstract javax.swing.JComponent createToolTipComponent()
Creates a tool tip component- Returns:
- the tool tip component
-
emphasize
protected abstract void emphasize()
Signals for the implementation to emphasis the original graph object passed to this info
-
deEmphasize
protected abstract void deEmphasize()
Signals for the implementation to turn off emphasis
-
-