01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17:
18: /**
19: * @author Dennis Ushakov
20: * @version $Revision$
21: */package javax.accessibility;
22:
23: public interface AccessibleTable {
24: Accessible getAccessibleCaption();
25:
26: void setAccessibleCaption(Accessible a);
27:
28: Accessible getAccessibleSummary();
29:
30: void setAccessibleSummary(Accessible a);
31:
32: int getAccessibleRowCount();
33:
34: int getAccessibleColumnCount();
35:
36: Accessible getAccessibleAt(int r, int c);
37:
38: int getAccessibleRowExtentAt(int r, int c);
39:
40: int getAccessibleColumnExtentAt(int r, int c);
41:
42: AccessibleTable getAccessibleRowHeader();
43:
44: void setAccessibleRowHeader(AccessibleTable table);
45:
46: AccessibleTable getAccessibleColumnHeader();
47:
48: void setAccessibleColumnHeader(AccessibleTable table);
49:
50: Accessible getAccessibleRowDescription(int r);
51:
52: void setAccessibleRowDescription(int r, Accessible a);
53:
54: Accessible getAccessibleColumnDescription(int c);
55:
56: void setAccessibleColumnDescription(int c, Accessible a);
57:
58: boolean isAccessibleSelected(int r, int c);
59:
60: boolean isAccessibleRowSelected(int r);
61:
62: boolean isAccessibleColumnSelected(int c);
63:
64: int[] getSelectedAccessibleRows();
65:
66: int[] getSelectedAccessibleColumns();
67: }
|