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 class
OpenWindowCommand
A specializedCommand
implementation for opening a sub window.Methods in net.sf.jguiraffe.gui.app that return Command Modifier and Type Method Description protected Command
CommandActionTask. createCommandWrapper(Command actualCommand)
Creates theCommand
object wrapper that is passed to theApplication.execute(Command)
method.protected Command
CommandActionTask. fetchCommand()
Obtains the command object to be executed.Command
CommandActionTask. getCommand()
Returns the command object.Methods in net.sf.jguiraffe.gui.app with parameters of type Command Modifier and Type Method Description protected Command
CommandActionTask. createCommandWrapper(Command actualCommand)
Creates theCommand
object wrapper that is passed to theApplication.execute(Command)
method.void
Application. execute(Command cmd)
Executes the given command.void
CommandActionTask. 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 Command
FormController. getCancelCommand()
Returns the command to be executed when the form is canceled.Command
FormController. 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 void
FormController. setCancelCommand(Command cancelCommand)
Sets the command to be executed when the form is canceled.void
FormController. 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 class
CommandBase
An abstract base class for implementations of theCommand
interface.class
CommandWrapper
A wrapper implementation of theCommand
interface.Methods in net.sf.jguiraffe.gui.cmd that return Command Modifier and Type Method Description Command
CommandQueueEvent. getCommand()
Returns theCommand
object affected by this event.Command
CommandWrapper. getWrappedCommand()
Returns theCommand
object that is wrapped by this object.Methods in net.sf.jguiraffe.gui.cmd with parameters of type Command Modifier and Type Method Description protected Runnable
CommandQueueImpl. createTask(Command cmd)
Creates a task object for executing the passed in command.void
CommandQueue. execute(Command cmd)
Adds a newCommand
object to this queue.void
CommandQueueImpl. execute(Command cmd)
Executes the specified command object.protected void
CommandQueueImpl. fireQueueEvent(Command cmd, CommandQueueEvent.Type eventType)
Notifies all registered listeners about a change in the state of this queue.void
CommandQueueImpl. 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 ofCommandQueueEvent
and fully initializes it.CommandWrapper(Command wrappedCmd)
Creates a new instance ofCommandWrapper
and initializes it with the wrapped command.
-