|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cete.dynamicpdf.PageElement
com.cete.dynamicpdf.pageelements.TaggablePageElement
com.cete.dynamicpdf.pageelements.Link
public class Link
This class can be used to place links on the PDF.
NOTE: This page element cannot be used within a table cell, or tranformation group.
Licensing:
This class is a DynamicPDF Generator Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
| Constructor Summary | |
|---|---|
Link(float x,
float y,
float width,
float height,
Action action)
Creates a new instance of Link. |
|
| 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. |
void |
drawLink(PageWriter writer)
|
Action |
getAction()
Gets the Action to be taken by the link. |
float |
getHeight()
Gets the height of the link. |
float |
getWidth()
Gets the width of the link. |
float |
getX()
Gets the X coordinate of the link. |
float |
getY()
Gets the Y coordinate of the link. |
void |
setHeight(float value)
Sets the height of the link. |
void |
setTag(Tag tag)
Sets the structure element of the link element. |
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.pageelements.TaggablePageElement |
|---|
getTag, getTagOrder, setTagOrder |
| 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 Link(float x,
float y,
float width,
float height,
Action action)
Link.
x - X coordinate of the link.y - Y coordinate of the link.width - Width of the link.height - Height of the link.action - Action or Destination of the link.Link| 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 void setHeight(float value)
setHeight in interface IAreavalue - the height of the link.public void setWidth(float value)
setWidth in interface IAreavalue - the width of the link.public void setX(float value)
setX in interface ICoordinatevalue - the X coordinate of the link.public void setY(float value)
setY in interface ICoordinatevalue - the Y coordinate of the link.public Action getAction()
Action to be taken by the link.
Action to be taken by the link.Actionpublic void draw(PageWriter writer)
PageWriter object.
draw in class TaggablePageElementwriter - PageWriter object to receive the link's output.PageWriterpublic void drawLink(PageWriter writer)
public void drawAnnotation(DocumentWriter writer)
DocumentWriter object.
drawAnnotation in interface IAnnotationwriter - DocumentWriter object to receive the link's output.DocumentWriterpublic void setTag(Tag tag)
Licensing:
This class is a DynamicPDF Generator Enterprise Edition
feature. One of the following licenses is required for non-evaluation usage:
setTag in class TaggablePageElementtag - a structure element for taggable link element.
|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||