org.extex.pdf.api.destination
Class ZoomDestType

java.lang.Object
  extended by org.extex.pdf.api.destination.DestType
      extended by org.extex.pdf.api.destination.ZoomDestType
All Implemented Interfaces:
java.io.Serializable

public class ZoomDestType
extends DestType

This class carries a destination type ZOOM as used in PDF nodes.

Version:
$Revision: 4732 $
Author:
Gerd Neugebauer
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.extex.pdf.api.destination.DestType
FIT, FITB, FITBH, FITBV, FITH, FITV, XYZ
 
Constructor Summary
ZoomDestType(long zoom)
          Creates a new object.
 
Method Summary
 long getZoom()
          Getter for zoom.
 java.lang.String toString()
          Returns a string representation of the object.
 java.lang.Object visit(DestinationVisitor visitor)
          This method is the entry point for the visitor pattern.
 
Methods inherited from class org.extex.pdf.api.destination.DestType
parseDestType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZoomDestType

public ZoomDestType(long zoom)
Creates a new object.

Parameters:
zoom - the zoom value
Method Detail

getZoom

public long getZoom()
Getter for zoom.

Returns:
the zoom

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
a string representation of the object.
See Also:
Object.toString()

visit

public java.lang.Object visit(DestinationVisitor visitor)
This method is the entry point for the visitor pattern.

Specified by:
visit in class DestType
Parameters:
visitor - the visitor to call back
Returns:
an arbitrary return object
See Also:
DestType.visit( org.extex.pdf.api.destination.DestinationVisitor)