Libraries.Interface.Behaviors.Controls
168 classes
- The CalendarInputSetup builds the input tables of calendars and date fields, following the date picker of the WAI-ARIA Authoring Practices: "Calendar": Left and Right move the current day a day, Up and Down a week, Home and End to the first and last day of the week, Page Up and Page Down a month, and Shift with Page Up and Page Down a year.
- The CalendarKeyBehavior carries out one of a Calendar's keys: moving the current day by a day, a week, a month or a year, to the start or end of its week, choosing it, or closing a date field's calendar.
- The CalendarMonthBehavior is the activation of a Calendar's previous and next month buttons: it moves the calendar's current day a number of months, so the calendar shows the month before or after.
- The CalendarPointerBehavior answers a click or touch on a Calendar: a day of the month shown is chosen, and a day of another month is moved to, with Calendar:ChooseDayAt.
- The ColorPickerCloseBehavior closes the ColorPicker that holds the item it runs on: with OK, which keeps the color, or with CANCEL, which puts the old color back.
- The ColorPickerInputSetup class adds the input of a ColorPicker's parts to a game's input: - "HueRing": the keys of a Slider (the "Slider" input group), with the mouse and fingers setting the hue from the angle of the pointer around the ring's center.
- The ComboBoxInputSetup class builds the input table of combo boxes, the "ComboBox" input group.
- The ComboBoxKeyBehavior class carries out the keys of combo boxes, which ComboBoxInputSetup gives it.
- The DateFieldBehavior opens or closes a DateField's calendar: Alt and Down open it, Alt and Up close it, Escape closes it (or, with it closed, closes a tooltip as Escape usually does), and the field's "Choose date" button opens or closes it.
- The DateFieldPopupListener closes a DateField's calendar when the user clicks outside it.
- The HueRingPointerBehavior sets a HueRing's hue with the mouse or a finger: the button or finger going down on the ring, and each move of a drag, set the hue from the angle of the pointer around the ring's center.
- The MenuRootEndBehavior moves a menu's selection to the last item, as the End key does: the last item in the selected item's menu, or the last menu on a menu bar.
- The MenuRootHomeBehavior moves a menu's selection to the first item, as the Home key does: the first item in the selected item's menu, or the first menu on a menu bar.
- The SaturationBrightnessKeyBehavior changes a focused SaturationBrightnessSquare for one of its arrow keys: Right and Left raise and lower the saturation, Up and Down the brightness, by one percent, or by a tenth of a percent with Shift.
- The SaturationBrightnessPointerBehavior sets a SaturationBrightnessSquare's saturation and brightness with the mouse or a finger: the button or finger going down on the square, and each move of a drag, set them from the place of the pointer.
- The ScrollBarTrackPageBehavior moves a scroll bar one page toward a click or tap on its track, outside the handle: up or left if it lands before the handle, down or right if after.
- The ScrollableControlPanBehavior scrolls a list or scroll pane as a finger drags over it on a touch screen.
- The SliderKeyBehavior changes a focused Slider's value for one of its keys: a step, a tenth of a step, a page step, or to either end.
- The SliderPointerBehavior moves a Slider's thumb with the mouse or a finger.
- This class is the Copy key of a Spreadsheet: the selected cells go on the clipboard as tab-separated text, a line per row, as other spreadsheet programs put them.
- This class is the Cut key of a Spreadsheet: the selected cells go on the clipboard as tab-separated text, and are cleared, as one step that can be undone.
- The SpreadsheetInputSetup class builds the input tables of spreadsheets: the "Spreadsheet" table, and the "SpreadsheetCellField" table of the field a cell is edited in, which starts as a copy of the "TextField" table.
- The SpreadsheetKeyBehavior class carries out a Spreadsheet's keys, which SpreadsheetInputSetup gives it.
- The SpreadsheetMenuBehavior class carries out an item of a Spreadsheet's menu: adding or removing rows and columns, fitting a column's width, and cut, copy, paste and clear.
- This class is the Paste key of a Spreadsheet: tab-separated text from the clipboard goes into the cells from the top left of the selection, as one step that can be undone.
- The SpreadsheetPointerBehavior class answers the mouse and fingers on a Spreadsheet: a press selects (a double click edits a cell), dragging extends the selection or changes a column's width, and letting go ends it.
- The SpreadsheetTypingBehavior class starts editing a Spreadsheet's current cell when the user types, as in Excel: the typed text replaces the cell's text, in the edit field over the cell.
- This is the default behavior for moving forward in the TabPane selected tabs list.
- This is the default behavior for moving forward in the TabPane selected tabs list.
- The TextBoxOpenKeyboardBehavior runs when a touch begins on a text box or a text field.
- The TextTouchDragBehavior runs as a finger moves on a text box or a text field, after a touch began there (TextBoxOpenKeyboardBehavior).
- The TextTouchEndBehavior runs when a finger lifts from a text box or a text field, or moves off it.
- The TooltipKeyBehavior class carries out the keys of tooltips, which DefaultInputSets:SetupTooltipInput gives it: Shift+F1 shows or hides the focused control's tooltip, Escape closes a tooltip, and Tab and Shift+Tab move among the buttons of a tooltip that has them.
- The TooltipLongPressBehavior class shows tooltips on phones and tablets.