CellSelection

trait CellSelection extends Publisher

Provides common functionality for the selection object found in CellView implementation. Each will have one or more selection sets based on different types of cell coordinate, such as row, column, index or tree path. All events published from selection objects will derive from scala.swing.event.SelectionEvent.

trait Publisher
trait Reactor
class Object
trait Matchable
class Any
object selection.type

Type members

Classlikes

abstract protected class SelectionSet[S](a: => Seq[S]) extends MutableSet[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.

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.

Value members

Abstract methods

def cellValues: Iterator[A]

Returns an iterator that traverses the currently selected cell values.

Returns an iterator that traverses the currently selected cell values.

def isEmpty: Boolean

Whether or not the current selection is empty.

Whether or not the current selection is empty.

def size: Int

Returns the number of cells currently selected.

Returns the number of cells currently selected.

Inherited methods

def deafTo(ps: Publisher*): Unit

Installed reaction won't receive events from the given publisher anylonger.

Installed reaction won't receive events from the given publisher anylonger.

Inherited from:
Reactor
def listenTo(ps: Publisher*): Unit

Listen to the given publisher as long as deafTo isn't called for them.

Listen to the given publisher as long as deafTo isn't called for them.

Inherited from:
Reactor
def publish(e: Event): Unit

Notify all registered reactions.

Notify all registered reactions.

Inherited from:
Publisher

Inherited fields

protected val listeners: RefSet[Reaction]
Inherited from:
Publisher
val reactions: Reactions

All reactions of this reactor.

All reactions of this reactor.

Inherited from:
Reactor