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 Object
Basic container object that knows how to generate tooltips

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected final MouseEvent`
  `event`
  `protected final T`
  `graphObject`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ToolTipInfo(MouseEvent event, T t)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected abstract JComponent`
  `createToolTipComponent()`
  Creates a tool tip component
  `protected abstract void`
  `deEmphasize()`
  Signals for the implementation to turn off emphasis
  `protected abstract void`
  `emphasize()`
  Signals for the implementation to emphasis the original graph object passed to this info

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

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

- ## Field Details

  - ### event

    protected final MouseEvent event

  - ### graphObject

    protected final T graphObject

- ## Constructor Details

  - ### ToolTipInfo

    public ToolTipInfo(MouseEvent event, T t)

- ## Method Details

  - ### createToolTipComponent

    protected abstract 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