Class ToolTipController

java.lang.Object
org.apache.pdfbox.debugger.streampane.tooltip.ToolTipController

public class ToolTipController extends Object
Author:
Khyrul Bashar A class that provides the tooltip for an operator.
  • Constructor Details

    • ToolTipController

      public ToolTipController(org.apache.pdfbox.pdmodel.PDResources resources)
      Constructor.
      Parameters:
      resources - PDResources instance.
  • Method Details

    • getToolTip

      public String getToolTip(int offset, JTextComponent textComponent)
      Returns the tooltip text for the operator. null if there isn't any tooltip.
      Parameters:
      offset - The position of the mouse in the text component.
      textComponent - JTextComponent instance.
      Returns:
      Tooltip text, String instance.