|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An object that implements this interface is defined as a path operator.
This interface defines the group of path operators.
The implementations of those operators should define the way the graphics are draw in a frame. The implementor must check the type of input,the number of parameters taken as well as the number of operands needed and taken from the stack
| Method Summary | |
void |
action(PSStack s,
PSPath p)
Executes the action as it is intented. |
| Methods inherited from interface pstypes.PSOperator |
getOperatorToken, isValid |
| Method Detail |
public void action(PSStack s,
PSPath p)
The implementor determines the kind of the drawing that will be held as well as the type of operands needed.
Precondition : A valid stack is given to method as well as the information needed for the drawing.
Postcondition : The implemented action will be executed.
s - The stack where the operands are stored.p - The path data type containing all the necessery information from the draw
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||