|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.cete.dynamicpdf.PageElement
|
+--com.cete.dynamicpdf.pageelements.Note
This class can be used to place a note annotation on the PDF.
View Example
| Constructor Summary | |
Note(java.lang.String text,
float x,
float y,
float width,
float height)
Creates a new instance of Note |
|
Note(java.lang.String text,
float x,
float y,
float width,
float height,
boolean isOpen)
Creates a new instance of Note |
|
Note(java.lang.String text,
float x,
float y,
float width,
float height,
NoteType type)
Creates a new instance of Note |
|
Note(java.lang.String text,
float x,
float y,
float width,
float height,
NoteType type,
boolean isOpen)
Creates a new instance of Note |
|
| Method Summary | |
void |
draw(PageWriter writer)
Draws the link to the given PageWriter object. |
void |
drawAnnotation(DocumentWriter writer)
Draws the link to the given DocumentWriter object. |
RgbColor |
getColor()
Gets the color of the note. |
float |
getHeight()
Gets the height of the link. |
boolean |
getIsOpen()
Gets a value indicating if the note is opened by default. |
NoteType |
getNoteType()
Gets the type of note. |
java.lang.String |
getText()
Sets the text of the note. |
float |
getWidth()
Gets the width of the link. |
float |
getX()
Sets the X coordinate of the link. |
float |
getY()
Gets the Y coordinate of the link. |
void |
setColor(RgbColor value)
Sets the color of the note. |
void |
setHeight(float value)
Sets the height of the link. |
void |
setIsOpen(boolean value)
Sets a value indicating if the note is opened by default. |
void |
setNoteType(NoteType value)
Sets the type of note. |
void |
setText(java.lang.String value)
Sets the text of the note. |
void |
setWidth(float value)
Sets the width of the link. |
void |
setX(float value)
Sets the X coordinate of the link. |
void |
setY(float value)
Sets the Y coordinate of the link. |
| Methods inherited from class com.cete.dynamicpdf.PageElement |
getRequiredLicenseLevel, getStrID, setRequiredLicenseLevel, setStrID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Note(java.lang.String text,
float x,
float y,
float width,
float height)
Note
text - Text of the note.x - X coordinate of the note.y - Y coordinate of the note.width - Width of the note.height - Height of the note.
public Note(java.lang.String text,
float x,
float y,
float width,
float height,
NoteType type)
Note
text - Text of the note.x - X coordinate of the note.y - Y coordinate of the note.width - Width of the note.height - Height of the note.type - Specifies the type of note.
public Note(java.lang.String text,
float x,
float y,
float width,
float height,
boolean isOpen)
Note
text - Text of the note.x - X coordinate of the note.y - Y coordinate of the note.width - Width of the note.height - Height of the note.isOpen - Specifies if the note is open initially.
public Note(java.lang.String text,
float x,
float y,
float width,
float height,
NoteType type,
boolean isOpen)
Note
text - Text of the note.x - X coordinate of the note.y - Y coordinate of the note.width - Width of the note.height - Height of the note.type - Specifies the type of note.isOpen - Specifies if the note is open initially.| Method Detail |
public float getHeight()
getHeight in interface IAreapublic float getWidth()
getWidth in interface IAreapublic float getX()
getX in interface ICoordinatepublic float getY()
getY in interface ICoordinatepublic NoteType getNoteType()
public java.lang.String getText()
public boolean getIsOpen()
public RgbColor getColor()
public void setHeight(float value)
setHeight in interface IAreavalue - the float height of the area.public void setWidth(float value)
setWidth in interface IAreavalue - the float width of the area.public void setX(float value)
setX in interface ICoordinatepublic void setY(float value)
setY in interface ICoordinatepublic void setNoteType(NoteType value)
public void setText(java.lang.String value)
public void setIsOpen(boolean value)
public void setColor(RgbColor value)
public void draw(PageWriter writer)
PageWriter object.
draw in class PageElementwriter - PageWriter object to receive the link's output.PageWriterpublic void drawAnnotation(DocumentWriter writer)
DocumentWriter object.
drawAnnotation in interface IAnnotationwriter - DocumentWriter object to receive the link's output.DocumentWriter
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||