org.freehep.postscript
Class PSDevice

java.lang.Object
  extended by org.freehep.postscript.PSDevice
All Implemented Interfaces:
DSCEventListener
Direct Known Subclasses:
PanelDevice, VirtualDevice

public abstract class PSDevice
extends Object
implements DSCEventListener


Constructor Summary
PSDevice()
           
 
Method Summary
 void addComponentListener(ComponentListener l)
           
abstract  BufferedImage convertToImage(int width, int height)
           
 void dscCommentFound(DSCEvent event)
           
 void erasePage()
           
protected  void fireComponentResizedEvent(ComponentEvent e)
           
 AffineTransform getBoundingBoxTransform()
           
abstract  Graphics getDeviceGraphics()
           
abstract  AffineTransform getDeviceTransform()
           
 Graphics2D getGraphics()
           
abstract  double getHeight()
           
 AffineTransform getMirrorTransform()
           
 AffineTransform getTransform()
           
abstract  double getWidth()
           
abstract  void refresh()
           
 void removeComponentListener(ComponentListener l)
           
 void setTransform(AffineTransform transform)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PSDevice

public PSDevice()
Method Detail

addComponentListener

public void addComponentListener(ComponentListener l)

removeComponentListener

public void removeComponentListener(ComponentListener l)

fireComponentResizedEvent

protected void fireComponentResizedEvent(ComponentEvent e)

dscCommentFound

public void dscCommentFound(DSCEvent event)
Specified by:
dscCommentFound in interface DSCEventListener

setTransform

public void setTransform(AffineTransform transform)

getTransform

public AffineTransform getTransform()

getMirrorTransform

public AffineTransform getMirrorTransform()

getBoundingBoxTransform

public AffineTransform getBoundingBoxTransform()

getGraphics

public Graphics2D getGraphics()

erasePage

public void erasePage()

getDeviceTransform

public abstract AffineTransform getDeviceTransform()

getDeviceGraphics

public abstract Graphics getDeviceGraphics()

getWidth

public abstract double getWidth()

getHeight

public abstract double getHeight()

convertToImage

public abstract BufferedImage convertToImage(int width,
                                             int height)

refresh

public abstract void refresh()


Copyright © 2000-2006 FreeHEP. All Rights Reserved.