Class ToolTipController
java.lang.Object
org.apache.pdfbox.debugger.streampane.tooltip.ToolTipController
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.apache.commons.logging.Logprivate final PDResourcesprivate JTextComponent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate StringfindColorSpace(int offset, String colorSpaceType) private StringgetRowText(int offset) getToolTip(int offset, JTextComponent textComponent) Returns the tooltip text for the operator.private StringgetWord(int offset) private booleanisColorSpace(String colorSpaceType, String rowText)
-
Field Details
-
LOG
private static final org.apache.commons.logging.Log LOG -
resources
-
textComponent
-
-
Constructor Details
-
ToolTipController
Constructor.- Parameters:
resources- PDResources instance.
-
-
Method Details
-
getWords
-
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.
-
findColorSpace
-
isColorSpace
-
getWord
-
getRowText
-