Class InsertMemento

java.lang.Object
fr.istic.aco.editor.memento.InsertMemento
All Implemented Interfaces:
Memento

public class InsertMemento extends Object implements Memento
Memento to save the text of the insert commands.
  • Constructor Details

    • InsertMemento

      public InsertMemento()
  • Method Details

    • getText

      public String getText()
      retrieves the text stored by the memento
      Returns:
      the text inserted with the insert command
    • setText

      public void setText(String text)
      sets the attribute text of the memento
      Parameters:
      text - the text to insert