Interface Previewable

  • All Known Implementing Classes:
    InteractiveCommand

    public interface Previewable
    An operation (usually a Command) whose results can be previewed.
    Author:
    Curtis Rueden
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void cancel()
      Does whatever is necessary upon cancelation to reset things back to before the operation was executed.
      void preview()
      Computes a preview of the operation's results.
    • Method Detail

      • preview

        void preview()
        Computes a preview of the operation's results.
      • cancel

        void cancel()
        Does whatever is necessary upon cancelation to reset things back to before the operation was executed.