jfig.utils
Class LP2.CommandBox

java.lang.Object
  extended byjfig.utils.LP2.Box
      extended byjfig.utils.LP2.GroupBox
          extended byjfig.utils.LP2.CommandBox
Enclosing class:
LP2

public class LP2.CommandBox
extends LP2.GroupBox

a class to encapsulate a LaTeX command with arguments


Field Summary
protected  java.util.Vector args
           
protected  java.lang.String command
           
protected  int n_args
           
 
Fields inherited from class jfig.utils.LP2.GroupBox
members
 
Fields inherited from class jfig.utils.LP2.Box
a, comment, d, next, parent, prev, w, x, y
 
Constructor Summary
LP2.CommandBox(java.lang.String cmd, int n)
           
 
Method Summary
 void addArgument(LP2.Box box)
           
 void executeCommand()
           
 java.lang.String getCommand()
           
 boolean hasAllArguments()
           
 
Methods inherited from class jfig.utils.LP2.GroupBox
append, appendMember, appendMemberOrig, convertToFig, deleteAllMembers, deleteMember, dumpGroupMembers, getAbutmentPoint, getBounds, getLastMember, getMembers, measure, move
 
Methods inherited from class jfig.utils.LP2.Box
dump, getA, getComment, getD, getFigRectangle, getNextBox, getOrigin, getParent, getPrevBox, getW, getX, getY, moveTo, setA, setComment, setD, setNextBox, setOrigin, setParent, setPrevBox, setW, setX, setY, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

command

protected java.lang.String command

n_args

protected int n_args

args

protected java.util.Vector args
Constructor Detail

LP2.CommandBox

public LP2.CommandBox(java.lang.String cmd,
                      int n)
Method Detail

getCommand

public java.lang.String getCommand()

addArgument

public void addArgument(LP2.Box box)

hasAllArguments

public boolean hasAllArguments()

executeCommand

public void executeCommand()