Class

org.hyperscala.ui.history

HistoryInstance

Related Doc: package history

Permalink

class HistoryInstance extends Listenable

Linear Supertypes
Listenable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HistoryInstance
  2. Listenable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HistoryInstance(webpage: Webpage)

    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(entry: HistoryEntry, callRedo: Boolean = false): Unit

    Permalink

    Adds an undo history entry.

    Adds an undo history entry. Properly cuts the redo history before adding and merges if supported.

    entry

    the history entry to add

    callRedo

    if set to true the redo method will be invoked on the entry before it is added (defaults to false)

  5. val added: UnitProcessor[HistoryEntry]

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clear(): Unit

    Permalink

    Clears all undo and redo history.

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def cut(): Unit

    Permalink

    Cuts off all the redo history.

    Cuts off all the redo history. Called before adding to the history.

  10. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def isChanging: Boolean

    Permalink

    Returns true if the history state is currently being modified (undoing or redoing).

  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def listen[Event, Response, Result](name: String, priority: Priority, modes: ListenMode*)(f: (Event) ⇒ Response)(implicit eventManifest: Manifest[Event]): FunctionalListener[Event, Response]

    Permalink
    Definition Classes
    Listenable
  18. val listeners: Listeners

    Permalink
    Definition Classes
    Listenable
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def next(): Option[HistoryEntry]

    Permalink

    Returns the next step forward in history (into the redos) or None if there are no history entries to go forward to.

    Returns the next step forward in history (into the redos) or None if there are no history entries to go forward to.

    Does not modify the history state.

  21. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  23. def previous(): Option[HistoryEntry]

    Permalink

    Returns the next step backward in history (into the undos) or None if there are no history entries to go back to.

    Returns the next step backward in history (into the undos) or None if there are no history entries to go back to.

    Does not modify the history state.

  24. def redo(): Boolean

    Permalink

    Goes forward one step in history if there is redo history available.

    Goes forward one step in history if there is redo history available.

    returns

    true if history moved forward one step, false if there is no redo history

  25. def redoList: List[HistoryEntry]

    Permalink
  26. val state: UnitProcessor[HistoryStateChange]

    Permalink
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. implicit val thisListenable: Listenable

    Permalink
    Definition Classes
    Listenable
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. def undo(): Boolean

    Permalink

    Goes backward one step in history if there is undo history available.

    Goes backward one step in history if there is undo history available.

    returns

    true if history moved backward one step, false if there is no undo history

  31. def undoList: List[HistoryEntry]

    Permalink
  32. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def withoutHistory[T](f: ⇒ T): T

    Permalink

    Invokes the supplied function without recording any history during its invocation.

    Invokes the supplied function without recording any history during its invocation. This is primarily for undo and redo manipulation internally.

Inherited from Listenable

Inherited from AnyRef

Inherited from Any

Ungrouped