Top Description Methods
javax.accessibility

public Interface AccessibleTable

Known Direct Subinterfaces
javax.accessibility.AccessibleExtendedTable
Known Direct Implementers
javax.swing.JTable.AccessibleJTable.AccessibleTableHeader, javax.swing.text.html.AccessibleHTML.TableElementInfo.TableAccessibleContext, javax.swing.text.html.AccessibleHTML.TableElementInfo.TableAccessibleContext.AccessibleHeadersTable

Class AccessibleTable describes a user-interface component that presents data in a two-dimensional table format.
Author
Lynn Monsanto
Since
1.3

Method Summary

Modifier and TypeMethod and Description
public Accessible

Returns:

the Accessible at the specified row and column
getAccessibleAt
(int
zero-based row of the table
r
,
int
zero-based column of the table
c
)

Returns the Accessible at a specified row and column in the table.

public Accessible

Returns:

the caption for the table
getAccessibleCaption
()

Returns the caption for the table.

public int

Returns:

the number of columns in the table
getAccessibleColumnCount
()

Returns the number of columns in the table.

public Accessible

Returns:

the text description of the column
getAccessibleColumnDescription
(int
zero-based column of the table
c
)

Returns the description text of the specified column in the table.

public int

Returns:

the number of columns occupied by the Accessible at a given specified row and column
getAccessibleColumnExtentAt
(int
zero-based row of the table
r
,
int
zero-based column of the table
c
)

Returns the number of columns occupied by the Accessible at a specified row and column in the table.

public AccessibleTable

Returns:

an AccessibleTable representing the column headers
getAccessibleColumnHeader
()

Returns the column headers as an AccessibleTable.

public int

Returns:

the number of rows in the table
getAccessibleRowCount
()

Returns the number of rows in the table.

public Accessible

Returns:

the description of the row
getAccessibleRowDescription
(int
zero-based row of the table
r
)

Returns the description of the specified row in the table.

public int

Returns:

the number of rows occupied by the Accessible at a given specified (row, column)
getAccessibleRowExtentAt
(int
zero-based row of the table
r
,
int
zero-based column of the table
c
)

Returns the number of rows occupied by the Accessible at a specified row and column in the table.

public AccessibleTable

Returns:

an AccessibleTable representing the row headers
getAccessibleRowHeader
()

Returns the row headers as an AccessibleTable.

public Accessible

Returns:

the summary description of the table
getAccessibleSummary
()

Returns the summary description of the table.

public int[]

Returns:

an array of selected columns where each element is a zero-based column of the table
getSelectedAccessibleColumns
()

Returns the selected columns in a table.

public int[]

Returns:

an array of selected rows where each element is a zero-based row of the table
getSelectedAccessibleRows
()

Returns the selected rows in a table.

public boolean

Returns:

the boolean value true if the specified column is selected. Otherwise, false.
isAccessibleColumnSelected
(int
zero-based column of the table
c
)

Returns a boolean value indicating whether the specified column is selected.

public boolean

Returns:

the boolean value true if the specified row is selected. Otherwise, false.
isAccessibleRowSelected
(int
zero-based row of the table
r
)

Returns a boolean value indicating whether the specified row is selected.

public boolean

Returns:

the boolean value true if the accessible at the row and column is selected. Otherwise, the boolean value false
isAccessibleSelected
(int
zero-based row of the table
r
,
int
zero-based column of the table
c
)

Returns a boolean value indicating whether the accessible at a specified row and column is selected.

public void
setAccessibleCaption(Accessible
the caption for the table
a
)

Sets the caption for the table.

public void
setAccessibleColumnDescription(int
zero-based column of the table
c
,
Accessible
the text description of the column
a
)

Sets the description text of the specified column in the table.

public void
setAccessibleColumnHeader(AccessibleTable
an AccessibleTable representing the column headers
table
)

Sets the column headers.

public void
setAccessibleRowDescription(int
zero-based row of the table
r
,
Accessible
the description of the row
a
)

Sets the description text of the specified row of the table.

public void
setAccessibleRowHeader(AccessibleTable
an AccessibleTable representing the row headers
table
)

Sets the row headers.

public void
setAccessibleSummary(Accessible
the summary description of the table
a
)

Sets the summary description of the table.

Method Detail

getAccessibleAtback to summary
public Accessible getAccessibleAt(int r, int c)

Returns the Accessible at a specified row and column in the table.

Parameters
r:int

zero-based row of the table

c:int

zero-based column of the table

Returns:Accessible

the Accessible at the specified row and column

getAccessibleCaptionback to summary
public Accessible getAccessibleCaption()

Returns the caption for the table.

Returns:Accessible

the caption for the table

getAccessibleColumnCountback to summary
public int getAccessibleColumnCount()

Returns the number of columns in the table.

Returns:int

the number of columns in the table

getAccessibleColumnDescriptionback to summary
public Accessible getAccessibleColumnDescription(int c)

Returns the description text of the specified column in the table.

Parameters
c:int

zero-based column of the table

Returns:Accessible

the text description of the column

getAccessibleColumnExtentAtback to summary
public int getAccessibleColumnExtentAt(int r, int c)

Returns the number of columns occupied by the Accessible at a specified row and column in the table.

Parameters
r:int

zero-based row of the table

c:int

zero-based column of the table

Returns:int

the number of columns occupied by the Accessible at a given specified row and column

getAccessibleColumnHeaderback to summary
public AccessibleTable getAccessibleColumnHeader()

Returns the column headers as an AccessibleTable.

Returns:AccessibleTable

an AccessibleTable representing the column headers

getAccessibleRowCountback to summary
public int getAccessibleRowCount()

Returns the number of rows in the table.

Returns:int

the number of rows in the table

getAccessibleRowDescriptionback to summary
public Accessible getAccessibleRowDescription(int r)

Returns the description of the specified row in the table.

Parameters
r:int

zero-based row of the table

Returns:Accessible

the description of the row

getAccessibleRowExtentAtback to summary
public int getAccessibleRowExtentAt(int r, int c)

Returns the number of rows occupied by the Accessible at a specified row and column in the table.

Parameters
r:int

zero-based row of the table

c:int

zero-based column of the table

Returns:int

the number of rows occupied by the Accessible at a given specified (row, column)

getAccessibleRowHeaderback to summary
public AccessibleTable getAccessibleRowHeader()

Returns the row headers as an AccessibleTable.

Returns:AccessibleTable

an AccessibleTable representing the row headers

getAccessibleSummaryback to summary
public Accessible getAccessibleSummary()

Returns the summary description of the table.

Returns:Accessible

the summary description of the table

getSelectedAccessibleColumnsback to summary
public int[] getSelectedAccessibleColumns()

Returns the selected columns in a table.

Returns:int[]

an array of selected columns where each element is a zero-based column of the table

getSelectedAccessibleRowsback to summary
public int[] getSelectedAccessibleRows()

Returns the selected rows in a table.

Returns:int[]

an array of selected rows where each element is a zero-based row of the table

isAccessibleColumnSelectedback to summary
public boolean isAccessibleColumnSelected(int c)

Returns a boolean value indicating whether the specified column is selected.

Parameters
c:int

zero-based column of the table

Returns:boolean

the boolean value true if the specified column is selected. Otherwise, false.

isAccessibleRowSelectedback to summary
public boolean isAccessibleRowSelected(int r)

Returns a boolean value indicating whether the specified row is selected.

Parameters
r:int

zero-based row of the table

Returns:boolean

the boolean value true if the specified row is selected. Otherwise, false.

isAccessibleSelectedback to summary
public boolean isAccessibleSelected(int r, int c)

Returns a boolean value indicating whether the accessible at a specified row and column is selected.

Parameters
r:int

zero-based row of the table

c:int

zero-based column of the table

Returns:boolean

the boolean value true if the accessible at the row and column is selected. Otherwise, the boolean value false

setAccessibleCaptionback to summary
public void setAccessibleCaption(Accessible a)

Sets the caption for the table.

Parameters
a:Accessible

the caption for the table

setAccessibleColumnDescriptionback to summary
public void setAccessibleColumnDescription(int c, Accessible a)

Sets the description text of the specified column in the table.

Parameters
c:int

zero-based column of the table

a:Accessible

the text description of the column

setAccessibleColumnHeaderback to summary
public void setAccessibleColumnHeader(AccessibleTable table)

Sets the column headers.

Parameters
table:AccessibleTable

an AccessibleTable representing the column headers

setAccessibleRowDescriptionback to summary
public void setAccessibleRowDescription(int r, Accessible a)

Sets the description text of the specified row of the table.

Parameters
r:int

zero-based row of the table

a:Accessible

the description of the row

setAccessibleRowHeaderback to summary
public void setAccessibleRowHeader(AccessibleTable table)

Sets the row headers.

Parameters
table:AccessibleTable

an AccessibleTable representing the row headers

setAccessibleSummaryback to summary
public void setAccessibleSummary(Accessible a)

Sets the summary description of the table.

Parameters
a:Accessible

the summary description of the table