public class CommandFactory
extends java.lang.Object
Constructor and Description |
---|
CommandFactory() |
Modifier and Type | Method and Description |
---|---|
static Command |
createCommand(java.lang.String cmd,
java.lang.String remark,
Parameter[] parameter)
Create an instance of Command, used by CommandFrame.init_cmdTemplate()
|
public static Command createCommand(java.lang.String cmd, java.lang.String remark, Parameter[] parameter)
cmd
- command-nameremark
- remark about templateparameter
- Array of Parameter's where each parameter must have a different type