Class StreamPane
- java.lang.Object
-
- org.apache.pdfbox.debugger.streampane.StreamPane
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.util.EventListener
public class StreamPane extends java.lang.Object implements java.awt.event.ActionListener- Author:
- Khyrul Bashar A class that shows the COSStream.
-
-
Constructor Summary
Constructors Constructor Description StreamPane(org.apache.pdfbox.cos.COSStream cosStream, boolean isContentStream, boolean isThumb, org.apache.pdfbox.cos.COSDictionary resourcesDic)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent actionEvent)javax.swing.JComponentgetPanel()voidinit()Initialization, to be called immediately after construction.
-
-
-
Constructor Detail
-
StreamPane
public StreamPane(org.apache.pdfbox.cos.COSStream cosStream, boolean isContentStream, boolean isThumb, org.apache.pdfbox.cos.COSDictionary resourcesDic) throws java.io.IOExceptionConstructor.- 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:
java.io.IOException- if there is an I/O error during internal data transfer.
-
-
Method Detail
-
init
public void init() throws java.io.IOExceptionInitialization, to be called immediately after construction.- Throws:
java.io.IOException- if there is an I/O error during internal data transfer.
-
getPanel
public javax.swing.JComponent getPanel()
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent actionEvent)
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener
-
-