Object/Trait

scalafx.collections

ObservableMap

Related Docs: trait ObservableMap | package collections

Permalink

object ObservableMap extends MutableMapFactory[ObservableMap]

Companion Object for scalafx.collections.ObservableMap.

Source
ObservableMap.scala
Linear Supertypes
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ObservableMap
  2. MutableMapFactory
  3. MapFactory
  4. GenMapFactory
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Add[K, V](key: K, added: V) extends Change[K, V] with Product with Serializable

    Permalink

    Indicates an addition in an ObservableMap.

    Indicates an addition in an ObservableMap.

    key

    Handled Key.

    added

    Added element.

    See also

    MapChangeListener.Change.getValueAdded()

    MapChangeListener.Change.getKey()

  2. trait Change[K, V] extends AnyRef

    Permalink

    Indicates a change in an ObservableMap.

    Indicates a change in an ObservableMap. It is a simpler version of JavaFX's MapChangeListener.Change, where each subclass indicates a specific change operation.

  3. type Coll = ObservableMap[_, _]

    Permalink
    Definition Classes
    GenMapFactory
  4. class MapCanBuildFrom[A, B] extends CanBuildFrom[Coll, (A, B), CC[A, B]]

    Permalink
    Definition Classes
    GenMapFactory
  5. case class Remove[K, V](key: K, removed: V) extends Change[K, V] with Product with Serializable

    Permalink

    Indicates a removal in an ObservableMap.

    Indicates a removal in an ObservableMap.

    key

    Handled Key.

    removed

    Removed element.

    See also

    MapChangeListener.Change.getValueRemoved()

    MapChangeListener.Change.getKey()

  6. case class Replace[K, V](key: K, added: V, removed: V) extends Change[K, V] with Product with Serializable

    Permalink

    Indicates a replacement in an ObservableMap.

    Indicates a replacement in an ObservableMap.

    key

    Handled Key.

    added

    Added Value.

    removed

    Removed Value.

    See also

    MapChangeListener.Change.getValueRemoved()

    MapChangeListener.Change.getValueAdded()

    MapChangeListener.Change.getKey()

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 apply[K, V](originalMap: Map[K, V]): ObservableMap[K, V]

    Permalink

    Creates a new ObservableMap that is backed by the specified map.

    Creates a new ObservableMap that is backed by the specified map. Mutation operations on the ObservableMap instance will be reported to observers that have registered on that instance. Note that mutation operations made directly to the underlying map are not reported to observers of any ObservableMap that wraps it.

    originalMap

    A Map that backs this ObservableMap.

    returns

    A newly created ObservableMap.

  5. def apply[K, V](keyValues: Seq[(K, V)]): ObservableMap[K, V]

    Permalink

    Creates a new ObservableMap from a sequence of tuples

    Creates a new ObservableMap from a sequence of tuples

    keyValues

    Sequence of tuples

    returns

    A newly created ObservableMap.

  6. def apply[A, B](elems: (A, B)*): ObservableMap[A, B]

    Permalink
    Definition Classes
    GenMapFactory
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def empty[K, V]: ObservableMap[K, V]

    Permalink

    Creates an empty ObservableMap.

    Creates an empty ObservableMap.

    returns

    a Empty scalafx.collections.ObservableHashMap

    Definition Classes
    ObservableMap → MapFactory → GenMapFactory
  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. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  17. def newBuilder[A, B]: Builder[(A, B), ObservableMap[A, B]]

    Permalink
    Definition Classes
    MutableMapFactory → GenMapFactory
  18. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  20. implicit def sfxObservableMap2sfxObservableMap[K, V](om: ObservableMap[K, V]): javafx.collections.ObservableMap[K, V]

    Permalink

    Extracts a JavaFX's ObservableMap from a ScalaFX's ObservableMap.

    Extracts a JavaFX's ObservableMap from a ScalaFX's ObservableMap.

    om

    ScalaFX's ObservableMap.

    returns

    JavaFX's ObservableMap inside parameter.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

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

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

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

Inherited from MapFactory[ObservableMap]

Inherited from GenMapFactory[ObservableMap]

Inherited from AnyRef

Inherited from Any

Ungrouped