Package com.cosylab.vdct.events
Class CommandManager
- java.lang.Object
-
- com.cosylab.vdct.events.CommandManager
-
public class CommandManager extends Object
Insert the type's description here. Creation date: (18.12.2000 15:26:40)- Author:
- Matej Sekoranja
-
-
Field Summary
Fields Modifier and Type Field Description protected Hashtable
commands
protected static CommandManager
instance
-
Constructor Summary
Constructors Modifier Constructor Description protected
CommandManager()
CommandManager constructor comment.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCommand(String id, Command command)
Insert the method's description here.void
clear()
Insert the method's description here.void
execute(String id)
Insert the method's description here.Command
getCommand(String id)
Insert the method's description here.static CommandManager
getInstance()
Insert the method's description here.void
removeCommand(String id)
Insert the method's description here.
-
-
-
Field Detail
-
commands
protected Hashtable commands
-
instance
protected static CommandManager instance
-
-
Method Detail
-
addCommand
public void addCommand(String id, Command command)
Insert the method's description here. Creation date: (18.12.2000 15:33:35)- Parameters:
id
- java.lang.Stringcommand
- com.cosylab.vdct.events.Command
-
clear
public void clear()
Insert the method's description here. Creation date: (18.12.2000 15:32:53)
-
execute
public void execute(String id)
Insert the method's description here. Creation date: (18.12.2000 15:35:33)- Parameters:
id
- java.lang.String
-
getCommand
public Command getCommand(String id)
Insert the method's description here. Creation date: (18.12.2000 15:35:33)- Parameters:
id
- java.lang.String- Returns:
- com.cosylab.vdct.events.Command
-
getInstance
public static CommandManager getInstance()
Insert the method's description here. Creation date: (18.12.2000 15:30:35)- Returns:
- com.cosylab.vdct.events.CommandManager
-
removeCommand
public void removeCommand(String id)
Insert the method's description here. Creation date: (18.12.2000 15:35:01)- Parameters:
id
- java.lang.String
-
-