FreeHEP API
Version v1.2.2

org.freehep.postscript
Class Processor

java.lang.Object
  |
  +--org.freehep.postscript.Processor
All Implemented Interfaces:
DebuggerListener, EventListener

public class Processor
extends Object
implements DebuggerListener

PostScript Processor

Version:
$Id: Processor.java,v 1.8 2003/11/25 21:49:41 duns Exp $
Author:
Mark Donszelmann

Constructor Summary
Processor(Graphics2D graphics, Dimension dimension)
           
Processor(Graphics2D graphics, Dimension dimension, boolean secure)
           
Processor(PSPanel panel)
           
Processor(PSPanel panel, boolean secure)
           
 
Method Summary
 void attach(PSDebugger debugger)
           
 DictionaryStack dictStack()
           
 ExecutableStack execStack()
           
 void go()
          Proceeds to end
 GStateStack gstateStack()
           
 OperandStack operandStack()
           
 void process()
           
 void reset()
          Resets
 void setData(PSObject data)
           
 void setData(PSObject data, int bufferLimit)
           
 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,
                 boolean secure)

Processor

public Processor(PSPanel panel)

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
IOException

setData

public void setData(PSObject data)

setData

public void setData(PSObject data,
                    int bufferLimit)

dictStack

public DictionaryStack dictStack()

execStack

public ExecutableStack execStack()

operandStack

public OperandStack operandStack()

gstateStack

public GStateStack gstateStack()

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
IOException

attach

public void attach(PSDebugger debugger)

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.