org.icepdf.core.pobjects.annotations
Class Appearance

java.lang.Object
  extended by org.icepdf.core.pobjects.Dictionary
      extended by org.icepdf.core.pobjects.Stream
          extended by org.icepdf.core.pobjects.annotations.Appearance

public class Appearance
extends Stream

Refer to: 8.4.4 Appearance Streams


An annotation can define as many as three separate appearances:

Key Type Value
N stream or dictionary (Required) The annotation's normal appearance
R stream or dictionary (Optional) The annotation's rollover appearance. Default value: the value of the N entry.
D stream or dictionary (Optional) The annotation's down appearance. Default value: the value of the N entry.

Since:
2.5
Author:
Mark Collette

Field Summary
 
Fields inherited from class org.icepdf.core.pobjects.Dictionary
entries, inited, isDeleted, isNew, library, SUBTYPE_KEY, TYPE_KEY
 
Constructor Summary
Appearance(Library l, java.util.Hashtable h, SeekableInputConstrainedWrapper streamInputWrapper)
          Create a new instance of an Appearance stream.
 
Method Summary
 
Methods inherited from class org.icepdf.core.pobjects.Stream
dispose, getBlackIs1, getBlackIs1OrNull, getBytes, getImage, getInputStreamForDecodedStreamBytes, getPObjectReference, getStreamInput, isImageMask, isInlineImage, setInlineImage, setPObjectReference, toString
 
Methods inherited from class org.icepdf.core.pobjects.Dictionary
getEntries, getFloat, getInt, getLibrary, getNumber, getObject, getObject, init, isDeleted, isNew, setDeleted, setNew
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Appearance

public Appearance(Library l,
                  java.util.Hashtable h,
                  SeekableInputConstrainedWrapper streamInputWrapper)
Create a new instance of an Appearance stream.

Parameters:
l - library containing a hash of all document objects
h - hashtable of parameters specific to the Stream object.
streamInputWrapper - Accessor to stream byte data