Class ToolTipController
java.lang.Object
org.apache.pdfbox.debugger.streampane.tooltip.ToolTipController
- Author:
- Khyrul Bashar A class that provides the tooltip for an operator.
-
Constructor Summary
ConstructorsConstructorDescriptionToolTipController
(org.apache.pdfbox.pdmodel.PDResources resources) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetToolTip
(int offset, JTextComponent textComponent) Returns the tooltip text for the operator.
-
Constructor Details
-
ToolTipController
public ToolTipController(org.apache.pdfbox.pdmodel.PDResources resources) Constructor.- Parameters:
resources
- PDResources instance.
-
-
Method Details
-
getToolTip
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.
-