|
||||||||
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
org.kde.koala.KMacroCommand
public class KMacroCommand
A Macro Command is a command that holds several sub-commands. It will appear as one to the user and in the command history, but it can use the implementation of multiple commands internally.
Constructor Summary | |
---|---|
protected |
KMacroCommand(java.lang.Class dummy)
|
|
KMacroCommand(java.lang.String name)
Creates a macro command. |
Method Summary | |
---|---|
void |
addCommand(KCommand command)
Appends a command to this macro command. |
void |
dispose()
Delete the wrapped C++ instance ahead of finalize() |
void |
execute()
Executes this command, i.e. |
protected void |
finalize()
Deletes the wrapped C++ instance |
boolean |
isDisposed()
Has the wrapped C++ instance been deleted? |
void |
unexecute()
Undoes the execution of this command, i.e. |
Methods inherited from class org.kde.koala.KNamedCommand |
---|
name, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected KMacroCommand(java.lang.Class dummy)
public KMacroCommand(java.lang.String name)
name
- the name of this command, translated, since it will appear
in the menus.Method Detail |
---|
public void addCommand(KCommand command)
public void execute()
execute
in class KCommand
public void unexecute()
unexecute
in class KCommand
protected void finalize() throws java.lang.InternalError
finalize
in class java.lang.Object
java.lang.InternalError
public void dispose()
public boolean isDisposed()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |