C# Class MonoHotDraw.Commands.UndoManager

Datei anzeigen Open project: mono/monohotdraw Class Usage Examples

Public Properties

Property Type Description
DefaultBufferSize int

Public Methods

Method Description
ClearRedos ( ) : void
ClearUndos ( ) : void
PopRedo ( ) : IUndoActivity
PopUndo ( ) : IUndoActivity
PushRedo ( IUndoActivity redoActivity ) : void
PushUndo ( IUndoActivity undoActivity ) : void
UndoManager ( ) : System
UndoManager ( int bufferSize ) : System

Protected Methods

Method Description
OnStackChanged ( ) : void

Private Methods

Method Description
PeekRedo ( ) : IUndoActivity
PeekUndo ( ) : IUndoActivity
RemoveFirstElementInFullList ( List list ) : void

Method Details

ClearRedos() public method

public ClearRedos ( ) : void
return void

ClearUndos() public method

public ClearUndos ( ) : void
return void

OnStackChanged() protected method

protected OnStackChanged ( ) : void
return void

PopRedo() public method

public PopRedo ( ) : IUndoActivity
return IUndoActivity

PopUndo() public method

public PopUndo ( ) : IUndoActivity
return IUndoActivity

PushRedo() public method

public PushRedo ( IUndoActivity redoActivity ) : void
redoActivity IUndoActivity
return void

PushUndo() public method

public PushUndo ( IUndoActivity undoActivity ) : void
undoActivity IUndoActivity
return void

UndoManager() public method

public UndoManager ( ) : System
return System

UndoManager() public method

public UndoManager ( int bufferSize ) : System
bufferSize int
return System

Property Details

DefaultBufferSize public_oe static_oe property

public static int DefaultBufferSize
return int