Class StreamPane
java.lang.Object
org.apache.pdfbox.debugger.streampane.StreamPane
- All Implemented Interfaces:
ActionListener
,EventListener
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate final class
A SwingWorker extended class that convert the stream to text loads in a document. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Deprecated.static final String
Deprecated.static final String
Deprecated.private static final StyleContext
static final String
Deprecated.static final String
Deprecated.private static final Style
private final HexView
static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.private static final Style
private static final org.apache.commons.logging.Log
private static final Style
private final StreamPaneView
private static final Style
private static final Style
private final JPanel
private final StreamPaneView
private PDResources
static final String
Deprecated.static final String
Deprecated.private final Stream
private static final Style
private final JTabbedPane
private ToolTipController
-
Constructor Summary
ConstructorsConstructorDescriptionStreamPane
(COSStream cosStream, boolean isContentStream, boolean isThumb, COSDictionary resourcesDic) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
actionPerformed
(ActionEvent actionEvent) private JPanel
createHeaderPanel
(List<String> availableFilters, String i, ActionListener actionListener) getPanel()
private void
private void
requestStreamText
(String command)
-
Field Details
-
LOG
private static final org.apache.commons.logging.Log LOG -
BEGIN_TEXT_OBJECT
Deprecated.- See Also:
-
END_TEXT_OBJECT
Deprecated.- See Also:
-
SAVE_GRAPHICS_STATE
Deprecated.- See Also:
-
RESTORE_GRAPHICS_STATE
Deprecated.- See Also:
-
INLINE_IMAGE_BEGIN
Deprecated.- See Also:
-
IMAGE_DATA
Deprecated.- See Also:
-
INLINE_IMAGE_END
Deprecated.- See Also:
-
BEGIN_MARKED_CONTENT1
Deprecated.- See Also:
-
BEGIN_MARKED_CONTENT2
Deprecated.- See Also:
-
END_MARKED_CONTENT
Deprecated.- See Also:
-
CONTEXT
-
OPERATOR_STYLE
-
NUMBER_STYLE
-
STRING_STYLE
-
ESCAPE_STYLE
-
NAME_STYLE
-
INLINE_IMAGE_STYLE
-
panel
-
hexView
-
tabbedPane
-
rawView
-
niceView
-
stream
-
tTController
-
resources
-
-
Constructor Details
-
StreamPane
public StreamPane(COSStream cosStream, boolean isContentStream, boolean isThumb, COSDictionary resourcesDic) throws IOException Constructor.- Parameters:
cosStream
- COSStream instance.isContentStream
- boolean instance. This says if a stream is content stream or not.isThumb
- This says if a stream is an thumbnail image or not.resourcesDic
- COSDictionary instance that holds the resource dictionary for the stream.- Throws:
IOException
- if there is an I/O error during internal data transfer.
-
-
Method Details
-
getPanel
-
createHeaderPanel
private JPanel createHeaderPanel(List<String> availableFilters, String i, ActionListener actionListener) -
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
requestImageShowing
private void requestImageShowing() -
requestStreamText
- Throws:
IOException
-