|
Algernon Software | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.algernon.datatype.Command
Command represents a user-level command in Algernon.
Field Summary | |
private boolean |
f_hasSpecialArguments
This tells the compiler to do something special. |
private boolean |
f_isObsolete
This tells the compiler to do something special. |
private boolean |
f_isPathUnrestricted
This tells the compiler to do something special. |
private LispValue |
f_nameSymbol
|
private String |
f_obsoleteMessage
If this command is obsolete, this is the message the user receives. |
private Opcode |
f_opcode
This is the opcode corresponding to this comand. |
Constructor Summary | |
Command(Algernon algy,
LispValue nameSymbol,
Opcode opcode,
boolean hasSpecialArguments,
boolean isPathUnrestricted)
Creates a new command. |
|
Command(Algernon algy,
LispValue nameSymbol,
Opcode opcode,
boolean hasSpecialArguments,
boolean isPathUnrestricted,
boolean isObsolete)
Creates a new command. |
Method Summary | |
LispValue |
getNameSymbol()
|
String |
getObsoleteMessage()
|
Opcode |
getOpcode()
|
boolean |
hasSpecialArguments()
|
boolean |
isObsolete()
|
boolean |
isPathUnrestricted()
|
void |
setHasSpecialArguments(boolean hasSpecialArguments)
|
void |
setIsObsolete(boolean obsolete)
|
void |
setIsPathUnrestricted(boolean pathUnrestricted)
|
void |
setNameSymbol(LispValue nameSymbol)
|
void |
setObsoleteMessage(String message)
|
void |
setOpcode(Opcode opcode)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private LispValue f_nameSymbol
private boolean f_hasSpecialArguments
private boolean f_isObsolete
private boolean f_isPathUnrestricted
private String f_obsoleteMessage
private Opcode f_opcode
Constructor Detail |
public Command(Algernon algy, LispValue nameSymbol, Opcode opcode, boolean hasSpecialArguments, boolean isPathUnrestricted, boolean isObsolete)
public Command(Algernon algy, LispValue nameSymbol, Opcode opcode, boolean hasSpecialArguments, boolean isPathUnrestricted)
Method Detail |
public boolean hasSpecialArguments()
public void setHasSpecialArguments(boolean hasSpecialArguments)
public boolean isObsolete()
public void setIsObsolete(boolean obsolete)
public boolean isPathUnrestricted()
public void setIsPathUnrestricted(boolean pathUnrestricted)
public LispValue getNameSymbol()
public void setNameSymbol(LispValue nameSymbol)
public Opcode getOpcode()
public void setOpcode(Opcode opcode)
public void setObsoleteMessage(String message)
public String getObsoleteMessage()
public String toString()
|
Algernon Software | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |