jas.plot.java1
Class PrintHelper11

java.lang.Object
  extended by jas.plot.PrintHelper
      extended by jas.plot.java1.PrintHelper11

public class PrintHelper11
extends PrintHelper


Field Summary
 
Fields inherited from class jas.plot.PrintHelper
debugPrinting, ORIENTATION_BEST_FIT, ORIENTATION_LANDSCAPE, ORIENTATION_PORTRAITE
 
Constructor Summary
PrintHelper11()
           
 
Method Summary
 void printTarget(Component target)
          Print the specified component
 void setOrientation(int orientation)
          Set the print orientation
 void setScaleUp(boolean scaleUp)
          Controls whether the PrintHelper will scale an image up to make it fill the page (PrintHelper will always try to shrink to fit)
 
Methods inherited from class jas.plot.PrintHelper
instance, isPrinting, printingThread, setPrintingThread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintHelper11

public PrintHelper11()
Method Detail

printTarget

public void printTarget(Component target)
                 throws Exception
Description copied from class: PrintHelper
Print the specified component

Specified by:
printTarget in class PrintHelper
Throws:
Exception

setOrientation

public void setOrientation(int orientation)
Description copied from class: PrintHelper
Set the print orientation

Specified by:
setOrientation in class PrintHelper
Parameters:
orientation - One of ORIENTATION_BEST_FIT,ORIENTATION_PORTRAITE,ORIENTATION_LANDSCAPE

setScaleUp

public void setScaleUp(boolean scaleUp)
Description copied from class: PrintHelper
Controls whether the PrintHelper will scale an image up to make it fill the page (PrintHelper will always try to shrink to fit)

Specified by:
setScaleUp in class PrintHelper


Copyright © 2000-2009 FreeHEP. All Rights Reserved.