org.positronicnet.notifications

NonSharedNotifier

trait NonSharedNotifier [T] extends BaseNotifierImpl[T]

Notifier machinery which sends a separate copy of its state to each watcher.

Appropriate when the state is mutable (such as a Cursor), and watchers who were all trying to use it (e.g., Fragments presenting different visualizations of the same query result) could interfere with each other if they tried to share state (e.g., by one changing a Cursor's current row behind the other's back).

Linear Supertypes
BaseNotifierImpl[T], NotifierImpl[T], Notifier[T], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. NonSharedNotifier
  2. BaseNotifierImpl
  3. NotifierImpl
  4. Notifier
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def currentValue : T

    Attributes
    protected abstract
    Definition Classes
    NonSharedNotifierBaseNotifierImpl
  2. def onThread (thunk: ⇒ Unit): Unit

    Attributes
    abstract
    Definition Classes
    BaseNotifierImpl

Concrete Value Members

  1. def ! (action: Action[T]): Unit

    Perform the action, usually on a worker thread associated with this notifier.

    Perform the action, usually on a worker thread associated with this notifier. Results may be posted back to the calling thread, viz. the conventions documented in org.positronicnet.notifications.Actions.

    Definition Classes
    BaseNotifierImplNotifier
  2. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  3. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  4. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  5. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  6. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. val changeHandlers : HashMap[AnyRef, (T) ⇒ Unit]

    Attributes
    protected
    Definition Classes
    BaseNotifierImpl
  9. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def eq (arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  12. def fetchOnThisThread : T

    Synchronously fetch the value being monitored by this Notifier.

    Synchronously fetch the value being monitored by this Notifier.

    Definition Classes
    BaseNotifierImplNotifier
  13. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  15. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  16. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  17. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  18. def noteChange : Unit

  19. def notify (): Unit

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

    Attributes
    final
    Definition Classes
    AnyRef
  21. def onThisThread (action: Action[T]): Unit

    Perform the action, synchronously on the calling thread.

    Perform the action, synchronously on the calling thread.

    Definition Classes
    BaseNotifierImplNotifier
  22. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  23. def toString (): String

    Definition Classes
    AnyRef → Any
  24. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from BaseNotifierImpl[T]

Inherited from NotifierImpl[T]

Inherited from Notifier[T]

Inherited from AnyRef

Inherited from Any