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 TypeFieldDescriptionprivate static final StyleContextprivate static final Styleprivate final HexViewprivate 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 PDResourcesprivate 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 -
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
-