Roving

com.alecdorrington.annotatedtextformat.dom.Focus.Roving
final case class Roving[A](which: A => Boolean) extends Focus[A]

Of the annotations of each decoration whose values are those which holds for, one at a time, as one stop of Tab: the first, and then the one last focused; the left and right arrow keys move the focus among the rest, so that a passage of many annotations is passed over by one press of Tab.

Attributes

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
def roves: Boolean

Whether the arrow keys move the focus among a decoration's annotations.

Whether the arrow keys move the focus among a decoration's annotations.

Attributes

Inherited from:
Focus
def takes(value: A): Boolean

Whether an annotation whose value is value takes the focus.

Whether an annotation whose value is value takes the focus.

Attributes

Inherited from:
Focus