com.crionics.jpdf.destination
Class ZoomArea

java.lang.Object
  extended by com.crionics.jpdf.destination.AbstractZoom
      extended by com.crionics.jpdf.destination.ZoomArea

public class ZoomArea
extends AbstractZoom

Display the page with its contents magnified just enough to fit the area specified by its coordinates (left, top) and sizes (width, height) entirely within the window both horizontally and vertically.


Constructor Summary
ZoomArea(java.lang.Integer left, java.lang.Integer top, java.lang.Integer width, java.lang.Integer height)
          Creates a new ZoomArea Object.
 
Method Summary
 java.lang.Integer getHeight()
          Returns the height of the area.
 java.lang.Integer getLeft()
          Returns the Left Coordinate.
 java.lang.Integer getTop()
          Returns the Top Coordinate.
 java.lang.Integer getWidth()
          Returns the width of the area.
 void setHeight(java.lang.Integer height)
          Sets the height of the area.
 void setLeft(java.lang.Integer left)
          Sets the Left Coordinate.
 void setTop(java.lang.Integer top)
          Sets the Top Coordinate.
 void setWidth(java.lang.Integer width)
          Sets the width of the area.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZoomArea

public ZoomArea(java.lang.Integer left,
                java.lang.Integer top,
                java.lang.Integer width,
                java.lang.Integer height)
Creates a new ZoomArea Object.

Parameters:
left -
top -
width -
height -
Method Detail

getHeight

public java.lang.Integer getHeight()
Returns the height of the area.

Returns:
The value.

getLeft

public java.lang.Integer getLeft()
Returns the Left Coordinate.

Returns:
The value.

getTop

public java.lang.Integer getTop()
Returns the Top Coordinate.

Returns:
The value.

getWidth

public java.lang.Integer getWidth()
Returns the width of the area.

Returns:
The value.

setHeight

public void setHeight(java.lang.Integer height)
Sets the height of the area.

Parameters:
height - The value to be set.

setLeft

public void setLeft(java.lang.Integer left)
Sets the Left Coordinate.

Parameters:
left - The value to be set.

setTop

public void setTop(java.lang.Integer top)
Sets the Top Coordinate.

Parameters:
top - The value to be set.

setWidth

public void setWidth(java.lang.Integer width)
Sets the width of the area.

Parameters:
width - The value to be set.


Copyright © 1999-2007 Crionics. All Rights Reserved.