|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.accessibility.AccessibleContext javax.swing.text.html.AccessibleHTML.HTMLAccessibleContext javax.swing.text.html.AccessibleHTML.TableElementInfo.TableAccessibleContext
Nested Class Summary | |
protected class |
AccessibleHTML.TableElementInfo.TableAccessibleContext.AccessibleHeadersTable
|
Field Summary | |
private AccessibleHTML.TableElementInfo.TableAccessibleContext.AccessibleHeadersTable |
rowHeadersTable
|
Fields inherited from class javax.swing.text.html.AccessibleHTML.HTMLAccessibleContext |
elementInfo |
Fields inherited from class javax.accessibility.AccessibleContext |
ACCESSIBLE_ACTION_PROPERTY, ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY, ACCESSIBLE_CARET_PROPERTY, ACCESSIBLE_CHILD_PROPERTY, ACCESSIBLE_DESCRIPTION_PROPERTY, ACCESSIBLE_HYPERTEXT_OFFSET, ACCESSIBLE_NAME_PROPERTY, ACCESSIBLE_SELECTION_PROPERTY, ACCESSIBLE_STATE_PROPERTY, ACCESSIBLE_TABLE_CAPTION_CHANGED, ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED, ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED, ACCESSIBLE_TABLE_MODEL_CHANGED, ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED, ACCESSIBLE_TABLE_ROW_HEADER_CHANGED, ACCESSIBLE_TABLE_SUMMARY_CHANGED, ACCESSIBLE_TEXT_PROPERTY, ACCESSIBLE_VALUE_PROPERTY, ACCESSIBLE_VISIBLE_DATA_PROPERTY, accessibleDescription, accessibleName, accessibleParent |
Constructor Summary | |
AccessibleHTML.TableElementInfo.TableAccessibleContext(AccessibleHTML.ElementInfo elementInfo)
|
Method Summary | |
void |
addRowHeader(AccessibleHTML.TableElementInfo.TableCellElementInfo cellInfo,
int rowNumber)
|
javax.accessibility.Accessible |
getAccessibleAt(int r,
int c)
Returns the Accessible at a specified row and column in the table. |
javax.accessibility.Accessible |
getAccessibleCaption()
Returns the caption for the table. |
javax.accessibility.Accessible |
getAccessibleChild(int i)
Returns the specified Accessible child of the object. |
int |
getAccessibleChildrenCount()
Returns the number of accessible children of the object. |
int |
getAccessibleColumn(int index)
Returns the column number of an index in the table. |
int |
getAccessibleColumnCount()
Returns the number of columns in the table. |
javax.accessibility.Accessible |
getAccessibleColumnDescription(int c)
Returns the description text of the specified column in the table. |
int |
getAccessibleColumnExtentAt(int r,
int c)
Returns the number of columns occupied by the Accessible at a specified row and column in the table. |
javax.accessibility.AccessibleTable |
getAccessibleColumnHeader()
Returns the column headers as an AccessibleTable. |
String |
getAccessibleColumnHeader(int c)
Returns the column header at a column in a table. |
String |
getAccessibleDescription()
Gets the accessibleDescription property of this object. |
int |
getAccessibleIndex(int r,
int c)
|
int |
getAccessibleIndexInParent()
Gets the 0-based index of this object in its accessible parent. |
String |
getAccessibleName()
Gets the accessibleName property of this object. |
javax.accessibility.AccessibleRole |
getAccessibleRole()
Gets the role of this object. |
int |
getAccessibleRow(int index)
Returns the row number of an index in the table. |
int |
getAccessibleRowCount()
Returns the number of rows in the table. |
javax.accessibility.Accessible |
getAccessibleRowDescription(int r)
Returns the description of the specified row in the table. |
int |
getAccessibleRowExtentAt(int r,
int c)
Returns the number of rows occupied by the Accessible at a specified row and column in the table. |
javax.accessibility.AccessibleTable |
getAccessibleRowHeader()
Returns the row headers as an AccessibleTable. |
String |
getAccessibleRowHeader(int r)
Returns the row header at a row in a table. |
javax.accessibility.Accessible |
getAccessibleSummary()
Returns the summary description of the table. |
javax.accessibility.AccessibleTable |
getAccessibleTable()
|
int[] |
getSelectedAccessibleColumns()
Returns the selected columns in a table. |
int[] |
getSelectedAccessibleRows()
Returns the selected rows in a table. |
boolean |
isAccessibleColumnSelected(int c)
Returns a boolean value indicating whether the specified column is selected. |
boolean |
isAccessibleRowSelected(int r)
Returns a boolean value indicating whether the specified row is selected. |
boolean |
isAccessibleSelected(int r,
int c)
Returns a boolean value indicating whether the accessible at a specified row and column is selected. |
void |
setAccessibleCaption(javax.accessibility.Accessible a)
Sets the caption for the table. |
void |
setAccessibleColumnDescription(int c,
javax.accessibility.Accessible a)
Sets the description text of the specified column in the table. |
void |
setAccessibleColumnHeader(javax.accessibility.AccessibleTable table)
Sets the column headers. |
void |
setAccessibleRowDescription(int r,
javax.accessibility.Accessible a)
Sets the description text of the specified row of the table. |
void |
setAccessibleRowHeader(javax.accessibility.AccessibleTable table)
Sets the row headers. |
void |
setAccessibleSummary(javax.accessibility.Accessible a)
Sets the summary description of the table |
Methods inherited from class javax.swing.text.html.AccessibleHTML.HTMLAccessibleContext |
addFocusListener, contains, getAccessibleAt, getAccessibleComponent, getAccessibleContext, getAccessibleStateSet, getBackground, getBounds, getCursor, getFont, getFontMetrics, getForeground, getLocale, getLocation, getLocationOnScreen, getSize, isEnabled, isFocusTraversable, isShowing, isVisible, removeFocusListener, requestFocus, setBackground, setBounds, setCursor, setEnabled, setFont, setForeground, setLocation, setSize, setVisible |
Methods inherited from class javax.accessibility.AccessibleContext |
addPropertyChangeListener, firePropertyChange, getAccessibleAction, getAccessibleEditableText, getAccessibleIcon, getAccessibleParent, getAccessibleRelationSet, getAccessibleSelection, getAccessibleText, getAccessibleValue, removePropertyChangeListener, setAccessibleDescription, setAccessibleName, setAccessibleParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private AccessibleHTML.TableElementInfo.TableAccessibleContext.AccessibleHeadersTable rowHeadersTable
Constructor Detail |
public AccessibleHTML.TableElementInfo.TableAccessibleContext(AccessibleHTML.ElementInfo elementInfo)
Method Detail |
public String getAccessibleName()
AccessibleContext.setAccessibleName(java.lang.String)
public String getAccessibleDescription()
JEditorPane
instead (e.g. "plain/text", "html/text").
null
if this object does not have a descriptionAccessibleContext.setAccessibleName(java.lang.String)
public javax.accessibility.AccessibleRole getAccessibleRole()
Note that the AccessibleRole class is also extensible, so custom component developers can define their own AccessibleRole's if the set of predefined roles is inadequate.
AccessibleRole
public int getAccessibleIndexInParent()
getAccessibleIndexInParent
in class AccessibleHTML.HTMLAccessibleContext
AccessibleContext.getAccessibleParent()
,
getAccessibleChildrenCount()
public int getAccessibleChildrenCount()
getAccessibleChildrenCount
in class AccessibleHTML.HTMLAccessibleContext
public javax.accessibility.Accessible getAccessibleChild(int i)
getAccessibleChild
in class AccessibleHTML.HTMLAccessibleContext
i
- zero-based index of child
getAccessibleChildrenCount()
public javax.accessibility.AccessibleTable getAccessibleTable()
public javax.accessibility.Accessible getAccessibleCaption()
getAccessibleCaption
in interface javax.accessibility.AccessibleTable
public void setAccessibleCaption(javax.accessibility.Accessible a)
setAccessibleCaption
in interface javax.accessibility.AccessibleTable
a
- the caption for the tablepublic javax.accessibility.Accessible getAccessibleSummary()
getAccessibleSummary
in interface javax.accessibility.AccessibleTable
public void setAccessibleSummary(javax.accessibility.Accessible a)
setAccessibleSummary
in interface javax.accessibility.AccessibleTable
a
- the summary description of the tablepublic int getAccessibleRowCount()
getAccessibleRowCount
in interface javax.accessibility.AccessibleTable
public int getAccessibleColumnCount()
getAccessibleColumnCount
in interface javax.accessibility.AccessibleTable
public javax.accessibility.Accessible getAccessibleAt(int r, int c)
getAccessibleAt
in interface javax.accessibility.AccessibleTable
r
- zero-based row of the tablec
- zero-based column of the table
public int getAccessibleRowExtentAt(int r, int c)
getAccessibleRowExtentAt
in interface javax.accessibility.AccessibleTable
public int getAccessibleColumnExtentAt(int r, int c)
getAccessibleColumnExtentAt
in interface javax.accessibility.AccessibleTable
public javax.accessibility.AccessibleTable getAccessibleRowHeader()
getAccessibleRowHeader
in interface javax.accessibility.AccessibleTable
public void setAccessibleRowHeader(javax.accessibility.AccessibleTable table)
setAccessibleRowHeader
in interface javax.accessibility.AccessibleTable
table
- an AccessibleTable representing the
row headerspublic javax.accessibility.AccessibleTable getAccessibleColumnHeader()
getAccessibleColumnHeader
in interface javax.accessibility.AccessibleTable
public void setAccessibleColumnHeader(javax.accessibility.AccessibleTable table)
setAccessibleColumnHeader
in interface javax.accessibility.AccessibleTable
table
- an AccessibleTable representing the
column headerspublic javax.accessibility.Accessible getAccessibleRowDescription(int r)
getAccessibleRowDescription
in interface javax.accessibility.AccessibleTable
r
- zero-based row of the table
public void setAccessibleRowDescription(int r, javax.accessibility.Accessible a)
setAccessibleRowDescription
in interface javax.accessibility.AccessibleTable
r
- zero-based row of the tablea
- the description of the rowpublic javax.accessibility.Accessible getAccessibleColumnDescription(int c)
getAccessibleColumnDescription
in interface javax.accessibility.AccessibleTable
c
- zero-based column of the table
public void setAccessibleColumnDescription(int c, javax.accessibility.Accessible a)
setAccessibleColumnDescription
in interface javax.accessibility.AccessibleTable
c
- zero-based column of the tablea
- the text description of the columnpublic boolean isAccessibleSelected(int r, int c)
isAccessibleSelected
in interface javax.accessibility.AccessibleTable
r
- zero-based row of the tablec
- zero-based column of the table
public boolean isAccessibleRowSelected(int r)
isAccessibleRowSelected
in interface javax.accessibility.AccessibleTable
r
- zero-based row of the table
public boolean isAccessibleColumnSelected(int c)
isAccessibleColumnSelected
in interface javax.accessibility.AccessibleTable
public int[] getSelectedAccessibleRows()
getSelectedAccessibleRows
in interface javax.accessibility.AccessibleTable
public int[] getSelectedAccessibleColumns()
getSelectedAccessibleColumns
in interface javax.accessibility.AccessibleTable
public int getAccessibleRow(int index)
index
- the zero-based index in the table
public int getAccessibleColumn(int index)
index
- the zero-based index in the table
public int getAccessibleIndex(int r, int c)
public String getAccessibleRowHeader(int r)
r
- zero-based row of the table
public String getAccessibleColumnHeader(int c)
c
- zero-based column of the table
public void addRowHeader(AccessibleHTML.TableElementInfo.TableCellElementInfo cellInfo, int rowNumber)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |