RequestFocus

case object RequestFocus extends AccessibleAction

Request that the node take focus. By default, a node will request focus using [[javafx.scene.Node#requestFocus()]]. Both JavaFX and the assisteve technology have the concept of a focus node and most of the time, they are the same. In some cases, a control might want the JavaFX focus to remain on the parent, while the assistive technology focus is on the child. For example, a table may respond to this request by setting focus to a cell inside the table before allowing the default to run.

Request that the node take focus. By default, a node will request focus using [[javafx.scene.Node#requestFocus()]]. Both JavaFX and the assisteve technology have the concept of a focus node and most of the time, they are the same. In some cases, a control might want the JavaFX focus to remain on the parent, while the assistive technology focus is on the child. For example, a table may respond to this request by setting focus to a cell inside the table before allowing the default to run.

Used by Node, TabItem, TableCell and others

trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait SFXEnumDelegate[AccessibleAction]
trait SFXDelegate[AccessibleAction]
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels = EmptyTuple
Inherited from
Singleton
type MirroredElemTypes = EmptyTuple
Inherited from
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror
type MirroredMonoType = Singleton
Inherited from
Singleton
type MirroredType = Singleton
Inherited from
Singleton

Value members

Inherited methods

override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value Params
ref

Object to be compared.

Returns

if the other object is equals to this delegate or not.

Definition Classes
Inherited from
SFXDelegate
def fromProduct(p: Product): MirroredMonoType
Inherited from
Singleton
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
override def toString: String

Return the same string value as enum delegate.

Return the same string value as enum delegate.

This is important since we want to be able to look it up using enums valueOf method. Default toString provided by the SFXDelegate prepends "[SFX]"

Definition Classes
Inherited from
SFXEnumDelegate

Inherited fields

override val delegate: AccessibleAction
Inherited from
AccessibleAction