Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
I
K
L
N
O
P
S
T
V
A
action(PSStack)
- Method in class operators.
PSAbs
Performs absolute value on two operands.
action(PSStack)
- Method in class operators.
PSAdd
Performs addition on two operands.
action(PSStack, PSPath)
- Method in class operators.
PSArc
Creates a new DrawableArc and adds it to the contents of the Graphics Stack.
action(PSStack, PSPath)
- Method in class operators.
PSArct
Creates a new DrawableArc and adds it to the contents of the Graphics Stack.
action(PSStack)
- Method in class operators.
PSClear
Clears the stack from it's contents.
action(PSStack, PSPath)
- Method in class operators.
PSClosepath
Creates a new DrawableLine and adds it to the contents of the Graphics Stack if the current position is not null.
action(PSStack, PSPath)
- Method in class operators.
PSCurrentpoint
Adds the current point on top of the Runtime Stack.
action(PSStack)
- Method in class operators.
PSDeq
Prints of the toppest value in the output plus it removes it.
action(PSStack)
- Method in class operators.
PSDiv
Performs division on two operands.
action(PSStack)
- Method in class operators.
PSDup
Dublicates the top element of the stack.
action(PSStack)
- Method in class operators.
PSEq
Compares the literals given and returns the result back to the stack.
action(PSStack)
- Method in class operators.
PSExch
Exchanges the two top literals of stack.
action(PSStack)
- Method in class operators.
PSExit
Exits from the nearest loop or for block.
action(PSStack)
- Method in class operators.
PSFor
Repeats the executable array as a for loop: for(i=j;i<=l;i+=k).
action(PSStack)
- Method in class operators.
PSGe
Compares the literals given and returns the result back to the stack.
action(PSStack)
- Method in class operators.
PSGet
Returns the ascii value of the character at the position given on the string.
action(PSStack)
- Method in class operators.
PSGt
Compares the literals given and returns the result back to the stack.
action(PSStack)
- Method in class operators.
PSIdiv
Performs integral division on two operands.
action(PSStack)
- Method in class operators.
PSIf
Rus an executable array if the boolean value is true.
action(PSStack)
- Method in class operators.
PSIfelse
Rus an executable array if the boolean value is true or another if it is false.
action(PSStack)
- Method in class operators.
PSIndex
Copies of the n-element on top of the stack.
action(PSStack)
- Method in class operators.
PSLe
Compares the literals given and returns the result back to the stack.
action(PSStack)
- Method in class operators.
PSLength
Returns the length of the string given.
action(PSStack, PSPath)
- Method in class operators.
PSLineto
Creates a new DrawableLine and adds it to the contents of the Graphics Stack.
action(PSStack)
- Method in class operators.
PSLoop
Repeats an executable array forever unless it contains an exit command.
action(PSStack)
- Method in class operators.
PSLt
Compares the literals given and returns the result back to the stack.
action(PSStack)
- Method in class operators.
PSMod
Performs modulo on two operands.
action(PSStack, PSPath)
- Method in class operators.
PSMoveto
Updates the variables which hold the current position and the last move in the Graphics Stack.
action(PSStack)
- Method in class operators.
PSMul
Performs multiplication on two operands.
action(PSStack)
- Method in class operators.
PSNe
Compares the literals given and returns the result back to the stack.
action(PSStack, PSPath)
- Method in class operators.
PSNewpath
Deletes everything in the Graphics Stack up to the last stroke command and setting the current position and the last move to null.
action(PSStack)
- Method in class operators.
PSPop
Removes the toppest element of stack.
action(PSStack)
- Method in class operators.
PSPstack
Prints of the toppest value in the output plus i'ts removal.
action(PSStack, PSPath)
- Method in class operators.
PSRlineto
Creates a new DrawableLine and adds it to the contents of the Graphics Stack.
action(PSStack, PSPath)
- Method in class operators.
PSRmoveto
Updates the variables which hold the current position and the last move in the Graphics Stack.
action(PSStack, PSPath)
- Method in class operators.
PSShow
Adds DrawableString on the Graphics Stack which performs the actual drawing on the screen.
action(PSStack, PSPath)
- Method in class operators.
PSShowpage
Redraws everything found in the Graphics Stack.
action(PSStack)
- Method in class operators.
PSStr
Creates the string.
action(PSStack, PSPath)
- Method in class operators.
PSStroke
Adds the string "stroke" on top of the Graphics Stack.
action(PSStack)
- Method in class operators.
PSSub
Performs subtraction on two operands.
action(PSStack)
- Method in interface pstypes.
PSArithmeticOperator
Executes the action of the operand as it is implemented by the programmer.
action(PSStack)
- Method in interface pstypes.
PSConsoleOperator
Executes the action as it is intented.
action(PSStack)
- Method in interface pstypes.
PSEqualityOperator
Executes the action as it is intented.
action(PSStack)
- Method in interface pstypes.
PSFlowOperator
Executes the action as it is intented.
action(PSStack, PSPath)
- Method in interface pstypes.
PSPathOperator
Executes the action as it is intented.
action(PSStack)
- Method in interface pstypes.
PSStackOperator
Executes the action as it is intented.
action(PSStack)
- Method in interface pstypes.
PSStringOperator
Executes the action as it is intented.
appendToOutputText(String)
- Static method in class psengines.
GraphicsMachine
Adds to the output text of the GUI the one given.
C
changeInputToKeyboard(PipedWriter)
- Method in class psengines.
ProgramLoader
Changes the tokenizers input from file to keyboard.
clear()
- Method in class dtypes.
PSStack
Removes all elements from stack.
counter
- Variable in class dtypes.
EAVectorElement
D
DrawableArc
- class psgraphics.
DrawableArc
.
Represents an arc that can be drawn to the screen.
DrawableArc(Point, int, int, int, boolean)
- Constructor for class psgraphics.
DrawableArc
Creates a new DrawableArc and initializes the parameters which describe it.
DrawableLine
- class psgraphics.
DrawableLine
.
Represents a line that can be drawn to the screen.
DrawableLine(Point, Point)
- Constructor for class psgraphics.
DrawableLine
Creates a new DrawableLine and initializes the coordinates which describe it.
DrawableString
- class psgraphics.
DrawableString
.
Represents a string that can be drawn to the screen.
DrawableString(Point, String)
- Constructor for class psgraphics.
DrawableString
Creates a new DrawableString and initializes the coordinates which describe it and the string that will be shown.
DrawingArea
- class psgraphics.
DrawingArea
.
This class is an extension of JPanel which represents the actual Drawing Area where the postscript graphics are being drawn.
DrawingArea(PSPath)
- Constructor for class psgraphics.
DrawingArea
Creates a new DrawingArea and "connects" it to the Graphics Stack.
decLoopsCnt()
- Static method in class psengines.
ExecutionEngine
Decreases the loopsCnt field.
destroyLastArray()
- Static method in class psengines.
ExecutionEngine
Erases the last record of the executable array being processed.
draw(Graphics)
- Method in class psgraphics.
DrawableArc
Draws the arc on the drawing area of the postscript interpreter.
draw(Graphics)
- Method in class psgraphics.
DrawableLine
Draws the line on the drawing area of the postscript interpreter.
draw(Graphics)
- Method in class psgraphics.
DrawableString
Draws the string on the drawing area of the postscript interpreter.
draw(Graphics)
- Method in class psgraphics.
Figure
Draws the Figure object on the drawing area of the postscript interpreter.
dtypes
- package dtypes
E
EAVectorElement
- class dtypes.
EAVectorElement
.
Execution Engine maintanance mechanism for execArrays.
EAVectorElement(PSExecArray)
- Constructor for class dtypes.
EAVectorElement
ExecutionEngine
- class psengines.
ExecutionEngine
.
It describes the Execution Engine component of PS-View.
ExecutionEngine(PSPath)
- Constructor for class psengines.
ExecutionEngine
Creates an instance of the Execution Engine.
exceptions
- package exceptions
execExecutableArray(PSExecArray)
- Static method in class psengines.
ExecutionEngine
Retrieves a PSobject from the executable array.
F
Figure
- class psgraphics.
Figure
.
Abstract class which defines a new type of drawable figures.
Figure()
- Constructor for class psgraphics.
Figure
findToken(String)
- Method in class psengines.
ProgramLoader
Returns the first occurance of a token in the list where the names of the valid operator classes are saved(binary search).
G
GraphicsMachine
- class psengines.
GraphicsMachine
.
As the name of this class implies, it represents the Graphics Machine of the postscript interpreter.
GraphicsMachine()
- Constructor for class psengines.
GraphicsMachine
Initializes some fields of the object.
get(int)
- Method in class dtypes.
PSStack
getCurrentPosition()
- Method in class dtypes.
PSPath
Returns the currentPosition.
getExitNear()
- Static method in class psengines.
ExecutionEngine
Returns the status of the exitNear field.
getGraphicsStack()
- Method in class psengines.
GraphicsMachine
Returns the PSPath object used for input.
getLastMove()
- Method in class dtypes.
PSPath
Returns the lastMove.
getLoopsCnt()
- Static method in class psengines.
ExecutionEngine
Returns the number of nested loops found until now.
getMessage()
- Method in class pstypes.
PSErrata
Sets some default parameters to the tokenizer.
getObjectAt(int)
- Method in class dtypes.
PSPath
Returns the object held in the stack at the position given.
getOperatorToken()
- Method in class operators.
PSAbs
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSAdd
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSArc
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSArct
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSClear
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSClosepath
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSCurrentpoint
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSDeq
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSDiv
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSDup
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSEq
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSExch
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSExit
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSFor
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSGe
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSGet
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSGt
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSIdiv
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSIf
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSIfelse
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSIndex
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSLe
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSLength
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSLineto
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSLoop
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSLt
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSMod
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSMoveto
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSMul
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSNe
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSNewpath
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSPop
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSPstack
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSRlineto
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSRmoveto
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSShow
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSShowpage
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSStr
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSStroke
Returns the token identifying this operator.
getOperatorToken()
- Method in class operators.
PSSub
Returns the token identifying this operator.
getOperatorToken()
- Method in interface pstypes.
PSOperator
Returns the token identifying this operator.
getPipedWriter()
- Method in class psengines.
GraphicsMachine
Returns the PipedWriter object used for input.
getSize()
- Method in class dtypes.
PSStack
Returns the size of the stack.
getValue()
- Method in class literals.
PSBoolean
Returns the boolean value being encapsulated.
getValue()
- Method in class literals.
PSExecArray
A copy of the executable array is returned.
getValue()
- Method in class literals.
PSNumber
Returns the number being encapsulated.
getValue()
- Method in class literals.
PSString
A copy of a String object is returned.
I
InitGUI()
- Method in class psengines.
GraphicsMachine
Creates the GUI which consists of two windows: the console input-output and the drawing area.
incLoopsCnt()
- Static method in class psengines.
ExecutionEngine
Increases the loopsCnt field.
isEmpty()
- Method in class dtypes.
PSStack
Checks whether the stack is empty.
isValid(PSStack)
- Method in class operators.
PSAbs
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSAdd
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSArc
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSArct
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSClear
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSClosepath
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSCurrentpoint
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSDeq
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSDiv
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSDup
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSEq
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSExch
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSExit
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSFor
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSGe
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSGet
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSGt
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSIdiv
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSIf
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSIfelse
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSIndex
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSLe
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSLength
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSLineto
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSLoop
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSLt
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSMod
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSMoveto
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSMul
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSNe
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSNewpath
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSPop
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSPstack
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSRlineto
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSRmoveto
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSShow
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSShowpage
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSStr
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSStroke
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in class operators.
PSSub
Checks if it valid to use this operator now.
isValid(PSStack)
- Method in interface pstypes.
PSOperator
Checks if it valid to use this operator now.
K
keyPressed(KeyEvent)
- Method in class psengines.
GraphicsMachine
Implements the KeyListener interface and handles the event of pressing ENTER while typing on the input text field, so that the text is processed and cleared.
keyReleased(KeyEvent)
- Method in class psengines.
GraphicsMachine
Implements KeyListener -- NOT USED
keyTyped(KeyEvent)
- Method in class psengines.
GraphicsMachine
Implements KeyListener -- NOT USED
L
literals
- package literals
N
NoCurrentPositionException
- exception exceptions.
NoCurrentPositionException
.
This exception is thrown only when a path operator wants to check whether a new graphic starting point has been declared.
NoCurrentPositionException()
- Constructor for class exceptions.
NoCurrentPositionException
Calls the superclass constructor to print the "NoCurrentPositionException" string on the console.
NoCurrentPositionException(String)
- Constructor for class exceptions.
NoCurrentPositionException
Calls the superclass constructor with the string given as parameter to print to the console.
nextPSObject()
- Method in class psengines.
ProgramLoader
Returns the next PSObject found in the stream.
numberElem
- Variable in class dtypes.
PSStack
O
operators
- package operators
P
PSAbs
- class operators.
PSAbs
.
Implements PSArithmeticOperator interface.
PSAbs()
- Constructor for class operators.
PSAbs
PSAdd
- class operators.
PSAdd
.
Implements PSArithmeticOperator interface.
PSAdd()
- Constructor for class operators.
PSAdd
PSArc
- class operators.
PSArc
.
Implements PSPathOperator interface.
PSArc()
- Constructor for class operators.
PSArc
PSArct
- class operators.
PSArct
.
Implements PSPathOperator interface.
PSArct()
- Constructor for class operators.
PSArct
PSArithmeticOperator
- interface pstypes.
PSArithmeticOperator
.
An object that implements this interface is defined as an arithmetic operator.
PSBoolean
- class literals.
PSBoolean
.
PSBoolean()
- Constructor for class literals.
PSBoolean
Creates a new PSBoolean object with a default value set to false.
PSBoolean(boolean)
- Constructor for class literals.
PSBoolean
Creates a new PSBoolean object with its value set to the value being given as a parameter.
PSBoolean(String)
- Constructor for class literals.
PSBoolean
Creates a new PSBoolean object with its value set to the value being given as a parameter.
PSClear
- class operators.
PSClear
.
Implements PSStackOperator interface.
PSClear()
- Constructor for class operators.
PSClear
PSClosepath
- class operators.
PSClosepath
.
Implements PSPathOperator interface.
PSClosepath()
- Constructor for class operators.
PSClosepath
PSConsoleOperator
- interface pstypes.
PSConsoleOperator
.
An object that implements this interface is defined as a console operator.
PSCurrentpoint
- class operators.
PSCurrentpoint
.
Implements PSPathOperator interface.
PSCurrentpoint()
- Constructor for class operators.
PSCurrentpoint
PSDeq
- class operators.
PSDeq
.
Implements PSStackOperator interface.
PSDeq()
- Constructor for class operators.
PSDeq
PSDiv
- class operators.
PSDiv
.
Implements PSArithmeticOperator interface.
PSDiv()
- Constructor for class operators.
PSDiv
PSDup
- class operators.
PSDup
.
Implements PSStackOperator interface.
PSDup()
- Constructor for class operators.
PSDup
PSEq
- class operators.
PSEq
.
Implements PSEqualityOperator interface.
PSEq()
- Constructor for class operators.
PSEq
PSEqualityOperator
- interface pstypes.
PSEqualityOperator
.
An object that implements this interface is defined as an equality operator.
PSErrata
- class pstypes.
PSErrata
.
Declares a new PSObject type which refers to users mistypes
PSErrata(String)
- Constructor for class pstypes.
PSErrata
Creates a new PSErrata object
PSExch
- class operators.
PSExch
.
Implements PSStackOperator interface.
PSExch()
- Constructor for class operators.
PSExch
PSExecArray
- class literals.
PSExecArray
.
PSExecArray()
- Constructor for class literals.
PSExecArray
Creates a new instance of PSExecArray.
PSExecArray(Vector)
- Constructor for class literals.
PSExecArray
Creates a new instance of PSExecArray.
PSExit
- class operators.
PSExit
.
Implements PSFlowOperator interface.
PSExit()
- Constructor for class operators.
PSExit
PSFlowOperator
- interface pstypes.
PSFlowOperator
.
An object that implements this interface is defined as a flow control operator.
PSFor
- class operators.
PSFor
.
Implements PSFlowOperator interface.
PSFor()
- Constructor for class operators.
PSFor
PSGe
- class operators.
PSGe
.
Implements PSEqualityOperator interface.
PSGe()
- Constructor for class operators.
PSGe
PSGet
- class operators.
PSGet
.
Implements PSStringOperator interface.
PSGet()
- Constructor for class operators.
PSGet
PSGt
- class operators.
PSGt
.
Implements PSEqualityOperator interface.
PSGt()
- Constructor for class operators.
PSGt
PSIdiv
- class operators.
PSIdiv
.
Implements PSArithmeticOperator interface.
PSIdiv()
- Constructor for class operators.
PSIdiv
PSIf
- class operators.
PSIf
.
Implements PSFlowOperator interface.
PSIf()
- Constructor for class operators.
PSIf
PSIfelse
- class operators.
PSIfelse
.
Implements PSFlowOperator interface.
PSIfelse()
- Constructor for class operators.
PSIfelse
PSIndex
- class operators.
PSIndex
.
Implements PSStackOperator interface.
PSIndex()
- Constructor for class operators.
PSIndex
PSLe
- class operators.
PSLe
.
Implements PSEqualityOperator interface.
PSLe()
- Constructor for class operators.
PSLe
PSLength
- class operators.
PSLength
.
Implements PSStringOperator interface.
PSLength()
- Constructor for class operators.
PSLength
PSLineto
- class operators.
PSLineto
.
Implements PSPathOperator interface.
PSLineto()
- Constructor for class operators.
PSLineto
PSLiteral
- interface pstypes.
PSLiteral
.
The parent interface for all literal objects in Postscript.
PSLoop
- class operators.
PSLoop
.
Implements PSFlowOperator interface.
PSLoop()
- Constructor for class operators.
PSLoop
PSLt
- class operators.
PSLt
.
Implements PSEqualityOperator interface.
PSLt()
- Constructor for class operators.
PSLt
PSMod
- class operators.
PSMod
.
Implements PSArithmeticOperator interface.
PSMod()
- Constructor for class operators.
PSMod
PSMoveto
- class operators.
PSMoveto
.
Implements PSPathOperator interface.
PSMoveto()
- Constructor for class operators.
PSMoveto
PSMul
- class operators.
PSMul
.
Implements PSArithmeticOperator interface.
PSMul()
- Constructor for class operators.
PSMul
PSNe
- class operators.
PSNe
.
Implements PSEqualityOperator interface.
PSNe()
- Constructor for class operators.
PSNe
PSNewpath
- class operators.
PSNewpath
.
Implements PSPathOperator interface.
PSNewpath()
- Constructor for class operators.
PSNewpath
PSNumber
- class literals.
PSNumber
.
PSNumber()
- Constructor for class literals.
PSNumber
Creates a new PSNumber object with a default value set to zero.
PSNumber(int)
- Constructor for class literals.
PSNumber
Creates a new PSNumber object with its value set to the value(int) being given as a parameter.
PSNumber(double)
- Constructor for class literals.
PSNumber
Creates a new PSNumber object with its value set to the value(double) being given as a parameter.
PSObject
- interface pstypes.
PSObject
.
The top root of Postscript object hierarchy.
PSOperator
- interface pstypes.
PSOperator
.
Parent interface of all operator objects in Postscript.
PSPath
- class dtypes.
PSPath
.
Is a subclass of PSStack which represents a Graphics Stack for the postscript interpreter.
PSPath()
- Constructor for class dtypes.
PSPath
Creates a new PSPath and initializes its state.
PSPathOperator
- interface pstypes.
PSPathOperator
.
An object that implements this interface is defined as a path operator.
PSPop
- class operators.
PSPop
.
Implements PSStackOperator interface.
PSPop()
- Constructor for class operators.
PSPop
PSPstack
- class operators.
PSPstack
.
PSPstack()
- Constructor for class operators.
PSPstack
PSRlineto
- class operators.
PSRlineto
.
Implements PSPathOperator interface.
PSRlineto()
- Constructor for class operators.
PSRlineto
PSRmoveto
- class operators.
PSRmoveto
.
Implements PSPathOperator interface.
PSRmoveto()
- Constructor for class operators.
PSRmoveto
PSShow
- class operators.
PSShow
.
Implements PSPathOperator interface.
PSShow()
- Constructor for class operators.
PSShow
PSShowpage
- class operators.
PSShowpage
.
Implements PSPathOperator interface.
PSShowpage()
- Constructor for class operators.
PSShowpage
PSSpellingException
- exception exceptions.
PSSpellingException
.
This exception is thrown only when the user has mistyped something.
PSSpellingException()
- Constructor for class exceptions.
PSSpellingException
Calls the superclass constructor to print the "PSSPellingException" string on the console.
PSSpellingException(String)
- Constructor for class exceptions.
PSSpellingException
Calls the superclass constructor with the string given as parameter to print to the console.
PSStack
- class dtypes.
PSStack
.
The Stack ADT definition.
PSStack()
- Constructor for class dtypes.
PSStack
Creates a new PSStack.
PSStackOperator
- interface pstypes.
PSStackOperator
.
An object that implements this interface is defined as a stack operator.
PSStr
- class operators.
PSStr
.
Implements PSStringOperator interface.
PSStr()
- Constructor for class operators.
PSStr
PSString
- class literals.
PSString
.
PSString()
- Constructor for class literals.
PSString
Creates a new instance of PSString.
PSString(String)
- Constructor for class literals.
PSString
Creates a new instance of PSString.
PSStringOperator
- interface pstypes.
PSStringOperator
.
An object that implements this interface is defined as a string operator.
PSStroke
- class operators.
PSStroke
.
Implements PSPathOperator interface.
PSStroke()
- Constructor for class operators.
PSStroke
PSSub
- class operators.
PSSub
.
Implements PSArithmeticOperator interface.
PSSub()
- Constructor for class operators.
PSSub
PSSyntaxException
- exception exceptions.
PSSyntaxException
.
This exception is thrown by the isValid() methods of the postscript operators each time the user makes a syntax error.
PSSyntaxException()
- Constructor for class exceptions.
PSSyntaxException
Calls the superclass constructor to print the "PSSyntaxException" string on the console.
PSSyntaxException(String)
- Constructor for class exceptions.
PSSyntaxException
Calls the superclass constructor with the string given as parameter to print to the console.
ProgramLoader
- class psengines.
ProgramLoader
.
It describes the Program loader component of PS-View.
ProgramLoader(String)
- Constructor for class psengines.
ProgramLoader
Creates an instance of Program Loader.
ProgramLoader(PipedWriter)
- Constructor for class psengines.
ProgramLoader
Creates an instance of Program Loader.
paint(Graphics)
- Method in class psgraphics.
DrawingArea
Processes the Graphics Stack and calls every draw() command of drawable objects below any "stroke" strings.
peek(int)
- Method in class dtypes.
PSStack
Retrieves the type of peek
Precondition :
Postcondition : The size of the stack is returned.
pop()
- Method in class dtypes.
PSStack
Returns the size of the stack.
processPSObject(PSObject)
- Static method in class psengines.
ExecutionEngine
Retrieves a PSobject from program loader and if it is a command it executes it.
psEA
- Variable in class dtypes.
EAVectorElement
psengines
- package psengines
psgraphics
- package psgraphics
pstypes
- package pstypes
push(Object)
- Method in class dtypes.
PSStack
Pushes an element on top of the stack.
S
setCurrentPosition(Point)
- Method in class dtypes.
PSPath
Changes the current position.
setExitNear(boolean)
- Static method in class psengines.
ExecutionEngine
Sets the exitNear field with the value being given.
setLastMove(Point)
- Method in class dtypes.
PSPath
Changes the last move.
showPage()
- Static method in class psengines.
GraphicsMachine
Static method used mainly by the showpage operator to show graphics frame.
size
- Variable in class dtypes.
EAVectorElement
T
toString()
- Method in class literals.
PSBoolean
Returns the boolean value being encapsulated in a string form.
toString()
- Method in class literals.
PSExecArray
A String representation of an executable array is returned.
toString()
- Method in class literals.
PSNumber
Converts the encapsulated value into string
Precondition : The instance is in a valid form.
toString()
- Method in class literals.
PSString
A String representation of a String is returned.
toString()
- Method in class pstypes.
PSErrata
Sets some default parameters to the tokenizer.
toString()
- Method in interface pstypes.
PSLiteral
Always returns a copy as a string object of the encapsulated field.
V
v
- Variable in class dtypes.
PSStack
A
C
D
E
F
G
I
K
L
N
O
P
S
T
V
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes