Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

X
 ControlWindowsMacNotes

BUTTON

ButtonXX 

CHECKBOXCHECK_BOX

CheckBoxXX 
Rename to CHECK_MENU_BOXITEMCheckMenuItemXX 

COMBO_BOXCOMBOBOX

ChoiceBox, ComboBoxXXRename to COMBO_BOX 

CONTEXT_MENU

ContextMenuXX 

DATE_PICKER

DatePickerXX 

DECREMENT_BUTTON

ScrollBar, Spinner(skin)XX 

DISCLOSURE_NODE

TreeTableView-Remove?

HEADER

--XRemove?

HYPERLINK

HyperlinkXX 

IMAGE_VIEW

ImageViewXXRename to IMAGE_VIEW 

INCREMENT_BUTTON

ScrollBar, Spinner(skin)XX 

LIST_ITEM

ListCellXX 

LIST_VIEW

ListViewXX 
MENUMenuXX 

MENU_BAR

MenuBarXX 

MENU_BUTTON

MenuButtonXX 

MENU_ITEM

MenuItem (MenuItemContainer/MenuItemButton)

XX 

NODE

NodeXX 

PAGE_ITEM

IndicatorButton (in PaginationSkin)

XXRename to PAGE_ITEM 

PAGINATION

PaginationXX 

PARENT

Parent, SceneXX 

PASSWORD_FIELD

PasswordFieldXX 

PROGRESS_INDICATOR

ProgressIndicatorXX 

RADIO_BUTTON

RadioButtonXX 
RADIO_MENU_ITEMRadioMenuItemXX 

SCROLL_BAR

ScrollBarXX 

SCROLL_PANE

ScrollPaneXX 

SLIDER

SliderXX 
SPINNERSpinnerXX 

SPLIT_MENU_BUTTON

SplitMenuButtonXX 

TAB_ITEM

TabHeaderSkin (in TabPaneSkin)

XX 

TAB_PANE

TabPaneXX 

TABLE_CELL

TableCellXX 

TABLE_COLUMN

TableView (TableColumnHeader)-XXRemove?Used by Mac & Win to find the column name. Win does not require native role.

TABLE_ROW

TableRowXX 

TABLE_VIEW

TableViewXX 

TEXT

TextXX 

TEXT_AREA

TextAreaXX 

TEXT_FIELD

TextFieldXX 

THUMB

ScrollBar, SliderXX 

TITLED_PANE

TitledPaneXX 

TOGGLE_BUTTON

ToggleButtonXX 

TOOLBARTOOL_BAR

ToolBarXXRename to TOOL_BAR 

TOOLTIP

ToolTipTooltip-X

RT-36992

This seems to be a work around for a Mac specific problem. When a window is shown, focus goes to the control inside (the text of the tooltip), then that hides the window, then the tooltip is show.

Need to document that this is not asked for on Windows. I assume that using a TEXT role control for the tooltip guts works on Windows but fails on Mac?

Is there another way that this could be worked around that did not require a platform specific role?

Remove? Rename to TOOL_TIP

TREE_ITEM

TreeCellXX 

TREE_TABLE_CELL

TreeTableCellXX 

TREE_TABLE_ITEMROW

TreeTableRowXXRename to TREE_TABLE_ROW 

TREE_TABLE_VIEW

TreeTableViewXX 

TREE_VIEW

TreeViewXX 

Remove MENU_ITEM_TYPE and add:

Notes
RoleControlWinMacRADIO_MENU_ITEMRadioMenuItemXX

 

...

Attributes

DESCRIPTION 
 Arg CountTypeUsed byWindowsMacNotificationNotes

ACCELERATOR

0

KeyCombination

MenuItemXX (called 4 times)  

BOUNDS

0BoundsNodeX (also used to compute scroll %)X (called 2 times)  

BOUNDS_FOR_RANGE

2Bounds[], (int, int)

TextField, TextArea, Text

XX Bounds for each char in a range

CARET_OFFSET

0int

TextField, TextArea, Text

-X Caret offset (line number?)

CELL_AT_ROW_COLUMN

2Node, (int, int)TableView, TreeTableViewXX  

CHILDREN

0ObservableList<Node>Parent, SceneX (called to navigate)X  When a control contains both "items" and children, does the CHILDREN return the complete list?

COLUMN_AT_INDEX

1Node, (int)TableView, TreeTableViewXX  

COLUMN_COUNT

0 TableView, TreeTableViewXX  

COLUMN_INDEX

0intTableViewTableCell, TreeTableViewTreeTableCellXX  

CONTENTS

0NodeScrollPaneX (used to compute scroll %)X (how used?)  

DATE

0LocalDateDatePicker-X (DatePicker)  
DISABLED0StringbooleanNode, MenuItemsCustom controlsXX The role description. For example, button, tab item, etc. 

DISCLOSURE_LEVEL

0intTreeView, TreeTableView-X  

EDITABLE

0booleanComboBoxXX used only by Combo (what about editable text?)

ENABLED

0booleanNodeXX 
 

EXPANDED

0booleanChoiceBox, ComboBox, SplitMenuButton, TitledPan, TreeView, TreeTableXXY 

FOCUS_ITEM

0NodeTableView

ListView, TableView, TreeView, TreeTableView, TabPane, Pagination

XXY (Mac only)confusing (need to explain why needed?)

FOCUS_NODE

0NodeScene, MenuBarXXY 

FOCUSED

0booleanNode  Yexplain how/why it is used/needed with the other focus properties

FONT

0Font

TextField, TextArea, Text

XX (called 3 times) Font for a text run (why not a range, explain usage)How is this used?

HEADER

0NodeTableView, TreeTableView   Mac needs to see the header 
HELP0StringNodeXX  

HORIZONTAL_SCROLLBAR

0NodeListView, ScrollPane, TableView, TreeTableView, TreeViewX (used to scroll and compute %, isScrollable= bar is VISIBLEX (how used?)  

INDETERMINATE

0boolean

CheckBox, ProgressIndicator

X (used by ToggleButton)X (used by ToggleButton and ProgressIndicator)Y (Windows only) 

INDEX

0int

ListView, TableView, TreeView, TreeTableView

X (use for SCROLL_TO_INDEX, index of LIST_ITEM)

X (TABLE_COLUMN, LIST_ITEM, TABLE_ROW, TREE_ITEM, TREE_TABLE_ITEM)

  

LABELED_BY

0NodeNodeX (COMBO, TEXT_FIELD, TEXT_AREA can't be labled)Xdefault is TITLE 

LEAF

0boolean

TreeView, TreeTableView

XX  

LINE_END

1int, (int)TextXX  

LINE_FOR_OFFSET

1int, (int)TextXX  

LINE_START

1int, (int)TextXX  

MAX_VALUE

0doubleProgressIndicator, ScrollBar, SliderXX  

MENUSUBMENU

0NodeMenu-X  This is Mac specific and confusing. How is it used?

PARENT_MENUMENU_FOR

0NodeMenu-XY 

MENU_ITEM_TYPE

0NodeMenu, MenuBarXX rename to MENU_ITEM_ROLEThis is Mac specific but seems to be sent to a menu to get the parent menu. Would PARENT_MENU be a better name?

MIN_VALUE

0doubleProgressIndicator, ScrollBar, SliderXX  

MNEMONIC

0StringMenu, Label, MenuBarX-  

MULTIPLE_SELECTION

0booleanListView, TableView, TreeTableView, TreeViewX-  

NODE_AT_POINT

1Node, (Point2D)SceneXX  

OFFSET_AT_POINT

1int, (Point2D)TextArea, TextField, TextXX  

ORIENTATION

0OrientationProgressBar, ScrollBar, Slider-X  

OVERFLOW_BUTTON

0NodeToolBarXX  

PAGESPARENT

0ObservableList<Node>ParentPaginationNode-XX  

PARENTROLE

0ParentRoleNodeXX  
ROLE_DESCRIPTION0StringCustom ControlsXX  
ITEM_COUNT0IntListView, TabPane, PaginationXX  
ITEM_AT_INDEX1NodeListView, TabPane, PaginationRoleNodeXX  

ROW_AT_INDEX

1Node, (int)

ListView, TreeTableView, TreeView(no TableView?), TableView*

XX  *It is in the doc for TableView but no implemented nor needed.

ROW_COUNT

0intListView, TableView, TableTreeView, TreeViewX (also used in scrolling - getVerticalViewSize())X  

ROW_INDEX

0intTableViewTableCell, TreeTableViewTreeTableCellXX  

SCENE

0SceneNode, SceneXXY 

SELECTED

0boolean

CheckBox, ListView, RadioButton, TableView, ToggleButton, TreeView, TreeTableView, Pagination, TabPane, Menu

XXY (Windows only) 

SELECTED_CELLSITEMS

0ObservableList<Node>ListView, TableView, TreeTableViewXXY 

SELECTED_PAGE

0NodePaginationXXY 

SELECTED_ROWS

0ObservableList<Node>ListView, TreeView TreeView, TreeTableViewXXY 

SELECTED_TAB

0NodeTabPaneXXY 

SELECTION_END

0intComboBox, TextField, TextArea, TextXXY 

SELECTION_START

0intComboBox, TextField, TextArea, TextXXY 

TABSTEXT

0ObservableList<Node>TabPane-X  

TITLE

0String

ChoiceBox, ComboBox, DatePicker, Label, ListView, Menu, MenuBar, Pagination, PasswordField, Scene, TabPane, TableView, TextField, TextArea, TitlePane, TreeView, TreeTableView, Text, Spinner

(* check list)

XXY 

TOOLTIP

0StringControlXX  

TREE_ITEM_AT_INDEX

1Node, (int)TreeViewTreeItem, TreeTableViewTreeTableRowXX  

TREE_ITEM_COUNT

0intTreeViewTreeItem, TreeTableViewTreeTableRowXX  

TREE_ITEM_PARENT

0NodeTreeViewTreeItem, TreeTableViewTreeTableRowXX  

VALUE

0doubleScrollBar, Slider, ProgressIndicator,XXY (Windows only) 

VERTICAL_SCROLLBAR

0NodeListView, ScrollPane, TableView, TreeTableView, TreeViewX (used to scroll and compute %, isScrollable= bar is VISIBLEX (how used?)  

VISIBLE

0booleanNode, Menu, ToolBar (overflow button)X (only used for scroll bar visibility and expand/collapse?)-Y (Mac only) 

VISITED

0booleanHyperlink-X  

Actions

0MOVEScrollBar, SliderSCROLLTOINDEXListView, TableView, , TreeTableView, TreeView (what is index for TextArea?) (only selected cells and rows?)
 ArgsControlWindowsMac

ADD_TO_SELECTION

ListView, TableView, TreeTableView, TreeViewX-

BLOCK_DECREMENT

0ScrollPane (likely list, tree, table, tree table as well)ScrollBarX-

BLOCK_INCREMENT

0ScrollPane (likely list, tree, table, tree table as well)ScrollBarX-

COLLAPSE

0ChoiceBox, ComboBox, SplitMenuButton, TitledPane, Tree, TreeTableXX

DECREMENT

0ScrollPane (likely list, tree, table, tree table as well, Windows only?)ScrollBar, Slider, SpinnerXX (only Slider)

EXPAND

0ChoiceBox, ComboBox, SplitMenuButton, TitledPane, Tree, TreeTableXX (EXPAND refernced but no COLLAPSE?)

FIRE

0Buttons etc. (need complete listl should be Activate?Button (all kinds), ToolBar (items), Spinner (buttons), ScrollBar (thumb), ContextMenuContent (menu items)XX

INCREMENT

0ScrollPane (likely list, tree, table, tree table as well, Windows only?)ScrollBar, Slider, SpinnerXX (only Slider)
REQUEST_FOCUS0Node, TabItem, PageItem, ListItem, TableItem, TreeItem, TreeTableItemX-X

REMOVESHOW_FROM_SELECTIONITEM

1(Node)0ListView, TableView, TreeTableView, TreeViewX-
SHOW_TEXT_0RANGE2(int,int)TextField, TextAreaX-

SELECT

SET_SELECTED_ITEMS

1(list)0ListView, Pagination, TableView, TextField, TextArea, TreeTableView, TreeViewXX
SET_TEXT_SELECTION2(int,int)TextField, TextAreaXX

SET_TEXT

SET_TITLE

1 (String)TextField, TextAreaX-

SET_VALUE

1 (double)ScrollBar, SliderX-

SHOW_MENU

0Control, Menu, ToolBar-X