2020-08-26 00:40:32 +03:00
|
|
|
/* clang-format off */
|
2015-10-01 17:00:00 +03:00
|
|
|
/* -*- Mode: Objective-C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2020-08-26 00:40:32 +03:00
|
|
|
/* clang-format on */
|
2015-10-01 17:00:00 +03:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
#import "mozAccessible.h"
|
|
|
|
|
2020-05-29 02:06:42 +03:00
|
|
|
@interface mozColumnContainer : MOXAccessibleBase {
|
2020-04-06 19:51:11 +03:00
|
|
|
uint32_t mIndex;
|
|
|
|
mozAccessible* mParent;
|
|
|
|
NSMutableArray* mChildren;
|
|
|
|
}
|
|
|
|
|
2020-05-29 02:06:42 +03:00
|
|
|
// override
|
|
|
|
- (id)initWithIndex:(uint32_t)aIndex andParent:(mozAccessible*)aParent;
|
|
|
|
|
|
|
|
// override
|
|
|
|
- (NSString*)moxRole;
|
|
|
|
|
|
|
|
// override
|
|
|
|
- (NSString*)moxRoleDescription;
|
|
|
|
|
|
|
|
// override
|
|
|
|
- (mozAccessible*)moxParent;
|
|
|
|
|
|
|
|
// override
|
2020-07-21 23:41:55 +03:00
|
|
|
- (NSArray*)moxUnignoredChildren;
|
2020-05-29 02:06:42 +03:00
|
|
|
|
|
|
|
// override
|
2020-04-06 19:51:11 +03:00
|
|
|
- (void)dealloc;
|
2020-05-29 02:06:42 +03:00
|
|
|
|
|
|
|
// override
|
2020-04-06 19:51:11 +03:00
|
|
|
- (void)expire;
|
2020-05-29 02:06:42 +03:00
|
|
|
|
|
|
|
// override
|
2020-04-06 19:51:11 +03:00
|
|
|
- (BOOL)isExpired;
|
2020-05-29 02:06:42 +03:00
|
|
|
|
|
|
|
- (void)invalidateChildren;
|
|
|
|
|
2020-04-06 19:51:11 +03:00
|
|
|
@end
|
|
|
|
|
2015-10-01 17:00:00 +03:00
|
|
|
@interface mozTablePartAccessible : mozAccessible
|
2020-05-29 02:06:42 +03:00
|
|
|
|
|
|
|
// override
|
|
|
|
- (NSString*)moxTitle;
|
|
|
|
|
|
|
|
// override
|
2020-05-29 01:41:13 +03:00
|
|
|
- (NSString*)moxRole;
|
2020-05-29 02:06:42 +03:00
|
|
|
|
|
|
|
- (BOOL)isLayoutTablePart;
|
|
|
|
|
2015-10-01 17:00:00 +03:00
|
|
|
@end
|
|
|
|
|
2020-04-06 19:51:11 +03:00
|
|
|
@interface mozTableAccessible : mozTablePartAccessible {
|
|
|
|
NSMutableArray* mColContainers;
|
|
|
|
}
|
2020-05-29 02:06:42 +03:00
|
|
|
|
2020-04-10 20:53:41 +03:00
|
|
|
- (void)invalidateColumns;
|
2020-05-29 02:06:42 +03:00
|
|
|
|
|
|
|
// override
|
2020-04-10 20:53:41 +03:00
|
|
|
- (void)handleAccessibleEvent:(uint32_t)eventType;
|
2020-05-29 02:06:42 +03:00
|
|
|
|
|
|
|
// override
|
2020-04-06 19:51:11 +03:00
|
|
|
- (void)dealloc;
|
2020-05-29 02:06:42 +03:00
|
|
|
|
|
|
|
// override
|
|
|
|
- (NSNumber*)moxRowCount;
|
|
|
|
|
|
|
|
// override
|
|
|
|
- (NSNumber*)moxColumnCount;
|
|
|
|
|
|
|
|
// override
|
|
|
|
- (NSArray*)moxRows;
|
|
|
|
|
|
|
|
// override
|
|
|
|
- (NSArray*)moxColumns;
|
|
|
|
|
|
|
|
// override
|
2020-07-21 23:41:55 +03:00
|
|
|
- (NSArray*)moxUnignoredChildren;
|
2020-05-29 02:06:42 +03:00
|
|
|
|
2020-07-21 23:58:36 +03:00
|
|
|
// override
|
|
|
|
- (NSArray*)moxColumnHeaderUIElements;
|
|
|
|
|
|
|
|
// override
|
|
|
|
- (id)moxCellForColumnAndRow:(NSArray*)columnAndRow;
|
|
|
|
|
2015-10-01 17:00:00 +03:00
|
|
|
@end
|
|
|
|
|
|
|
|
@interface mozTableRowAccessible : mozTablePartAccessible
|
2020-05-29 02:06:42 +03:00
|
|
|
|
|
|
|
// override
|
2020-04-10 20:53:41 +03:00
|
|
|
- (void)handleAccessibleEvent:(uint32_t)eventType;
|
2020-05-29 02:06:42 +03:00
|
|
|
|
|
|
|
// override
|
|
|
|
- (NSNumber*)moxIndex;
|
|
|
|
|
2015-10-01 17:00:00 +03:00
|
|
|
@end
|
|
|
|
|
|
|
|
@interface mozTableCellAccessible : mozTablePartAccessible
|
2020-05-29 02:06:42 +03:00
|
|
|
|
|
|
|
// override
|
|
|
|
- (NSValue*)moxRowIndexRange;
|
|
|
|
|
|
|
|
// override
|
|
|
|
- (NSValue*)moxColumnIndexRange;
|
|
|
|
|
|
|
|
// override
|
|
|
|
- (NSArray*)moxRowHeaderUIElements;
|
|
|
|
|
|
|
|
// override
|
|
|
|
- (NSArray*)moxColumnHeaderUIElements;
|
|
|
|
|
2015-10-01 17:00:00 +03:00
|
|
|
@end
|
2020-11-12 09:16:58 +03:00
|
|
|
|
|
|
|
@interface mozOutlineAccessible : mozAccessible
|
|
|
|
|
|
|
|
// override
|
|
|
|
- (NSArray*)moxRows;
|
|
|
|
|
|
|
|
// override
|
|
|
|
- (NSArray*)moxColumns;
|
|
|
|
|
|
|
|
// override
|
|
|
|
- (NSArray*)moxSelectedRows;
|
|
|
|
|
2020-12-10 03:15:38 +03:00
|
|
|
// override
|
|
|
|
- (NSString*)moxOrientation;
|
|
|
|
|
2020-11-12 09:16:58 +03:00
|
|
|
@end
|
|
|
|
|
|
|
|
@interface mozOutlineRowAccessible : mozTableRowAccessible
|
|
|
|
|
|
|
|
// override
|
|
|
|
- (BOOL)isLayoutTablePart;
|
|
|
|
|
|
|
|
// override
|
|
|
|
- (NSNumber*)moxDisclosing;
|
|
|
|
|
2021-01-08 00:29:27 +03:00
|
|
|
// override
|
|
|
|
- (void)moxSetDisclosing:(NSNumber*)disclosing;
|
|
|
|
|
2020-12-10 03:15:38 +03:00
|
|
|
// override
|
|
|
|
- (NSNumber*)moxExpanded;
|
|
|
|
|
2020-11-12 09:16:58 +03:00
|
|
|
// override
|
|
|
|
- (id)moxDisclosedByRow;
|
|
|
|
|
|
|
|
// override
|
|
|
|
- (NSNumber*)moxDisclosureLevel;
|
|
|
|
|
|
|
|
// override
|
|
|
|
- (NSArray*)moxDisclosedRows;
|
|
|
|
|
|
|
|
// override
|
|
|
|
- (NSNumber*)moxIndex;
|
|
|
|
|
|
|
|
// override
|
|
|
|
- (NSString*)moxLabel;
|
|
|
|
|
2021-01-19 19:53:38 +03:00
|
|
|
// override
|
|
|
|
- (void)stateChanged:(uint64_t)state isEnabled:(BOOL)enabled;
|
|
|
|
|
2020-11-12 09:16:58 +03:00
|
|
|
@end
|