设计模式之Command http://www.jdon.com/designpatterns/command.htm Command是将对行为进行封装的典型模式,Factory是将创建进行封装的模式,