Class StreamPane
java.lang.Object
org.apache.pdfbox.debugger.streampane.StreamPane
- All Implemented Interfaces:
ActionListener,EventListener
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate final classA SwingWorker extended class that convert the stream to text loads in a document. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final StringDeprecated.static final StringDeprecated.private static final StyleContextstatic final StringDeprecated.static final StringDeprecated.private static final Styleprivate final HexViewstatic final StringDeprecated.static final StringDeprecated.static final StringDeprecated.private static final Styleprivate static final org.apache.commons.logging.Logprivate static final Styleprivate final StreamPaneViewprivate static final Styleprivate static final Styleprivate final JPanelprivate final StreamPaneViewprivate PDResourcesstatic final StringDeprecated.static final StringDeprecated.private final Streamprivate static final Styleprivate final JTabbedPaneprivate ToolTipController -
Constructor Summary
ConstructorsConstructorDescriptionStreamPane(COSStream cosStream, boolean isContentStream, boolean isThumb, COSDictionary resourcesDic) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(ActionEvent actionEvent) private JPanelcreateHeaderPanel(List<String> availableFilters, String i, ActionListener actionListener) getPanel()private voidprivate voidrequestStreamText(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:
actionPerformedin interfaceActionListener
-
requestImageShowing
private void requestImageShowing() -
requestStreamText
- Throws:
IOException
-