org.jfree.pixie.wmf.records
Class CommandFactory

java.lang.Object
  |
  +--org.jfree.pixie.wmf.records.CommandFactory

public class CommandFactory
extends java.lang.Object

Manages the available WmfCommands and allows a generic command instantiation.


Constructor Summary
CommandFactory()
           
 
Method Summary
 MfCmd getCommand(int function)
           
static CommandFactory getInstance()
           
 void registerAllKnownTypes()
          Registers all known command types to the standard factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandFactory

public CommandFactory()
Method Detail

getInstance

public static CommandFactory getInstance()

registerAllKnownTypes

public void registerAllKnownTypes()
Registers all known command types to the standard factory.


getCommand

public MfCmd getCommand(int function)