APIdia Launch Partner
Top Fields Constructors Methods
com.sun.javafx.scene.control

public final Class FakeFocusTextField

extends TextField
Class Inheritance
Imports
javafx.scene.AccessibleAttribute, javafx.scene.control.TextField

Field Summary

Inherited from javafx.scene.control.TextField:
DEFAULT_PREF_COLUMN_COUNT

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters)

Overrides javafx.scene.control.TextInputControl.queryAccessibleAttribute.

This method is called by the assistive technology to request the value for an attribute.

public void
requestFocus()

Overrides javafx.scene.Node.requestFocus.

Requests that this Node get the input focus, and that this Node's top-level ancestor become the focused window.

public void
setFakeFocus(boolean b)

Inherited from javafx.scene.control.TextField:
alignmentPropertycreateDefaultSkingetAlignmentgetCharactersgetClassCssMetaDatagetControlCssMetaDatagetOnActiongetPrefColumnCountonActionPropertyprefColumnCountPropertysetAlignmentsetOnActionsetPrefColumnCount

Constructor Detail

FakeFocusTextFieldback to summary
public FakeFocusTextField()

Method Detail

queryAccessibleAttributeback to summary
public Object queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters)

Overrides javafx.scene.control.TextInputControl.queryAccessibleAttribute.

Doc from javafx.scene.control.TextInputControl.queryAccessibleAttribute.

This method is called by the assistive technology to request the value for an attribute.

This method is commonly overridden by subclasses to implement attributes that are required for a specific role.
If a particular attribute is not handled, the superclass implementation must be called.

Annotations
@Override
requestFocusback to summary
public void requestFocus()

Overrides javafx.scene.Node.requestFocus.

Doc from javafx.scene.Node.requestFocus.

Requests that this Node get the input focus, and that this Node's top-level ancestor become the focused window. To be eligible to receive the focus, the node must be part of a scene, it and all of its ancestors must be visible, and it must not be disabled. If this node is eligible, this function will cause it to become this Scene's "focus owner". Each scene has at most one focus owner node. The focus owner will not actually have the input focus, however, unless the scene belongs to a Stage that is both visible and active.

This method will clear the focusVisible flag.

Annotations
@Override
setFakeFocusback to summary
public void setFakeFocus(boolean b)