Focus

com.alecdorrington.annotatedtextformat.dom.Focus
enum Focus[-A]

Which annotations of each decoration that a Hovering covers take the focus, as by Tab, showing their tooltip, and how. An annotation within what takes the focus itself, as a link, never does, as the page's own keys reach it there.

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class Each[A]
class Roving[A]

Members list

Type members

Enum entries

final case class Each[A](which: A => Boolean) extends Focus[A]

Each annotation whose value is one which holds for, in its turn.

Each annotation whose value is one which holds for, in its turn.

Attributes

case Off extends Focus[Any]

No annotation takes the focus.

No annotation takes the focus.

Attributes

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.

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