Crossfire JXClient, Trunk
Public Member Functions | List of all members
com.realtime.crossfire.jxclient.gui.commandlist.GUICommandFactory Interface Reference
Inheritance diagram for com.realtime.crossfire.jxclient.gui.commandlist.GUICommandFactory:
Inheritance graph
Collaboration diagram for com.realtime.crossfire.jxclient.gui.commandlist.GUICommandFactory:
Collaboration graph

Public Member Functions

GUICommand createCommand (@NotNull final String commandString)
 
GUICommand createCommandDecode (@NotNull String encodedCommandString)
 
String decode (@NotNull final String command)
 
String encode (@NotNull final String command)
 

Detailed Description

Factory for creating GUICommand instances from string representation.

Author
Andreas Kirschbaum

Definition at line 32 of file GUICommandFactory.java.

Member Function Documentation

◆ createCommand()

GUICommand com.realtime.crossfire.jxclient.gui.commandlist.GUICommandFactory.createCommand ( @NotNull final String  commandString)

Creates a new GUICommand instance from string representation.

Parameters
commandStringthe command string representation
Returns
the new command instance

Implemented in com.realtime.crossfire.jxclient.gui.textinput.GUICommandFactoryImpl.

Referenced by com.realtime.crossfire.jxclient.commands.BindCommand.execute().

Here is the caller graph for this function:

◆ createCommandDecode()

GUICommand com.realtime.crossfire.jxclient.gui.commandlist.GUICommandFactory.createCommandDecode ( @NotNull String  encodedCommandString)

Creates a new GUICommand instance from string representation.

Parameters
encodedCommandStringthe command string representation
Returns
the new command instance

Implemented in com.realtime.crossfire.jxclient.gui.textinput.GUICommandFactoryImpl.

Referenced by com.realtime.crossfire.jxclient.gui.keybindings.KeyBindings.parseKeyBinding().

Here is the caller graph for this function:

◆ decode()

String com.realtime.crossfire.jxclient.gui.commandlist.GUICommandFactory.decode ( @NotNull final String  command)

Decodes a key binding if necessary.

Parameters
commandthe key binding
Returns
the decoded key binding

Implemented in com.realtime.crossfire.jxclient.gui.textinput.GUICommandFactoryImpl.

◆ encode()

String com.realtime.crossfire.jxclient.gui.commandlist.GUICommandFactory.encode ( @NotNull final String  command)

Encodes a key binding if necessary.

Parameters
commandthe key binding
Returns
the encoded key binding

Implemented in com.realtime.crossfire.jxclient.gui.textinput.GUICommandFactoryImpl.

Referenced by com.realtime.crossfire.jxclient.gui.keybindings.KeyBindings.saveKeyBindings().

Here is the caller graph for this function:

The documentation for this interface was generated from the following file: