t

Any.O.Source

trait Source extends Any.O with Any.Able.Refresh with Any.Ref.Extra.Event0

Source is a generic base to build observable objects

Note. All methods are protected

Method refresh sends a generic event to all listeners.

Ordering
  1. Alphabetic
Inherited
  1. Source
  2. Any.Ref.Extra.Event0
  3. Any.Ref.Extra.Event.Like
  4. Any.Ref.Extra.Like
  5. Any.Able.Refresh
  6. Any.O
  7. scala.AnyRef
  8. scala.Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Method

  1. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  2. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  3. def depend(dependencies: ~[Any.O]): Unit
    Attributes
    protected
    Definition Classes
    Source
  4. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  5. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  7. def fireObservableChangeEvent: Int

    Event distribution

    Event distribution

    Notifies all the event liteners

    Returns notified listener count

    Attributes
    protected
    Definition Classes
    Source
  8. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. final def notify(): Unit
    Definition Classes
    AnyRef
  12. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  13. def refresh: Any

    Request refresh

    Request refresh

    Method is called to notify this object on the need to refresh

    Definition Classes
    SourceRefresh
  14. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Operator

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any

Event

  1. def onObservableChange(f: () ⇒ Any): EventControl

    On change event

    On change event

    This is the most general event indicating a change

    Usually an object will have other more usable events, but they will also trigger this one

    The method is protected in order not to pollute application name space

    This event will likely be used by GUI controls, which will call it through the 'library'

    Attributes
    protected
    Definition Classes
    Source_Trait

Hidden

  1. def _fireEvent0(scope: AnyRef): Int
    Attributes
    protected
    Definition Classes
    Event0
  2. def _onEvent0(scope: AnyRef, f: () ⇒ Any): EventControl
    Attributes
    protected
    Definition Classes
    Event0