scalafx.collections

ObservableMap

Related Docs: trait ObservableMap | package collections

object ObservableMap extends MutableMapFactory[ObservableMap]

Companion Object for scalafx.collections.ObservableMap.

Source
ObservableMap.scala
Linear Supertypes
Content Hierarchy Learn more about scaladoc diagrams
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
Learn more about member selection
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

    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

    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[_, _]

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

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

    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

    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

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

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

    Definition Classes
    AnyRef → Any
  4. def apply[K, V](originalMap: Map[K, V]): ObservableMap[K, V]

    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]

    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]

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

    Definition Classes
    Any
  8. def clone(): AnyRef

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

    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

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

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

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

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

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

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

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

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

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

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

    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

    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MapFactory[ObservableMap]

Inherited from GenMapFactory[ObservableMap]

Inherited from AnyRef

Inherited from Any

Ungrouped