Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXCommandGroup Class Reference

Group of undoable commands. More...

#include <FXUndoList.h>

Inheritance diagram for FX::FXCommandGroup:
FX::FXCommand FX::FXObject FX::FXUndoList

List of all members.

Public Member Functions

 FXCommandGroup ()
 Construct initially empty undo command group.
FXbool empty ()
 Return true if empty.
virtual void undo ()
 Undo whole command group.
virtual void redo ()
 Redo whole command group.
virtual FXuint size () const
 Return the size of the command group.
virtual ~FXCommandGroup ()
 Delete undo command and sub-commands.

Friends

class FXUndoList

Detailed Description

Group of undoable commands.

A group may comprise multiple individual actions which together undo (or redo) a larger operation. Even larger operations may be built by nesting multiple undo groups.


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

Copyright © 1997-2011 Jeroen van der Zijp