org.jfree.pixie.wmf.records

Class 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.

Constructor Details

CommandFactory

public CommandFactory()

Method Details

getCommand

public MfCmd getCommand(int function)

getInstance

public static CommandFactory getInstance()

registerAllKnownTypes

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