org.jpedal.external
Interface JPedalCustomDrawObject


public interface JPedalCustomDrawObject

custom object to draw onto screen


Field Summary
static java.lang.Integer ALLPAGES
           
 
Method Summary
 void paint(java.awt.Graphics2D g2)
          code to execute when rendering to screen
 void print(java.awt.Graphics2D g2, int x)
          code to execute when printing to jps
 void setMedX(int x)
          sets the x media offset of the page
 void setMedY(int y)
          sets the y media offset of the page
 void setVisible(boolean isVisible)
          allow user to switch on and off
 

Field Detail

ALLPAGES

static final java.lang.Integer ALLPAGES
Method Detail

paint

void paint(java.awt.Graphics2D g2)
code to execute when rendering to screen


print

void print(java.awt.Graphics2D g2,
           int x)
code to execute when printing to jps


setVisible

void setVisible(boolean isVisible)
allow user to switch on and off


setMedX

void setMedX(int x)
sets the x media offset of the page


setMedY

void setMedY(int y)
sets the y media offset of the page