java.lang.Object
com.lowagie.text.Annotation
- All Implemented Interfaces:
Element
Deprecated.
An
Annotation is a little note that can be added to a page on a document.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.This is the title of theAnnotation.protected intDeprecated.This is the type of annotation.static final StringDeprecated.This is a possible attribute.static final StringDeprecated.This is a possible attribute.static final StringDeprecated.This is a possible attribute.static final StringDeprecated.This is a possible attribute.static final StringDeprecated.This is a possible attribute.static final intDeprecated.This is a possible annotation type.static final intDeprecated.This is a possible annotation type.static final intDeprecated.This is a possible annotation type.protected floatDeprecated.This is the lower left x-valuestatic final StringDeprecated.This is a possible attribute.protected floatDeprecated.This is the lower left y-valuestatic final StringDeprecated.This is a possible attribute.static final StringDeprecated.This is a possible attribute.static final StringDeprecated.This is a possible attribute.static final intDeprecated.This is a possible annotation type.static final StringDeprecated.This is a possible attribute.static final StringDeprecated.This is a possible attribute.static final StringDeprecated.This is a possible attribute.static final intDeprecated.This is a possible annotation type.static final intDeprecated.This is a possible annotation type.static final StringDeprecated.This is a possible attribute.static final StringDeprecated.This is a possible attribute.static final intDeprecated.This is a possible annotation type.static final intDeprecated.This is a possible annotation type.protected floatDeprecated.This is the upper right x-valuestatic final StringDeprecated.This is a possible attribute.protected floatDeprecated.This is the upper right y-valuestatic final StringDeprecated.This is a possible attribute.Fields inherited from interface com.lowagie.text.Element
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CELL, CHAPTER, CHUNK, CREATIONDATE, CREATOR, FOOTNOTE, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LIST, LISTITEM, MARKED, MODIFICATIONDATE, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, YMARK -
Constructor Summary
ConstructorsConstructorDescriptionAnnotation(float llx, float lly, float urx, float ury, int named) Deprecated.Constructs anAnnotation.Annotation(float llx, float lly, float urx, float ury, String url) Deprecated.Constructs anAnnotation.Annotation(float llx, float lly, float urx, float ury, String file, int page) Deprecated.Constructs anAnnotation.Annotation(float llx, float lly, float urx, float ury, String file, String dest) Deprecated.Constructs anAnnotation.Annotation(float llx, float lly, float urx, float ury, String moviePath, String mimeType, boolean showOnDisplay) Deprecated.Creates a Screen annotation to embed media clipsAnnotation(float llx, float lly, float urx, float ury, String application, String parameters, String operation, String defaultdir) Deprecated.Constructs anAnnotation.Annotation(float llx, float lly, float urx, float ury, URL url) Deprecated.Constructs anAnnotation.Annotation(Annotation an) Deprecated.Copy constructor.Annotation(String title, String text) Deprecated.Constructs anAnnotationwith a certain title and some text.Annotation(String title, String text, float llx, float lly, float urx, float ury) Deprecated.Constructs anAnnotationwith a certain title and some text. -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.Returns the type of thisAnnotation.content()Deprecated.Gets the content of thisAnnotation.Deprecated.Gets the content of thisAnnotation.Deprecated.Gets all the chunks in this element.booleanDeprecated.Checks if this element is a content object.booleanDeprecated.Checks if this element is nestable.floatllx()Deprecated.Returns the lower left x-value.floatllx(float def) Deprecated.Returns the lower left x-value.floatlly()Deprecated.Returns the lower left y-value.floatlly(float def) Deprecated.Returns the lower left y-value.booleanprocess(ElementListener listener) Deprecated.Processes the element by adding it (or the different parts) to anElementListener.voidsetDimensions(float llx, float lly, float urx, float ury) Deprecated.Sets the dimensions of this annotation.title()Deprecated.Returns the title of thisAnnotation.inttype()Deprecated.Gets the type of the text element.floaturx()Deprecated.Returns the upper right x-value.floaturx(float def) Deprecated.Returns the upper right x-value.floatury()Deprecated.Returns the upper right y-value.floatury(float def) Deprecated.Returns the upper right y-value.
-
Field Details
-
TEXT
public static final int TEXTDeprecated.This is a possible annotation type.- See Also:
-
URL_NET
public static final int URL_NETDeprecated.This is a possible annotation type.- See Also:
-
URL_AS_STRING
public static final int URL_AS_STRINGDeprecated.This is a possible annotation type.- See Also:
-
FILE_DEST
public static final int FILE_DESTDeprecated.This is a possible annotation type.- See Also:
-
FILE_PAGE
public static final int FILE_PAGEDeprecated.This is a possible annotation type.- See Also:
-
NAMED_DEST
public static final int NAMED_DESTDeprecated.This is a possible annotation type.- See Also:
-
LAUNCH
public static final int LAUNCHDeprecated.This is a possible annotation type.- See Also:
-
SCREEN
public static final int SCREENDeprecated.This is a possible annotation type.- See Also:
-
TITLE
Deprecated.This is a possible attribute.- See Also:
-
CONTENT
Deprecated.This is a possible attribute.- See Also:
-
URL
Deprecated.This is a possible attribute.- See Also:
-
FILE
Deprecated.This is a possible attribute.- See Also:
-
DESTINATION
Deprecated.This is a possible attribute.- See Also:
-
PAGE
Deprecated.This is a possible attribute.- See Also:
-
NAMED
Deprecated.This is a possible attribute.- See Also:
-
APPLICATION
Deprecated.This is a possible attribute.- See Also:
-
PARAMETERS
Deprecated.This is a possible attribute.- See Also:
-
OPERATION
Deprecated.This is a possible attribute.- See Also:
-
DEFAULTDIR
Deprecated.This is a possible attribute.- See Also:
-
LLX
Deprecated.This is a possible attribute.- See Also:
-
LLY
Deprecated.This is a possible attribute.- See Also:
-
URX
Deprecated.This is a possible attribute.- See Also:
-
URY
Deprecated.This is a possible attribute.- See Also:
-
MIMETYPE
Deprecated.This is a possible attribute.- See Also:
-
annotationtype
protected int annotationtypeDeprecated.This is the type of annotation. -
annotationAttributes
Deprecated.This is the title of theAnnotation. -
llx
protected float llxDeprecated.This is the lower left x-value -
lly
protected float llyDeprecated.This is the lower left y-value -
urx
protected float urxDeprecated.This is the upper right x-value -
ury
protected float uryDeprecated.This is the upper right y-value
-
-
Constructor Details
-
Annotation
Deprecated.Copy constructor.- Parameters:
an- an object of typeAnnotationthat will be copied
-
Annotation
Deprecated.Constructs anAnnotationwith a certain title and some text.- Parameters:
title- the title of the annotationtext- the content of the annotation
-
Annotation
Deprecated.Constructs anAnnotationwith a certain title and some text.- Parameters:
title- the title of the annotationtext- the content of the annotationllx- the lower left x-valuelly- the lower left y-valueurx- the upper right x-valueury- the upper right y-value
-
Annotation
Deprecated.Constructs anAnnotation.- Parameters:
llx- the lower left x-valuelly- the lower left y-valueurx- the upper right x-valueury- the upper right y-valueurl- the external reference
-
Annotation
Deprecated.Constructs anAnnotation.- Parameters:
llx- the lower left x-valuelly- the lower left y-valueurx- the upper right x-valueury- the upper right y-valueurl- the external reference
-
Annotation
Deprecated.Constructs anAnnotation.- Parameters:
llx- the lower left x-valuelly- the lower left y-valueurx- the upper right x-valueury- the upper right y-valuefile- an external PDF filedest- the destination in this file
-
Annotation
public Annotation(float llx, float lly, float urx, float ury, String moviePath, String mimeType, boolean showOnDisplay) Deprecated.Creates a Screen annotation to embed media clips -
Annotation
Deprecated.Constructs anAnnotation.- Parameters:
llx- the lower left x-valuelly- the lower left y-valueurx- the upper right x-valueury- the upper right y-valuefile- an external PDF filepage- a page number in this file
-
Annotation
public Annotation(float llx, float lly, float urx, float ury, int named) Deprecated.Constructs anAnnotation.- Parameters:
llx- the lower left x-valuelly- the lower left y-valueurx- the upper right x-valueury- the upper right y-valuenamed- a named destination in this file
-
Annotation
public Annotation(float llx, float lly, float urx, float ury, String application, String parameters, String operation, String defaultdir) Deprecated.Constructs anAnnotation.- Parameters:
llx- the lower left x-valuelly- the lower left y-valueurx- the upper right x-valueury- the upper right y-valueapplication- an external applicationparameters- parameters to pass to this applicationoperation- the operation to pass to this applicationdefaultdir- the default directory to run this application in
-
-
Method Details
-
type
public int type()Deprecated.Gets the type of the text element. -
process
Deprecated.Processes the element by adding it (or the different parts) to anElementListener. -
getChunks
Deprecated.Gets all the chunks in this element. -
setDimensions
public void setDimensions(float llx, float lly, float urx, float ury) Deprecated.Sets the dimensions of this annotation.- Parameters:
llx- the lower left x-valuelly- the lower left y-valueurx- the upper right x-valueury- the upper right y-value
-
llx
public float llx()Deprecated.Returns the lower left x-value.- Returns:
- a value
-
lly
public float lly()Deprecated.Returns the lower left y-value.- Returns:
- a value
-
urx
public float urx()Deprecated.Returns the upper right x-value.- Returns:
- a value
-
ury
public float ury()Deprecated.Returns the upper right y-value.- Returns:
- a value
-
llx
public float llx(float def) Deprecated.Returns the lower left x-value.- Parameters:
def- the default value- Returns:
- a value
-
lly
public float lly(float def) Deprecated.Returns the lower left y-value.- Parameters:
def- the default value- Returns:
- a value
-
urx
public float urx(float def) Deprecated.Returns the upper right x-value.- Parameters:
def- the default value- Returns:
- a value
-
ury
public float ury(float def) Deprecated.Returns the upper right y-value.- Parameters:
def- the default value- Returns:
- a value
-
annotationType
public int annotationType()Deprecated.Returns the type of thisAnnotation.- Returns:
- a type
-
title
Deprecated.Returns the title of thisAnnotation.- Returns:
- a name
-
content
Deprecated.Gets the content of thisAnnotation.- Returns:
- a reference
-
getAttributes
Deprecated.Gets the content of thisAnnotation.- Returns:
- a reference
-
isContent
public boolean isContent()Deprecated.Description copied from interface:ElementChecks if this element is a content object. If not, it's a metadata object. -
isNestable
public boolean isNestable()Deprecated.Description copied from interface:ElementChecks if this element is nestable.- Specified by:
isNestablein interfaceElement- Returns:
- true if this element can be nested inside other elements.
- Since:
- iText 2.0.8
- See Also:
-