net.sf.latexdraw.parsers.ps
Class PSArithemticCommand

java.lang.Object
  extended by net.sf.latexdraw.parsers.ps.PSArithemticCommand
Direct Known Subclasses:
PSAbsCommand, PSAddCommand, PSCeilingCommand, PSClearCommand, PSCosCommand, PSCountCommand, PSDivCommand, PSDupCommand, PSExchCommand, PSExpCommand, PSFloorCommand, PSIDivCommand, PSModCommand, PSMulCommand, PSNegCommand, PSPlotXVariable, PSPopCommand, PSSinCommand, PSSubCommand, PSValue

public abstract class PSArithemticCommand
extends java.lang.Object

Defines an abstract arithmetic command.

This file is part of LaTeXDraw
Copyright (c) 2005-2012 Arnaud BLOUIN

LaTeXDraw is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

LaTeXDraw is distributed without any warranty; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

03/11/08

Version:
3.0
Author:
Arnaud BLOUIN

Constructor Summary
PSArithemticCommand()
           
 
Method Summary
abstract  void execute(java.util.Deque<java.lang.String> stack, double x)
          Creates n abstract postscript arithmetical command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PSArithemticCommand

public PSArithemticCommand()
Method Detail

execute

public abstract void execute(java.util.Deque<java.lang.String> stack,
                             double x)
                      throws InvalidFormatPSFunctionException
Creates n abstract postscript arithmetical command.

Parameters:
stack - The current stack of commands.
x - The x variable of the command.
Throws:
InvalidFormatPSFunctionException - If the command format is not valid.
Since:
3.0