com.crionics.jpdf.viewer
Interface IPageEvent


public interface IPageEvent

This interface is used to trap user clicks on a pdf page.


Method Summary
 void mouseClickEvent(int pageIndex, java.awt.geom.Point2D pdfCoordinate)
          Event generated when the user generate a mouse click event on a Page being displayed.
 

Method Detail

mouseClickEvent

void mouseClickEvent(int pageIndex,
                     java.awt.geom.Point2D pdfCoordinate)
Event generated when the user generate a mouse click event on a Page being displayed.

Parameters:
pageIndex - the index of the page for which the mouse click event has been generated.
pdfCoordinate - the coordinate of the mouse click in the page expressed in PDF coordinate system and independant of the Scale used to view the page. The origin 0,0 is on the top left corner of the page.


Copyright © 1999-2007 Crionics. All Rights Reserved.