Class 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.
    • Field Detail

      • BEGIN_TEXT_OBJECT

        @Deprecated
        public static final java.lang.String BEGIN_TEXT_OBJECT
        Deprecated.
        See Also:
        Constant Field Values
      • END_TEXT_OBJECT

        @Deprecated
        public static final java.lang.String END_TEXT_OBJECT
        Deprecated.
        See Also:
        Constant Field Values
      • SAVE_GRAPHICS_STATE

        @Deprecated
        public static final java.lang.String SAVE_GRAPHICS_STATE
        Deprecated.
        See Also:
        Constant Field Values
      • RESTORE_GRAPHICS_STATE

        @Deprecated
        public static final java.lang.String RESTORE_GRAPHICS_STATE
        Deprecated.
        See Also:
        Constant Field Values
      • INLINE_IMAGE_BEGIN

        @Deprecated
        public static final java.lang.String INLINE_IMAGE_BEGIN
        Deprecated.
        See Also:
        Constant Field Values
      • IMAGE_DATA

        @Deprecated
        public static final java.lang.String IMAGE_DATA
        Deprecated.
        See Also:
        Constant Field Values
      • INLINE_IMAGE_END

        @Deprecated
        public static final java.lang.String INLINE_IMAGE_END
        Deprecated.
        See Also:
        Constant Field Values
      • BEGIN_MARKED_CONTENT1

        @Deprecated
        public static final java.lang.String BEGIN_MARKED_CONTENT1
        Deprecated.
        See Also:
        Constant Field Values
      • BEGIN_MARKED_CONTENT2

        @Deprecated
        public static final java.lang.String BEGIN_MARKED_CONTENT2
        Deprecated.
        See Also:
        Constant Field Values
      • END_MARKED_CONTENT

        @Deprecated
        public static final java.lang.String END_MARKED_CONTENT
        Deprecated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • StreamPane

        public StreamPane​(org.apache.pdfbox.cos.COSStream cosStream,
                          boolean isContentStream,
                          boolean isThumb,
                          org.apache.pdfbox.cos.COSDictionary resourcesDic)
                   throws java.io.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:
        java.io.IOException - if there is an I/O error during internal data transfer.
    • Method Detail

      • getPanel

        public javax.swing.JComponent getPanel()
      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent actionEvent)
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener