Class StreamTextView
java.lang.Object
org.apache.pdfbox.debugger.streampane.StreamTextView
- All Implemented Interfaces:
MouseMotionListener
,EventListener
,AncestorListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JPanel
private Searcher
private JTextPane
private final ToolTipController
-
Constructor Summary
ConstructorsConstructorDescriptionStreamTextView
(StyledDocument document, ToolTipController controller) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
ancestorAdded
(AncestorEvent ancestorEvent) void
ancestorMoved
(AncestorEvent ancestorEvent) void
ancestorRemoved
(AncestorEvent ancestorEvent) (package private) JComponent
getView()
private void
initUI
(StyledDocument document) void
mouseDragged
(MouseEvent mouseEvent) void
mouseMoved
(MouseEvent mouseEvent)
-
Field Details
-
tTController
-
mainPanel
-
textPane
-
searcher
-
-
Constructor Details
-
StreamTextView
StreamTextView(StyledDocument document, ToolTipController controller) Constructor.- Parameters:
document
- StyledDocument instance which is supposed to be shown in the pane.controller
- ToolTipController instance.
-
-
Method Details
-
initUI
-
getView
JComponent getView() -
mouseDragged
- Specified by:
mouseDragged
in interfaceMouseMotionListener
-
mouseMoved
- Specified by:
mouseMoved
in interfaceMouseMotionListener
-
ancestorAdded
- Specified by:
ancestorAdded
in interfaceAncestorListener
-
ancestorRemoved
- Specified by:
ancestorRemoved
in interfaceAncestorListener
-
ancestorMoved
- Specified by:
ancestorMoved
in interfaceAncestorListener
-