|
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.Action
com.cete.dynamicpdf.Destination
com.cete.dynamicpdf.XYDestination
public class XYDestination
This class can be used to specify a certain page and X Y location for defining a Link or a Bookmark.
Licensing:
This class is a DynamicPDF Generator Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
| Field Summary |
|---|
| Fields inherited from class com.cete.dynamicpdf.Action |
|---|
text_A, text_Next, text_S, text_Type |
| Constructor Summary | |
|---|---|
XYDestination(int pageNumber,
float x,
float y)
Initializes a new instance of the XYDestination class. |
|
| Method Summary | |
|---|---|
void |
draw(DocumentWriter writer)
Draws the destination to the specified DocumentWriter object. |
float |
getX()
Gets the X coordinate targeted by the destination. |
float |
getY()
Gets the Y coordinate targeted by the destination. |
void |
setX(float value)
Sets the X coordinate targeted by the destination. |
void |
setY(float value)
Sets the Y coordinate targeted by the destination. |
| Methods inherited from class com.cete.dynamicpdf.Destination |
|---|
getPageNumber, setPageNumber |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XYDestination(int pageNumber,
float x,
float y)
XYDestination class.
pageNumber - Page number targeted by the destination.x - X coordinate targeted by the destination.y - Y coordinate targeted by the destination.XYDestination| Method Detail |
|---|
public void setX(float value)
value - the X coordinate targeted by the destination.public float getX()
public void setY(float value)
value - the Y coordinate targeted by the destination.public float getY()
public void draw(DocumentWriter writer)
DocumentWriter object.
draw in class Actionwriter - DocumentWriter object to receive the destinations output.DocumentWriter
|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||