Uses of Interface
net.sf.jguiraffe.gui.cmd.Command
-
Packages that use Command Package Description net.sf.jguiraffe.gui.app In this package the main application class can be found.net.sf.jguiraffe.gui.builder.window.ctrl This package contains classes and interfaces for the implementation of form controllers.net.sf.jguiraffe.gui.cmd This package contains the implementation of the Command pattern. -
-
Uses of Command in net.sf.jguiraffe.gui.app
Classes in net.sf.jguiraffe.gui.app that implement Command Modifier and Type Class Description classOpenWindowCommandA specializedCommandimplementation for opening a sub window.Methods in net.sf.jguiraffe.gui.app that return Command Modifier and Type Method Description protected CommandCommandActionTask. createCommandWrapper(Command actualCommand)Creates theCommandobject wrapper that is passed to theApplication.execute(Command)method.protected CommandCommandActionTask. fetchCommand()Obtains the command object to be executed.CommandCommandActionTask. getCommand()Returns the command object.Methods in net.sf.jguiraffe.gui.app with parameters of type Command Modifier and Type Method Description protected CommandCommandActionTask. createCommandWrapper(Command actualCommand)Creates theCommandobject wrapper that is passed to theApplication.execute(Command)method.voidApplication. execute(Command cmd)Executes the given command.voidCommandActionTask. setCommand(Command command)Sets the command object. -
Uses of Command in net.sf.jguiraffe.gui.builder.window.ctrl
Methods in net.sf.jguiraffe.gui.builder.window.ctrl that return Command Modifier and Type Method Description CommandFormController. getCancelCommand()Returns the command to be executed when the form is canceled.CommandFormController. getOkCommand()Returns the command to be executed when the form is closed in reaction of the OK button.Methods in net.sf.jguiraffe.gui.builder.window.ctrl with parameters of type Command Modifier and Type Method Description voidFormController. setCancelCommand(Command cancelCommand)Sets the command to be executed when the form is canceled.voidFormController. setOkCommand(Command okCommand)Sets the command to be executed when the form is closed in reaction of the OK button. -
Uses of Command in net.sf.jguiraffe.gui.cmd
Classes in net.sf.jguiraffe.gui.cmd that implement Command Modifier and Type Class Description classCommandBaseAn abstract base class for implementations of theCommandinterface.classCommandWrapperA wrapper implementation of theCommandinterface.Methods in net.sf.jguiraffe.gui.cmd that return Command Modifier and Type Method Description CommandCommandQueueEvent. getCommand()Returns theCommandobject affected by this event.CommandCommandWrapper. getWrappedCommand()Returns theCommandobject that is wrapped by this object.Methods in net.sf.jguiraffe.gui.cmd with parameters of type Command Modifier and Type Method Description protected RunnableCommandQueueImpl. createTask(Command cmd)Creates a task object for executing the passed in command.voidCommandQueue. execute(Command cmd)Adds a newCommandobject to this queue.voidCommandQueueImpl. execute(Command cmd)Executes the specified command object.protected voidCommandQueueImpl. fireQueueEvent(Command cmd, CommandQueueEvent.Type eventType)Notifies all registered listeners about a change in the state of this queue.voidCommandQueueImpl. processingFinished(Command cmd)This method is called by a worker thread if a command has been executed.Constructors in net.sf.jguiraffe.gui.cmd with parameters of type Command Constructor Description CommandQueueEvent(CommandQueue q, Command c, CommandQueueEvent.Type t)Creates a new instance ofCommandQueueEventand fully initializes it.CommandWrapper(Command wrappedCmd)Creates a new instance ofCommandWrapperand initializes it with the wrapped command.
-