Roles
BUTTON | |||
CHECKBOX | |||
COMBOBOX | |||
CONTEXT_MENU | |||
DATE_PICKER | |||
DECREMENT_BUTTON | |||
DISCLOSURE_NODE | |||
HEADER | |||
HYPERLINK | |||
IMAGE | |||
INCREMENT_BUTTON | |||
LIST_ITEM | |||
LIST_VIEW | |||
MENU_BAR | |||
MENU_BUTTON | |||
MENU_ITEM | |||
NODE | |||
PAGE | |||
PAGINATION | |||
PARENT | |||
PASSWORD_FIELD | |||
PROGRESS_INDICATOR | |||
RADIO_BUTTON | |||
SCROLL_BAR | |||
SCROLL_PANE | |||
SLIDER | |||
SPLIT_MENU_BUTTON | |||
TAB_ITEM | |||
TAB_PANE | |||
TABLE_CELL | |||
TABLE_COLUMN | |||
TABLE_ROW | |||
TABLE_VIEW | |||
TEXT | |||
TEXT_AREA | |||
TEXT_FIELD | |||
THUMB | |||
TITLED_PANE | |||
TOGGLE_BUTTON | |||
TOOLBAR | |||
TOOLTIP | |||
TREE_ITEM | |||
TREE_TABLE_CELL | |||
TREE_TABLE_ITEM | |||
TREE_TABLE_VIEW | |||
TREE_VIEW |
Attributes
Arg Count | Type | Used by | Windows | Mac | Notification | Notes | |
---|---|---|---|---|---|---|---|
ACCELERATOR | 0 | KeyCombination | MenuItem | X | X (called 4 times) | ||
BOUNDS | 0 | Bounds | Node | X (also used to compute scroll %) | X (called 2 times) | ||
BOUNDS_FOR_RANGE | 2 | Bounds[], (int, int) | TextField, TextArea, Text | X | X | Bounds for each char in a range | |
CARET_OFFSET | 0 | int | TextField, TextArea, Text | - | X | Caret offset (line number?) | |
CELL_AT_ROW_COLUMN | 2 | Node, (int, int) | TableView, TreeTableView | X | X | ||
CHILDREN | 0 | ObservableList<Node> | Parent, Scene | X (called to navigate) | X | ||
COLUMN_AT_INDEX | 1 | Node, (int) | TableView, TreeTableView | X | X | ||
COLUMN_COUNT | 0 | TableView, TreeTableView | X | X | |||
COLUMN_INDEX | 0 | int | TableView, TreeTableView | X | X | ||
CONTENTS | 0 | Node | ScrollPane | X (used to compute scroll %) | X (how used?) | ||
DATE | 0 | LocalDate | DatePicker | - | X (DatePicker) | ||
DESCRIPTION | 0 | String | - | - | X | ||
DISCLOSURE_LEVEL | 0 | int | TreeView, TreeTableView | - | X | ||
EDITABLE | 0 | boolean | ComboBox | X | X | used only by Combo (what about editable text?) | |
ENABLED | 0 | boolean | Node | X | X | ||
EXPANDED | 0 | boolean | ChoiceBox, ComboBox, SplitMenuButton, TitledPan, TreeView, TreeTable | X | X | Y | |
FOCUS_ITEM | 0 | Node | TableView, TreeTableView | X | X | Y (Mac only) | confusing (need to explain why needed?) |
FOCUS_NODE | 0 | Node | Scene, MenuBar | X | X | Y | |
FOCUSED | 0 | boolean | Node | Y | explain how/why it is used/needed with the other focus properties | ||
FONT | 0 | Font | TextField, TextArea, Text | X | X (called 3 times) | Font for a text run (why not a range, explain usage) | |
HEADER | 0 | Node | TableView, TreeTableView | X | |||
HORIZONTAL_SCROLLBAR | 0 | Node | ListView, ScrollPane, TableView, TreeTableView, TreeView | X (used to scroll and compute %, isScrollable= bar is VISIBLE | X (how used?) | ||
INDETERMINATE | 0 | boolean | CheckBox, ProgressIndicator | X (used by ToggleButton) | X (used by ToggleButton and ProgressIndicator) | Y (Windows only) | |
INDEX | 0 | int | 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 | 0 | Node | Node | X (COMBO, TEXT_FIELD, TEXT_AREA can't be labled) | X | default is TITLE | |
LEAF | 0 | boolean | TreeView, TreeTableView | X | X | ||
LINE_END | 1 | int, (int) | Text | X | X | ||
LINE_FOR_OFFSET | 1 | int, (int) | Text | X | X | ||
LINE_START | 1 | int, (int) | Text | X | X | ||
MAX_VALUE | 0 | double | ProgressIndicator, ScrollBar, Slider | X | X | ||
MENU | 0 | Node | Menu | - | X | ||
MENU_FOR | 0 | Node | Menu | - | X | Y | |
MENU_ITEM_TYPE | 0 | Node | Menu, MenuBar | X | X | ||
MIN_VALUE | 0 | double | ProgressIndicator, ScrollBar, Slider | X | X | ||
MNEMONIC | 0 | String | Menu, Label, MenuBar | X | - | ||
MULTIPLE_SELECTION | 0 | boolean | ListView, TableView, TreeTableView, TreeView | X | - | ||
NODE_AT_POINT | 1 | Node, (Point2D) | |||||
OFFSET_AT_POINT | 1 | int, (Point2D) | |||||
ORIENTATION | 0 | ||||||
OVERFLOW_BUTTON | 0 | ||||||
PAGES | 0 | ||||||
PARENT | 0 | ||||||
ROLE | 0 | ||||||
ROW_AT_INDEX | 1 | Node, (int) | |||||
ROW_COUNT | 0 | ||||||
ROW_INDEX | 0 | ||||||
SCENE | 0 | ||||||
SELECTED | 0 | ||||||
SELECTED_CELLS | 0 | ||||||
SELECTED_PAGE | 0 | ||||||
SELECTED_ROWS | 0 | ||||||
SELECTED_TAB | 0 | ||||||
SELECTION_END | 0 | ||||||
SELECTION_START | 0 | ||||||
TABS | 0 | ||||||
TITLE | 0 | ||||||
TOOLTIP | 0 | ||||||
TREE_ITEM_AT_INDEX | 1 | Node, (int) | |||||
TREE_ITEM_COUNT | 0 | ||||||
TREE_ITEM_PARENT | 0 | ||||||
VALUE | 0 | double | |||||
VERTICAL_SCROLLBAR | 0 | ||||||
VISIBLE | 0 | ||||||
VISITED | 0 |
Actions
ADD_TO_SELECTION | |||
BLOCK_DECREMENT | |||
BLOCK_INCREMENT | |||
COLLAPSE | |||
DECREMENT | |||
EXPAND | |||
FIRE | |||
INCREMENT | |||
MOVE | |||
REMOVE_FROM_SELECTION | |||
SCROLL_TO_INDEX | |||
SELECT | |||
SET_TITLE | |||
SET_VALUE | |||
SHOW_MENU |