Crossfire JXClient, Trunk  R20561
com.realtime.crossfire.jxclient.commands.SetCommand Class Reference

Implements the command "set". More...

+ Inheritance diagram for com.realtime.crossfire.jxclient.commands.SetCommand:
+ Collaboration diagram for com.realtime.crossfire.jxclient.commands.SetCommand:

Public Member Functions

boolean allArguments ()
 Returns whether all remaining commands should be included as arguments.
Returns
whether all remaining commands should be included as arguments
More...
 
void execute (@NotNull final String args)
 Executes the command with the given arguments.
Parameters
argsthe command arguments
More...
 
 SetCommand (@NotNull final CrossfireServerConnection crossfireServerConnection, @NotNull final OptionManager optionManager)
 Creates a new instance. More...
 
- Public Member Functions inherited from com.realtime.crossfire.jxclient.commands.AbstractCommand
String getCommandName ()
 Returns the name of the command.
Returns
the name
More...
 
String toString ()
 

Private Attributes

final OptionManager optionManager
 The option manager instance. More...
 

Additional Inherited Members

- Protected Member Functions inherited from com.realtime.crossfire.jxclient.commands.AbstractCommand
 AbstractCommand (@NotNull final String commandName, @NotNull final CrossfireServerConnection crossfireServerConnection)
 Creates a new instance. More...
 
void drawInfo (@NotNull final String message)
 Displays a regular output message. More...
 
void drawInfo (@NotNull final String message, final int color)
 Displays a message. More...
 
void drawInfoError (@NotNull final String message)
 Displays an error message. More...
 

Detailed Description

Implements the command "set".

It changes settings options.

Author
Andreas Kirschbaum

Definition at line 35 of file SetCommand.java.

Constructor & Destructor Documentation

◆ SetCommand()

com.realtime.crossfire.jxclient.commands.SetCommand.SetCommand ( @NotNull final CrossfireServerConnection  crossfireServerConnection,
@NotNull final OptionManager  optionManager 
)

Creates a new instance.

Parameters
crossfireServerConnectionthe connection instance
optionManagerthe option manager to use

Definition at line 48 of file SetCommand.java.

References com.realtime.crossfire.jxclient.commands.SetCommand.optionManager.

Member Function Documentation

◆ allArguments()

boolean com.realtime.crossfire.jxclient.commands.SetCommand.allArguments ( )

Returns whether all remaining commands should be included as arguments.

Returns
whether all remaining commands should be included as arguments

Implements com.realtime.crossfire.jxclient.commands.Command.

Definition at line 57 of file SetCommand.java.

◆ execute()

void com.realtime.crossfire.jxclient.commands.SetCommand.execute ( @NotNull final String  args)

Member Data Documentation

◆ optionManager

final OptionManager com.realtime.crossfire.jxclient.commands.SetCommand.optionManager
private

The option manager instance.

Definition at line 41 of file SetCommand.java.

Referenced by com.realtime.crossfire.jxclient.commands.SetCommand.SetCommand().


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