org.kde.koala

Class KNamedCommand

public class KNamedCommand extends KCommand

A command which stores its name. It is more memory-efficient to use KCommand and to implement the name() method, but in some cases it's more simple or more flexible to store the name at creation time.

UNKNOWN: A command which stores its name.

Constructor Summary
protected KNamedCommand(Class dummy)
Method Summary
Stringname()
voidsetName(String name)
Updates the name of this command.

Constructor Detail

KNamedCommand

protected KNamedCommand(Class dummy)

Method Detail

name

public String name()

Returns: the name of this command

UNKNOWN:

setName

public void setName(String name)
Updates the name of this command. Rarely necessary.

UNKNOWN: Updates the name of this command.