|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDictionary> it.stefanochizzolini.clown.documents.interaction.annotations.Annotation it.stefanochizzolini.clown.documents.interaction.annotations.CalloutNote
public class CalloutNote
Free text annotation [PDF:1.6:8.4.5].
It displays text directly on the page. Unlike an ordinary text annotation, a free text annotation has no open or closed state; instead of being displayed in a pop-up window, the text is always visible.
Nested Class Summary | |
---|---|
static class |
CalloutNote.JustificationEnum
Text justification [PDF:1.6:8.4.5]. |
static class |
CalloutNote.LineObject
Callout line [PDF:1.6:8.4.5]. |
Nested classes/interfaces inherited from class it.stefanochizzolini.clown.documents.interaction.annotations.Annotation |
---|
Annotation.FlagsEnum |
Constructor Summary | |
---|---|
CalloutNote(Page page,
Rectangle2D box,
String text)
|
|
CalloutNote(PdfDirectObject baseObject,
PdfIndirectObject container)
|
Method Summary | |
---|---|
CalloutNote |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
CalloutNote.JustificationEnum |
getJustification()
Gets the justification to be used in displaying the annotation's text. |
CalloutNote.LineObject |
getLine()
Gets the callout line attached to the free text annotation. |
void |
setJustification(CalloutNote.JustificationEnum value)
|
void |
setLine(CalloutNote.LineObject value)
|
Methods inherited from class it.stefanochizzolini.clown.documents.interaction.annotations.Annotation |
---|
getAction, getActions, getAppearance, getBorder, getBox, getFlags, getModificationDate, getName, getPage, getText, isPrintable, isVisible, setAction, setActions, setAppearance, setBorder, setBox, setFlags, setModificationDate, setName, setPage, setPrintable, setText, setVisible, wrap, wrap |
Methods inherited from class it.stefanochizzolini.clown.objects.PdfObjectWrapper |
---|
delete, getBaseDataObject, getBaseObject, getContainer, getDocument, getFile, setBaseObject, setContainer, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CalloutNote(Page page, Rectangle2D box, String text)
public CalloutNote(PdfDirectObject baseObject, PdfIndirectObject container)
Method Detail |
---|
public CalloutNote clone(Document context)
PdfObjectWrapper
clone
in class Annotation
context
- Which document the clone has to be registered in.public CalloutNote.JustificationEnum getJustification()
public CalloutNote.LineObject getLine()
public void setJustification(CalloutNote.JustificationEnum value)
getJustification()
public void setLine(CalloutNote.LineObject value)
getLine()
|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |