Class ToolTipController
java.lang.Object
org.apache.pdfbox.debugger.streampane.tooltip.ToolTipController
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.apache.commons.logging.Log
private final PDResources
private JTextComponent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate String
findColorSpace
(int offset, String colorSpaceType) private String
getRowText
(int offset) getToolTip
(int offset, JTextComponent textComponent) Returns the tooltip text for the operator.private String
getWord
(int offset) private boolean
isColorSpace
(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
-