object selection extends CellSelection
Selection model for Tree.
To observe tree selections, make the reactor listen to this publishing object which will then dispatch instances of scalaswingcontrib.event.TreePathSelected.
- Alphabetic
- By Inheritance
- selection
- CellSelection
- Publisher
- Reactor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract class SelectionSet[S] extends MutableSet[S]
Allows querying and modification of the current selection state, for some unique coordinate S.
Allows querying and modification of the current selection state, for some unique coordinate S. There may be more than one selection set supporting different coordinates, such as rows and columns.
- Attributes
- protected
- Definition Classes
- CellSelection
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cellValues: Iterator[A]
Returns an iterator that traverses the currently selected cell values.
Returns an iterator that traverses the currently selected cell values.
- Definition Classes
- selection → CellSelection
- def clear(): Unit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def deafTo(ps: Publisher*): Unit
- Definition Classes
- Reactor
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isEmpty: Boolean
Whether or not the current selection is empty.
Whether or not the current selection is empty.
- Definition Classes
- selection → CellSelection
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listenTo(ps: Publisher*): Unit
- Definition Classes
- Reactor
- val listeners: RefSet[Reaction]
- Attributes
- protected
- Definition Classes
- Publisher
- def mode: Tree.SelectionMode.Value
- def mode_=(m: Tree.SelectionMode.Value): Unit
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def publish(e: Event): Unit
- Definition Classes
- Publisher
- val reactions: Reactions
- Definition Classes
- Reactor
- def selectedNode: Option[A]
- def size: Int
Returns the number of cells currently selected.
Returns the number of cells currently selected.
- Definition Classes
- selection → CellSelection
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object paths extends SelectionSet[Path[A]]
- object rows extends SelectionSet[Int]