Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.5KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE 7 technical preview.
  4. Copyright (c) 2022 - Raw Material Software Limited
  5. You may use this code under the terms of the GPL v3
  6. (see www.gnu.org/licenses).
  7. For the technical preview this file cannot be licensed commercially.
  8. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  9. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  10. DISCLAIMED.
  11. ==============================================================================
  12. */
  13. namespace juce
  14. {
  15. /** An abstract interface which represents a UI element that supports a table interface.
  16. Examples of UI elements which typically support a table interface are lists, tables,
  17. and trees.
  18. @tags{Accessibility}
  19. */
  20. class JUCE_API AccessibilityTableInterface
  21. {
  22. public:
  23. /** Destructor. */
  24. virtual ~AccessibilityTableInterface() = default;
  25. /** Returns the total number of rows in the table. */
  26. virtual int getNumRows() const = 0;
  27. /** Returns the total number of columns in the table. */
  28. virtual int getNumColumns() const = 0;
  29. /** Returns the AccessibilityHandler for one of the cells in the table, or
  30. nullptr if there is no cell at the specified position.
  31. */
  32. virtual const AccessibilityHandler* getCellHandler (int row, int column) const = 0;
  33. };
  34. } // namespace juce