com.icesoft.pdf.pobjects.annotations
Class Appearance
java.lang.Object
Stream
com.icesoft.pdf.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:
- The normal appearance is used when the annotation is not interacting with the
user. This appearance is also used for printing the annotation.
- The rollover appearance is used when the user moves the cursor into the annotation’s
active area without pressing the mouse button.
- The down appearance is used when the mouse button is pressed or held down
within the annotation’s active area.
| 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
- See Also:
- Serialized Form
|
Constructor Summary |
Appearance(Library l,
Hashtable h,
SeekableInputConstrainedWrapper streamInputWrapper)
Create a new instance of an Appearance stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Appearance
public Appearance(Library l,
Hashtable h,
SeekableInputConstrainedWrapper streamInputWrapper)
- Create a new instance of an Appearance stream.
- Parameters:
l - library containing a hash of all document objectsh - hashtable of parameters specific to the Stream object.streamInputWrapper - Accessor to stream byte data