org.freehep.postscript
Class Processor

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

public class Processor
extends Object
implements DebuggerListener

PostScript Processor

Version:
$Id: Processor.java 8951 2006-09-12 21:44:14Z duns $
Author:
Mark Donszelmann

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)


Copyright © 2000-2006 FreeHEP. All Rights Reserved.