Class

dotterweide.editor

HistoryImpl

Related Doc: package editor

Permalink

class HistoryImpl extends History

Linear Supertypes
History, Observable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HistoryImpl
  2. History
  3. Observable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HistoryImpl()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def add(edit: NamedEdit): Unit

    Permalink

    Add another edit to the history.

    Add another edit to the history. Unless merging is blocked, it tries to merge this edit with the most recent edit. Afterwards, the internal merge-block flag is cleared.

    Definition Classes
    HistoryImplHistory
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def blockMerge(): Unit

    Permalink

    Disallow the merging of the next edit to be added.

    Disallow the merging of the next edit to be added. This can be used to avoid merging edits if the editor component was temporarily unfocused, for example.

    Definition Classes
    HistoryImplHistory
  7. def canRedo: Boolean

    Permalink

    Whether there are edits that can be redone, and thus whether redo and redoName may be called.

    Whether there are edits that can be redone, and thus whether redo and redoName may be called.

    Definition Classes
    HistoryImplHistory
  8. def canUndo: Boolean

    Permalink

    Whether there are undoable edits and thus undo and undoName may be called.

    Whether there are undoable edits and thus undo and undoName may be called.

    Definition Classes
    HistoryImplHistory
  9. def capture[A](name: String, document: Document, terminal: Terminal)(block: ⇒ A): A

    Permalink

    Creates an automatic edit from tracing events on a document and terminal.

    Creates an automatic edit from tracing events on a document and terminal. The edit, if not empty, will be added to the history before returning.

    name

    the name of the resulting edit

    document

    the document to temporarily trace

    terminal

    the terminal to temporarily trace

    block

    an action that produces events as a side effect. These events will make up the edit.

    Definition Classes
    HistoryImplHistory
  10. def clear(): Unit

    Permalink

    Clears the history, removing all edits.

    Clears the history, removing all edits. Afterwards, canUndo and canRedo will return false.

    Definition Classes
    HistoryImplHistory
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def notifyObservers(): Unit

    Permalink
    Definition Classes
    Observable
  22. def onChange(action: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Observable
  23. def redo(): Unit

    Permalink

    Throws an exception if !canRedo

    Throws an exception if !canRedo

    Definition Classes
    HistoryImplHistory
  24. def redoName: String

    Permalink

    Throws an exception if !canRedo

    Throws an exception if !canRedo

    Definition Classes
    HistoryImplHistory
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. def undo(): Unit

    Permalink

    Throws an exception if !canUndo

    Throws an exception if !canUndo

    Definition Classes
    HistoryImplHistory
  28. def undoName: String

    Permalink

    Throws an exception if !canUndo

    Throws an exception if !canUndo

    Definition Classes
    HistoryImplHistory
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from History

Inherited from Observable

Inherited from AnyRef

Inherited from Any

Ungrouped