|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.crionics.jpdf.destination.AbstractZoom
com.crionics.jpdf.destination.ZoomPosition
public class ZoomPosition
Display the page with the coordinates (left, top) positioned at the upper-left corner of the window and the contents of the page magnified by a zoom factor.
A null value for any of the parameters left, top,or zoom specifies that the
current value of that parameter is to be retained unchanged.
A zoom value of 0 has the same meaning as a null value.
| Constructor Summary | |
|---|---|
ZoomPosition(java.lang.Integer left,
java.lang.Integer top,
java.lang.Float zoom)
Creates a new ZoomPosition Object. |
|
| Method Summary | |
|---|---|
java.lang.Integer |
getLeft()
Returns the Left Coordinate. |
java.lang.Integer |
getTop()
Returns the Top Coordinate. |
java.lang.Float |
getZoomFactor()
Returns the Zoom Factor. |
void |
setLeft(java.lang.Integer left)
Sets the Left Coordinate. |
void |
setTop(java.lang.Integer top)
Sets the Top Coordinate. |
void |
setZoomFactor(java.lang.Float factor)
Sets the zoom factor. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ZoomPosition(java.lang.Integer left,
java.lang.Integer top,
java.lang.Float zoom)
left - The value to be set or null if a PDF viewer should not change
its current left coordinate.top - The value to be set or null if a PDF viewer should not change
its current top coordinate.zoom - The Percentage of the zoom to be set or null if a PDF viewer
should not change its current zoom factor.
Note 1: A zoom of 100% correspond to new Float(1.0F).
Note 2: A zoom value equal to 0 has the same meaning as a null
value.
| Method Detail |
|---|
public java.lang.Integer getLeft()
public java.lang.Integer getTop()
public java.lang.Float getZoomFactor()
public void setLeft(java.lang.Integer left)
left - The value to be set or null if a PDF viewer should not change
its current left coordinate.public void setTop(java.lang.Integer top)
top - The value to be set or null if a PDF viewer should not change
its current top coordinate.public void setZoomFactor(java.lang.Float factor)
factor - The value to be set or null if a PDF viewer should not change
its current zoom factor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||