FreeHEP API
Version current

org.freehep.postscript
Class Processor

java.lang.Object
  extended byorg.freehep.postscript.Processor
All Implemented Interfaces:
DebuggerListener, EventListener

public class Processor
extends Object
implements DebuggerListener

PostScript Processor

Version:
$Id: Processor.java,v 1.9 2004/01/12 20:19:16 duns Exp $
Author:
Mark Donszelmann
Source Code:
Processor.java

Constructor Summary
Processor(Graphics2D graphics, Dimension dimension)
           
Processor(Graphics2D graphics, Dimension dimension, boolean secure)
           
Processor(PSDevice device, boolean secure)
           
Processor(PSPanel panel)
           
 
Method Summary
 void attach(PSDebugger debugger)
           
 DictionaryStack dictStack()
           
 ExecutableStack execStack()
           
 DSC getDSC()
           
 void go()
          Proceeds to end
 GStateStack gstateStack()
           
 OperandStack operandStack()
           
 void process()
           
 void reset()
          Resets
 void setData(PSObject data)
           
 void setData(PSObject data, int bufferLimit)
           
 void setPageNo(long pageNo)
           
 void setScale(double sx, double sy)
           
 void setTranslation(double tx, double ty)
           
 boolean step()
          Executes one step
 boolean step(boolean update)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Processor

public Processor(PSPanel panel)

Processor

public Processor(PSDevice device,
                 boolean secure)

Processor

public Processor(Graphics2D graphics,
                 Dimension dimension,
                 boolean secure)

Processor

public Processor(Graphics2D graphics,
                 Dimension dimension)
Method Detail

reset

public void reset()
           throws IOException
Description copied from interface: DebuggerListener
Resets

Specified by:
reset in interface DebuggerListener
Throws:
IOException

setData

public void setData(PSObject data)

setData

public void setData(PSObject data,
                    int bufferLimit)

setPageNo

public void setPageNo(long pageNo)

setScale

public void setScale(double sx,
                     double sy)

setTranslation

public void setTranslation(double tx,
                           double ty)

dictStack

public DictionaryStack dictStack()

execStack

public ExecutableStack execStack()

operandStack

public OperandStack operandStack()

gstateStack

public GStateStack gstateStack()

getDSC

public DSC getDSC()

step

public boolean step()
Description copied from interface: DebuggerListener
Executes one step

Specified by:
step in interface DebuggerListener
Returns:
true if more steps can be taken

step

public boolean step(boolean update)

go

public void go()
Description copied from interface: DebuggerListener
Proceeds to end

Specified by:
go in interface DebuggerListener

process

public void process()
             throws IOException
Throws:
IOException

attach

public void attach(PSDebugger debugger)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.