|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.kde.koala.KCommand
org.kde.koala.KNamedCommand
public class KNamedCommand
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.
| Constructor Summary | |
|---|---|
protected |
KNamedCommand(java.lang.Class dummy)
|
| Method Summary | |
|---|---|
java.lang.String |
name()
|
void |
setName(java.lang.String name)
Updates the name of this command. |
| Methods inherited from class org.kde.koala.KCommand |
|---|
execute, unexecute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected KNamedCommand(java.lang.Class dummy)
| Method Detail |
|---|
public java.lang.String name()
name in class KCommandpublic void setName(java.lang.String name)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||