Search this API

y.base
Interface Command


public interface Command

General command pattern interface that supports the execution and the undoability of some code.

 

Method Summary
 void execute()
          Executes the command.
 void redo()
          Executes the command after it has been undone.
 void undo()
          Undoes the effects of this command.
 

Method Detail

execute

void execute()
Executes the command.


undo

void undo()
Undoes the effects of this command.


redo

void redo()
Executes the command after it has been undone.


© Copyright 2000-2018,
yWorks GmbH.
All rights reserved.