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.

55 lines
1.7KB

  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 cell interface.
  16. This typically represents a single cell inside of a UI element which implements an
  17. AccessibilityTableInterface.
  18. @tags{Accessibility}
  19. */
  20. class JUCE_API AccessibilityCellInterface
  21. {
  22. public:
  23. /** Destructor. */
  24. virtual ~AccessibilityCellInterface() = default;
  25. /** Returns the column index of the cell in the table. */
  26. virtual int getColumnIndex() const = 0;
  27. /** Returns the number of columns occupied by the cell in the table. */
  28. virtual int getColumnSpan() const = 0;
  29. /** Returns the row index of the cell in the table. */
  30. virtual int getRowIndex() const = 0;
  31. /** Returns the number of rows occupied by the cell in the table. */
  32. virtual int getRowSpan() const = 0;
  33. /** Returns the indentation level for the cell. */
  34. virtual int getDisclosureLevel() const = 0;
  35. /** Returns the AccessibilityHandler of the table which contains the cell. */
  36. virtual const AccessibilityHandler* getTableHandler() const = 0;
  37. };
  38. } // namespace juce