All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scalafx.scene.AccessibleRole.scala Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2011-2023, ScalaFX Project
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *     * Redistributions of source code must retain the above copyright
 *       notice, this list of conditions and the following disclaimer.
 *     * Redistributions in binary form must reproduce the above copyright
 *       notice, this list of conditions and the following disclaimer in the
 *       documentation and/or other materials provided with the distribution.
 *     * Neither the name of the ScalaFX Project nor the
 *       names of its contributors may be used to endorse or promote products
 *       derived from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED. IN NO EVENT SHALL THE SCALAFX PROJECT OR ITS CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

package scalafx.scene

import javafx.scene as jfxs
import scalafx.delegate.{SFXEnumDelegate, SFXEnumDelegateCompanion}

/**
 * This enum describes the accessible role for a `Node`.
 *
 * The role is used by assistive technologies such as screen readers
 * to decide the set of actions and attributes for a node.  For example,
 * when the screen reader needs the current value of a slider, it
 * will request it using the value attribute.  When the screen reader
 * changes the value of the slider, it will use an action to set
 * the current value of the slider.  The slider must respond
 * appropriately to both these requests.
 *
 * Wraps [[http://docs.oracle.com/javase/8/javafx/api/javafx/scene/AccessibleRole.html]]
 */
object AccessibleRole extends SFXEnumDelegateCompanion[jfxs.AccessibleRole, AccessibleRole] {

  protected override def unsortedValues: Array[AccessibleRole] = Array(
    Button,
    CheckBox,
    CheckMenuItem,
    ComboBox,
    ContextMenu,
    DatePicker,
    DecrementButton,
    Hyperlink,
    IncrementButton,
    ImageView,
    ListView,
    ListItem,
    Menu,
    MenuBar,
    MenuButton,
    MenuItem,
    Node,
    PageItem,
    Pagination,
    Parent,
    PasswordField,
    ProgressIndicator,
    RadioButton,
    RadioMenuItem,
    Slider,
    Spinner,
    Text,
    TextArea,
    TextField,
    ToggleButton,
    Tooltip,
    ScrollBar,
    ScrollPane,
    SplitMenuButton,
    TabItem,
    TabPane,
    TableCell,
    TableColumn,
    TableRow,
    TableView,
    Thumb,
    TitledPane,
    ToolBar,
    TreeItem,
    CheckBoxTreeItem,
    TreeTableCell,
    TreeTableRow,
    TreeTableView,
    TreeView,
    Dialog
  )

  /**
   * Button role.
   *
   * Attributes:
   * 
    *
  • {@link AccessibleAttribute#TEXT}
  • *
* Actions: *
    *
  • {@link AccessibleAction#FIRE}
  • *
*/ case object Button extends AccessibleRole(jfxs.AccessibleRole.BUTTON) /** * Check Box role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#SELECTED}
  • *
  • {@link AccessibleAttribute#INDETERMINATE}
  • *
* Actions: *
    *
  • {@link AccessibleAction#FIRE}
  • *
*/ case object CheckBox extends AccessibleRole(jfxs.AccessibleRole.CHECK_BOX) /** * Check Menu Item role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#ACCELERATOR}
  • *
  • {@link AccessibleAttribute#MNEMONIC}
  • *
  • {@link AccessibleAttribute#DISABLED}
  • *
  • {@link AccessibleAttribute#SELECTED}
  • *
* Actions: *
    *
  • {@link AccessibleAction#FIRE}
  • *
*/ case object CheckMenuItem extends AccessibleRole(jfxs.AccessibleRole.CHECK_MENU_ITEM) /** * Combo Box role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#EXPANDED}
  • *
  • {@link AccessibleAttribute#EDITABLE}
  • *
* Actions: *
    *
  • {@link AccessibleAction#EXPAND}
  • *
  • {@link AccessibleAction#COLLAPSE}
  • *
*/ case object ComboBox extends AccessibleRole(jfxs.AccessibleRole.COMBO_BOX) /** * Context Menu role. * * Attributes: *
    *
  • {@link AccessibleAttribute#PARENT_MENU}
  • *
  • {@link AccessibleAttribute#VISIBLE}
  • *
* Actions: *
    *
*/ case object ContextMenu extends AccessibleRole(jfxs.AccessibleRole.CONTEXT_MENU) /** * Date Picker role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#DATE}
  • *
* Actions: *
    *
*/ case object DatePicker extends AccessibleRole(jfxs.AccessibleRole.DATE_PICKER) /** * Decrement Button role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
* Actions: *
    *
  • {@link AccessibleAction#FIRE}
  • *
*/ case object DecrementButton extends AccessibleRole(jfxs.AccessibleRole.DECREMENT_BUTTON) /** * Hyperlink role. * *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#VISITED}
  • *
* Actions: *
    *
  • {@link AccessibleAction#FIRE}
  • *
*/ case object Hyperlink extends AccessibleRole(jfxs.AccessibleRole.HYPERLINK) /** * Increment Button role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
* Actions: *
    *
  • {@link AccessibleAction#FIRE}
  • *
*/ case object IncrementButton extends AccessibleRole(jfxs.AccessibleRole.INCREMENT_BUTTON) /** * Image View role. * * Attributes: *
    *
* Actions: *
    *
*

* It is strongly recommended that a text description of the image be provided * for each {@link ImageView}. This can be done by setting either * {@link Node#accessibleTextProperty()} for the {@link ImageView} * or by using {@link AccessibleAttribute#LABELED_BY}. *

*/ case object ImageView extends AccessibleRole(jfxs.AccessibleRole.IMAGE_VIEW) /** * List View role. * * Attributes: *
    *
  • {@link AccessibleAttribute#ITEM_AT_INDEX}
  • *
  • {@link AccessibleAttribute#ITEM_COUNT}
  • *
  • {@link AccessibleAttribute#SELECTED_ITEMS}
  • *
  • {@link AccessibleAttribute#MULTIPLE_SELECTION}
  • *
  • {@link AccessibleAttribute#VERTICAL_SCROLLBAR}
  • *
  • {@link AccessibleAttribute#HORIZONTAL_SCROLLBAR}
  • *
  • {@link AccessibleAttribute#FOCUS_ITEM}
  • *
* Actions: *
    *
  • {@link AccessibleAction#SHOW_ITEM}
  • *
  • {@link AccessibleAction#SET_SELECTED_ITEMS}
  • *
*/ case object ListView extends AccessibleRole(jfxs.AccessibleRole.LIST_VIEW) /** * List Item role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#INDEX}
  • *
  • {@link AccessibleAttribute#SELECTED}
  • *
* Actions: *
    *
  • {@link AccessibleAction#REQUEST_FOCUS}
  • *
*/ case object ListItem extends AccessibleRole(jfxs.AccessibleRole.LIST_ITEM) /** * Menu role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#ACCELERATOR}
  • *
  • {@link AccessibleAttribute#MNEMONIC}
  • *
  • {@link AccessibleAttribute#DISABLED}
  • *
  • {@link AccessibleAttribute#SUBMENU}
  • *
* Actions: *
    *
  • {@link AccessibleAction#FIRE}
  • *
*/ case object Menu extends AccessibleRole(jfxs.AccessibleRole.MENU) /** * Menu Bar role. * * Attributes: *
    *
* Actions: *
    *
*/ case object MenuBar extends AccessibleRole(jfxs.AccessibleRole.MENU_BAR) /** * Menu Button role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
* Actions: *
    *
  • {@link AccessibleAction#FIRE}
  • *
*/ case object MenuButton extends AccessibleRole(jfxs.AccessibleRole.MENU_BUTTON) /** * Menu Item role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#ACCELERATOR}
  • *
  • {@link AccessibleAttribute#MNEMONIC}
  • *
  • {@link AccessibleAttribute#DISABLED}
  • *
* Actions: *
    *
  • {@link AccessibleAction#FIRE}
  • *
*/ case object MenuItem extends AccessibleRole(jfxs.AccessibleRole.MENU_ITEM) /** * Node role. * * Attributes: *
    *
  • {@link AccessibleAttribute#ROLE}
  • *
  • {@link AccessibleAttribute#PARENT}
  • *
  • {@link AccessibleAttribute#SCENE}
  • *
  • {@link AccessibleAttribute#BOUNDS}
  • *
  • {@link AccessibleAttribute#DISABLED}
  • *
  • {@link AccessibleAttribute#FOCUSED}
  • *
  • {@link AccessibleAttribute#VISIBLE}
  • *
* Actions: *
    *
  • {@link AccessibleAction#REQUEST_FOCUS}
  • *
* Optional Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#LABELED_BY}
  • *
  • {@link AccessibleAttribute#ROLE_DESCRIPTION}
  • *
  • {@link AccessibleAttribute#HELP}
  • *
* Optional Actions: *
    *
  • {@link AccessibleAction#SHOW_MENU}
  • *
*/ case object Node extends AccessibleRole(jfxs.AccessibleRole.NODE) /** * Page role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#SELECTED}
  • *
* Actions: *
    *
  • {@link AccessibleAction#REQUEST_FOCUS}
  • *
*/ case object PageItem extends AccessibleRole(jfxs.AccessibleRole.PAGE_ITEM) /** * Pagination role. * * Attributes: *
    *
  • {@link AccessibleAttribute#ITEM_AT_INDEX}
  • *
  • {@link AccessibleAttribute#ITEM_COUNT}
  • *
  • {@link AccessibleAttribute#FOCUS_ITEM}
  • *
* Actions: *
    *
*/ case object Pagination extends AccessibleRole(jfxs.AccessibleRole.PAGINATION) /** * Parent role. * * Attributes: *
    *
  • {@link AccessibleAttribute#CHILDREN}
  • *
* Actions: *
    *
*/ case object Parent extends AccessibleRole(jfxs.AccessibleRole.PARENT) /** * Password Field role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT} - must return null or empty string
  • *
* Actions: *
    *
*/ case object PasswordField extends AccessibleRole(jfxs.AccessibleRole.PASSWORD_FIELD) /** * Progress Indicator role. * * Attributes: *
    *
  • {@link AccessibleAttribute#VALUE}
  • *
  • {@link AccessibleAttribute#MIN_VALUE}
  • *
  • {@link AccessibleAttribute#MAX_VALUE}
  • *
  • {@link AccessibleAttribute#INDETERMINATE}
  • *
* Actions: *
    *
*/ case object ProgressIndicator extends AccessibleRole(jfxs.AccessibleRole.PROGRESS_INDICATOR) /** * Radio Button role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#SELECTED}
  • *
* Actions: *
    *
  • {@link AccessibleAction#FIRE}
  • *
*/ case object RadioButton extends AccessibleRole(jfxs.AccessibleRole.RADIO_BUTTON) /** * Radio Menu Item role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#ACCELERATOR}
  • *
  • {@link AccessibleAttribute#MNEMONIC}
  • *
  • {@link AccessibleAttribute#DISABLED}
  • *
  • {@link AccessibleAttribute#SELECTED}
  • *
* Actions: *
    *
  • {@link AccessibleAction#FIRE}
  • *
*/ case object RadioMenuItem extends AccessibleRole(jfxs.AccessibleRole.RADIO_MENU_ITEM) /** * Slider role. * * Attributes: *
    *
  • {@link AccessibleAttribute#VALUE}
  • *
  • {@link AccessibleAttribute#MIN_VALUE}
  • *
  • {@link AccessibleAttribute#MAX_VALUE}
  • *
  • {@link AccessibleAttribute#ORIENTATION}
  • *
* Actions: *
    *
  • {@link AccessibleAction#INCREMENT}
  • *
  • {@link AccessibleAction#DECREMENT}
  • *
  • {@link AccessibleAction#SET_VALUE}
  • *
*/ case object Slider extends AccessibleRole(jfxs.AccessibleRole.SLIDER) /** * Spinner role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
* Actions: *
    *
  • {@link AccessibleAction#INCREMENT}
  • *
  • {@link AccessibleAction#DECREMENT}
  • *
*/ case object Spinner extends AccessibleRole(jfxs.AccessibleRole.SPINNER) /** * Text role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#FONT}
  • *
* Actions: *
    *
  • {@link AccessibleAction#SET_TEXT}
  • *
*/ case object Text extends AccessibleRole(jfxs.AccessibleRole.TEXT) /** * Text Area role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#FONT}
  • *
  • {@link AccessibleAttribute#EDITABLE}
  • *
  • {@link AccessibleAttribute#SELECTION_START}
  • *
  • {@link AccessibleAttribute#SELECTION_END}
  • *
  • {@link AccessibleAttribute#CARET_OFFSET}
  • *
  • {@link AccessibleAttribute#OFFSET_AT_POINT}
  • *
  • {@link AccessibleAttribute#LINE_START}
  • *
  • {@link AccessibleAttribute#LINE_END}
  • *
  • {@link AccessibleAttribute#LINE_FOR_OFFSET}
  • *
  • {@link AccessibleAttribute#BOUNDS_FOR_RANGE}
  • *
* Actions: *
    *
  • {@link AccessibleAction#SET_TEXT}
  • *
  • {@link AccessibleAction#SET_TEXT_SELECTION}
  • *
*/ case object TextArea extends AccessibleRole(jfxs.AccessibleRole.TEXT_AREA) /** * Text Field role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#FONT}
  • *
  • {@link AccessibleAttribute#EDITABLE}
  • *
  • {@link AccessibleAttribute#SELECTION_START}
  • *
  • {@link AccessibleAttribute#SELECTION_END}
  • *
  • {@link AccessibleAttribute#CARET_OFFSET}
  • *
  • {@link AccessibleAttribute#OFFSET_AT_POINT}
  • *
  • {@link AccessibleAttribute#BOUNDS_FOR_RANGE}
  • *
* Actions: *
    *
  • {@link AccessibleAction#SET_TEXT}
  • *
  • {@link AccessibleAction#SET_TEXT_SELECTION}
  • *
*/ case object TextField extends AccessibleRole(jfxs.AccessibleRole.TEXT_FIELD) /** * Toggle Button role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#SELECTED}
  • *
* Actions: *
    *
  • {@link AccessibleAction#FIRE}
  • *
*/ case object ToggleButton extends AccessibleRole(jfxs.AccessibleRole.TOGGLE_BUTTON) /** * Tooltip role. * * Attributes: *
    *
* Actions: *
    *
*/ case object Tooltip extends AccessibleRole(jfxs.AccessibleRole.TOOLTIP) /** * Scroll Bar role. * * Attributes: *
    *
  • {@link AccessibleAttribute#VALUE}
  • *
  • {@link AccessibleAttribute#MAX_VALUE}
  • *
  • {@link AccessibleAttribute#MIN_VALUE}
  • *
  • {@link AccessibleAttribute#ORIENTATION}
  • *
* Actions: *
    *
  • {@link AccessibleAction#INCREMENT}
  • *
  • {@link AccessibleAction#DECREMENT}
  • *
  • {@link AccessibleAction#BLOCK_INCREMENT}
  • *
  • {@link AccessibleAction#BLOCK_DECREMENT}
  • *
  • {@link AccessibleAction#SET_VALUE}
  • *
*/ case object ScrollBar extends AccessibleRole(jfxs.AccessibleRole.SCROLL_BAR) /** * Scroll Pane role. * * Attributes: *
    *
  • {@link AccessibleAttribute#CONTENTS}
  • *
  • {@link AccessibleAttribute#HORIZONTAL_SCROLLBAR}
  • *
  • {@link AccessibleAttribute#VERTICAL_SCROLLBAR}
  • *
* Actions: *
    *
*/ case object ScrollPane extends AccessibleRole(jfxs.AccessibleRole.SCROLL_PANE) /** * Split Menu Button role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#EXPANDED}
  • *
* Actions: *
    *
  • {@link AccessibleAction#FIRE}
  • *
  • {@link AccessibleAction#EXPAND}
  • *
  • {@link AccessibleAction#COLLAPSE}
  • *
*/ case object SplitMenuButton extends AccessibleRole(jfxs.AccessibleRole.SPLIT_MENU_BUTTON) /** * Tab Item role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#SELECTED}
  • *
* Actions: *
    *
  • {@link AccessibleAction#REQUEST_FOCUS}
  • *
*/ case object TabItem extends AccessibleRole(jfxs.AccessibleRole.TAB_ITEM) /** * Tab Pane role. * * Attributes: *
    *
  • {@link AccessibleAttribute#ITEM_AT_INDEX}
  • *
  • {@link AccessibleAttribute#ITEM_COUNT}
  • *
  • {@link AccessibleAttribute#FOCUS_ITEM}
  • *
* Actions: *
    *
*/ case object TabPane extends AccessibleRole(jfxs.AccessibleRole.TAB_PANE) /** * Table Cell role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#ROW_INDEX}
  • *
  • {@link AccessibleAttribute#COLUMN_INDEX}
  • *
  • {@link AccessibleAttribute#SELECTED}
  • *
* Actions: *
    *
  • {@link AccessibleAction#REQUEST_FOCUS}
  • *
*/ case object TableCell extends AccessibleRole(jfxs.AccessibleRole.TABLE_CELL) /** * Table Column role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#INDEX}
  • *
* Actions: *
    *
*/ case object TableColumn extends AccessibleRole(jfxs.AccessibleRole.TABLE_COLUMN) /** * Table Row role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#INDEX}
  • *
* Actions: *
    *
*/ case object TableRow extends AccessibleRole(jfxs.AccessibleRole.TABLE_ROW) /** * Table View role. * * Attributes: *
    *
  • {@link AccessibleAttribute#ROW_COUNT}
  • *
  • {@link AccessibleAttribute#ROW_AT_INDEX}
  • *
  • {@link AccessibleAttribute#COLUMN_COUNT}
  • *
  • {@link AccessibleAttribute#COLUMN_AT_INDEX}
  • *
  • {@link AccessibleAttribute#SELECTED_ITEMS}
  • *
  • {@link AccessibleAttribute#CELL_AT_ROW_COLUMN}
  • *
  • {@link AccessibleAttribute#HEADER}
  • *
  • {@link AccessibleAttribute#MULTIPLE_SELECTION}
  • *
  • {@link AccessibleAttribute#VERTICAL_SCROLLBAR}
  • *
  • {@link AccessibleAttribute#HORIZONTAL_SCROLLBAR}
  • *
  • {@link AccessibleAttribute#FOCUS_ITEM}
  • *
* Actions: *
    *
  • {@link AccessibleAction#SHOW_ITEM}
  • *
  • {@link AccessibleAction#SET_SELECTED_ITEMS}
  • *
*/ case object TableView extends AccessibleRole(jfxs.AccessibleRole.TABLE_VIEW) /** * Thumb role. * * Attributes: *
    *
  • {@link AccessibleAttribute#VALUE}
  • *
* Actions: *
    *
*/ case object Thumb extends AccessibleRole(jfxs.AccessibleRole.THUMB) /** * Titled Pane role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#EXPANDED}
  • *
* Actions: *
    *
  • {@link AccessibleAction#EXPAND}
  • *
  • {@link AccessibleAction#COLLAPSE}
  • *
*/ case object TitledPane extends AccessibleRole(jfxs.AccessibleRole.TITLED_PANE) /** * Tool Bar role. * * Attributes: *
    *
  • {@link AccessibleAttribute#OVERFLOW_BUTTON}
  • *
* Actions: *
    *
*/ case object ToolBar extends AccessibleRole(jfxs.AccessibleRole.TOOL_BAR) /** * Tree Item role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#INDEX}
  • *
  • {@link AccessibleAttribute#SELECTED}
  • *
  • {@link AccessibleAttribute#EXPANDED}
  • *
  • {@link AccessibleAttribute#LEAF}
  • *
  • {@link AccessibleAttribute#DISCLOSURE_LEVEL}
  • *
  • {@link AccessibleAttribute#TREE_ITEM_COUNT}
  • *
  • {@link AccessibleAttribute#TREE_ITEM_AT_INDEX}
  • *
  • {@link AccessibleAttribute#TREE_ITEM_PARENT}
  • *
* Actions: *
    *
  • {@link AccessibleAction#EXPAND}
  • *
  • {@link AccessibleAction#COLLAPSE}
  • *
  • {@link AccessibleAction#REQUEST_FOCUS}
  • *
*/ case object TreeItem extends AccessibleRole(jfxs.AccessibleRole.TREE_ITEM) /** * Check Box Tree Item role. *

* Attributes: *

    *
  • {@link AccessibleAttribute# TEXT}
  • *
  • {@link AccessibleAttribute# INDEX}
  • *
  • {@link AccessibleAttribute# SELECTED}
  • *
  • {@link AccessibleAttribute# EXPANDED}
  • *
  • {@link AccessibleAttribute# LEAF}
  • *
  • {@link AccessibleAttribute# DISCLOSURE_LEVEL}
  • *
  • {@link AccessibleAttribute# TREE_ITEM_COUNT}
  • *
  • {@link AccessibleAttribute# TREE_ITEM_AT_INDEX}
  • *
  • {@link AccessibleAttribute# TREE_ITEM_PARENT}
  • *
  • {@link AccessibleAttribute# TOGGLE_STATE}
  • *
* Actions: *
    *
  • {@link AccessibleAction# EXPAND}
  • *
  • {@link AccessibleAction# COLLAPSE}
  • *
  • {@link AccessibleAction# REQUEST_FOCUS}
  • *
* * @since 21 */ case object CheckBoxTreeItem extends AccessibleRole(jfxs.AccessibleRole.CHECK_BOX_TREE_ITEM) /** * Tree Table Cell role. * * Attributes: *
    *
  • {@link AccessibleAttribute#TEXT}
  • *
  • {@link AccessibleAttribute#SELECTED}
  • *
  • {@link AccessibleAttribute#ROW_INDEX}
  • *
  • {@link AccessibleAttribute#COLUMN_INDEX}
  • *
* Actions: *
    *
  • {@link AccessibleAction#REQUEST_FOCUS}
  • *
*/ case object TreeTableCell extends AccessibleRole(jfxs.AccessibleRole.TREE_TABLE_CELL) /** * Tree Table Row role. * * Attributes: *
    *
  • {@link AccessibleAttribute#INDEX}
  • *
  • {@link AccessibleAttribute#EXPANDED}
  • *
  • {@link AccessibleAttribute#LEAF}
  • *
  • {@link AccessibleAttribute#DISCLOSURE_LEVEL}
  • *
  • {@link AccessibleAttribute#TREE_ITEM_COUNT}
  • *
  • {@link AccessibleAttribute#TREE_ITEM_AT_INDEX}
  • *
  • {@link AccessibleAttribute#TREE_ITEM_PARENT}
  • *
* Actions: *
    *
  • {@link AccessibleAction#EXPAND}
  • *
  • {@link AccessibleAction#COLLAPSE}
  • *
*/ case object TreeTableRow extends AccessibleRole(jfxs.AccessibleRole.TREE_TABLE_ROW) /** * Tree Table View role. * * Attributes: *
    *
  • {@link AccessibleAttribute#ROW_COUNT}
  • *
  • {@link AccessibleAttribute#ROW_AT_INDEX}
  • *
  • {@link AccessibleAttribute#COLUMN_COUNT}
  • *
  • {@link AccessibleAttribute#COLUMN_AT_INDEX}
  • *
  • {@link AccessibleAttribute#SELECTED_ITEMS}
  • *
  • {@link AccessibleAttribute#CELL_AT_ROW_COLUMN}
  • *
  • {@link AccessibleAttribute#HEADER}
  • *
  • {@link AccessibleAttribute#MULTIPLE_SELECTION}
  • *
  • {@link AccessibleAttribute#VERTICAL_SCROLLBAR}
  • *
  • {@link AccessibleAttribute#HORIZONTAL_SCROLLBAR}
  • *
  • {@link AccessibleAttribute#FOCUS_ITEM}
  • *
* Actions: *
    *
  • {@link AccessibleAction#SHOW_ITEM}
  • *
  • {@link AccessibleAction#SET_SELECTED_ITEMS}
  • *
*/ case object TreeTableView extends AccessibleRole(jfxs.AccessibleRole.TREE_TABLE_VIEW) /** * Tree View role. * * Attributes: *
    *
  • {@link AccessibleAttribute#ROW_COUNT}
  • *
  • {@link AccessibleAttribute#ROW_AT_INDEX}
  • *
  • {@link AccessibleAttribute#SELECTED_ITEMS}
  • *
  • {@link AccessibleAttribute#MULTIPLE_SELECTION}
  • *
  • {@link AccessibleAttribute#VERTICAL_SCROLLBAR}
  • *
  • {@link AccessibleAttribute#HORIZONTAL_SCROLLBAR}
  • *
  • {@link AccessibleAttribute#FOCUS_ITEM}
  • *
* Actions: *
    *
  • {@link AccessibleAction#SHOW_ITEM}
  • *
  • {@link AccessibleAction#SET_SELECTED_ITEMS}
  • *
*/ case object TreeView extends AccessibleRole(jfxs.AccessibleRole.TREE_VIEW) /** * Dialog role. *

* Attributes: *

    *
  • {@link AccessibleAttribute# TEXT}
  • *
  • {@link AccessibleAttribute# ROLE_DESCRIPTION}
  • *
  • {@link AccessibleAttribute# CHILDREN}
  • *
* * @since 20 */ case object Dialog extends AccessibleRole(jfxs.AccessibleRole.DIALOG) } sealed abstract class AccessibleRole(override val delegate: jfxs.AccessibleRole) extends SFXEnumDelegate[jfxs.AccessibleRole]




© 2015 - 2025 Weber Informatics LLC | Privacy Policy