|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.pdf.app.appearance.NullAppearanceCreator
public class NullAppearanceCreator
Create an empty annotation appearance.
| Constructor Summary | |
|---|---|
NullAppearanceCreator()
|
|
| Method Summary | |
|---|---|
PDAppearance |
createAppearance(PDAnnotation annotation,
PDAppearance appearance)
Create a PDAppearance suitable to display annotation in its current state. |
COSName |
getAnnotationType()
The type of annotations this handler can process. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullAppearanceCreator()
| Method Detail |
|---|
public PDAppearance createAppearance(PDAnnotation annotation,
PDAppearance appearance)
IAppearanceCreatorThe code should NOT manipulate (write to) the annotation. If a new PDAppearance is to be created, it should be created and returned as the methods result without connecting to the annotation.
To allow for "daisy chaining" calls, a appearance parameter is provided. If it is null, the code should lookup the appearance in the annotation. If nothing there, it should create a new one (again: without connecting to the annotation).
createAppearance in interface IAppearanceCreatorpublic COSName getAnnotationType()
IAppearanceCreatorThis is for example /Ink or /Circle.
getAnnotationType in interface IAppearanceCreator
|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||