jfig.utils
Class LP2.CommandBox
java.lang.Object
jfig.utils.LP2.Box
jfig.utils.LP2.GroupBox
jfig.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
|
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 |
command
protected java.lang.String command
n_args
protected int n_args
args
protected java.util.Vector args
LP2.CommandBox
public LP2.CommandBox(java.lang.String cmd,
int n)
getCommand
public java.lang.String getCommand()
addArgument
public void addArgument(LP2.Box box)
hasAllArguments
public boolean hasAllArguments()
executeCommand
public void executeCommand()