javafx.scene.AccessibleAttribute Java Examples
The following examples show how to use
javafx.scene.AccessibleAttribute.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: OnlyScrollPaneSkin.java From oim-fx with MIT License | 5 votes |
@Override protected Object queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters) { switch (attribute) { case VERTICAL_SCROLLBAR: return vsb; case HORIZONTAL_SCROLLBAR: return hsb; default: return super.queryAccessibleAttribute(attribute, parameters); } }
Example #2
Source File: JFXChipViewSkin.java From JFoenix with Apache License 2.0 | 5 votes |
@Override public Object queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters) { switch (attribute) { case FOCUS_ITEM: // keep focus on parent control return getSkinnable(); default: return super.queryAccessibleAttribute(attribute, parameters); } }
Example #3
Source File: FakeFocusJFXTextField.java From JFoenix with Apache License 2.0 | 5 votes |
@Override public Object queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters) { switch (attribute) { case FOCUS_ITEM: // keep focus on parent control return getParent(); default: return super.queryAccessibleAttribute(attribute, parameters); } }
Example #4
Source File: StripCell.java From WorkbenchFX with Apache License 2.0 | 4 votes |
@Override protected void invalidated() { final boolean selected = get(); pseudoClassStateChanged(PSEUDO_CLASS_SELECTED, selected); notifyAccessibleAttributeChanged(AccessibleAttribute.SELECTED); }