com.cosylab.vdct.events
Class CommandManager

java.lang.Object
  extended by com.cosylab.vdct.events.CommandManager

public class CommandManager
extends java.lang.Object

Insert the type's description here. Creation date: (18.12.2000 15:26:40)

Author:
Matej Sekoranja

Field Summary
protected  java.util.Hashtable commands
           
protected static CommandManager instance
           
 
Constructor Summary
protected CommandManager()
          CommandManager constructor comment.
 
Method Summary
 void addCommand(java.lang.String id, Command command)
          Insert the method's description here.
 void clear()
          Insert the method's description here.
 void execute(java.lang.String id)
          Insert the method's description here.
 Command getCommand(java.lang.String id)
          Insert the method's description here.
static CommandManager getInstance()
          Insert the method's description here.
 void removeCommand(java.lang.String id)
          Insert the method's description here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

commands

protected java.util.Hashtable commands

instance

protected static CommandManager instance
Constructor Detail

CommandManager

protected CommandManager()
CommandManager constructor comment.

Method Detail

addCommand

public void addCommand(java.lang.String id,
                       Command command)
Insert the method's description here. Creation date: (18.12.2000 15:33:35)

Parameters:
id - java.lang.String
command - 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(java.lang.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(java.lang.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(java.lang.String id)
Insert the method's description here. Creation date: (18.12.2000 15:35:01)

Parameters:
id - java.lang.String