-
- All Known Subinterfaces:
- AccessibleExtendedTable
- All Known Implementing Classes:
- JTable.AccessibleJTable
public interface AccessibleTable
Class AccessibleTable describes a user-interface component that presents data in a two-dimensional table format.- Since:
- 1.3
-
-
Method Summary
Methods Modifier and Type Method and Description Accessible
getAccessibleAt(int r, int c)
Returns the Accessible at a specified row and column in the table.Accessible
getAccessibleCaption()
Returns the caption for the table.int
getAccessibleColumnCount()
Returns the number of columns in the table.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.AccessibleTable
getAccessibleColumnHeader()
Returns the column headers as an AccessibleTable.int
getAccessibleRowCount()
Returns the number of rows in the table.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.AccessibleTable
getAccessibleRowHeader()
Returns the row headers as an AccessibleTable.Accessible
getAccessibleSummary()
Returns the summary description of the table.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(Accessible a)
Sets the caption for the table.void
setAccessibleColumnDescription(int c, Accessible a)
Sets the description text of the specified column in the table.void
setAccessibleColumnHeader(AccessibleTable table)
Sets the column headers.void
setAccessibleRowDescription(int r, Accessible a)
Sets the description text of the specified row of the table.void
setAccessibleRowHeader(AccessibleTable table)
Sets the row headers.void
setAccessibleSummary(Accessible a)
Sets the summary description of the table
-
-
-
Method Detail
-
getAccessibleCaption
Accessible getAccessibleCaption()
Returns the caption for the table.- Returns:
- the caption for the table
-
setAccessibleCaption
void setAccessibleCaption(Accessible a)
Sets the caption for the table.- Parameters:
a
- the caption for the table
-
getAccessibleSummary
Accessible getAccessibleSummary()
Returns the summary description of the table.- Returns:
- the summary description of the table
-
setAccessibleSummary
void setAccessibleSummary(Accessible a)
Sets the summary description of the table- Parameters:
a
- the summary description of the table
-
getAccessibleRowCount
int getAccessibleRowCount()
Returns the number of rows in the table.- Returns:
- the number of rows in the table
-
getAccessibleColumnCount
int getAccessibleColumnCount()
Returns the number of columns in the table.- Returns:
- the number of columns in the table
-
getAccessibleAt
Accessible getAccessibleAt(int r, int c)
Returns the Accessible at a specified row and column in the table.- Parameters:
r
- zero-based row of the tablec
- zero-based column of the table- Returns:
- the Accessible at the specified row and column
-
getAccessibleRowExtentAt
int getAccessibleRowExtentAt(int r, int c)
Returns the number of rows occupied by the Accessible at a specified row and column in the table.- Returns:
- the number of rows occupied by the Accessible at a given specified (row, column)
-
getAccessibleColumnExtentAt
int getAccessibleColumnExtentAt(int r, int c)
Returns the number of columns occupied by the Accessible at a specified row and column in the table.- Returns:
- the number of columns occupied by the Accessible at a given specified row and column
-
getAccessibleRowHeader
AccessibleTable getAccessibleRowHeader()
Returns the row headers as an AccessibleTable.- Returns:
- an AccessibleTable representing the row headers
-
setAccessibleRowHeader
void setAccessibleRowHeader(AccessibleTable table)
Sets the row headers.- Parameters:
table
- an AccessibleTable representing the row headers
-
getAccessibleColumnHeader
AccessibleTable getAccessibleColumnHeader()
Returns the column headers as an AccessibleTable.- Returns:
- an AccessibleTable representing the column headers
-
setAccessibleColumnHeader
void setAccessibleColumnHeader(AccessibleTable table)
Sets the column headers.- Parameters:
table
- an AccessibleTable representing the column headers
-
getAccessibleRowDescription
Accessible getAccessibleRowDescription(int r)
Returns the description of the specified row in the table.- Parameters:
r
- zero-based row of the table- Returns:
- the description of the row
-
setAccessibleRowDescription
void setAccessibleRowDescription(int r, Accessible a)
Sets the description text of the specified row of the table.- Parameters:
r
- zero-based row of the tablea
- the description of the row
-
getAccessibleColumnDescription
Accessible getAccessibleColumnDescription(int c)
Returns the description text of the specified column in the table.- Parameters:
c
- zero-based column of the table- Returns:
- the text description of the column
-
setAccessibleColumnDescription
void setAccessibleColumnDescription(int c, Accessible a)
Sets the description text of the specified column in the table.- Parameters:
c
- zero-based column of the tablea
- the text description of the column
-
isAccessibleSelected
boolean isAccessibleSelected(int r, int c)
Returns a boolean value indicating whether the accessible at a specified row and column is selected.- Parameters:
r
- zero-based row of the tablec
- zero-based column of the table- Returns:
- the boolean value true if the accessible at the row and column is selected. Otherwise, the boolean value false
-
isAccessibleRowSelected
boolean isAccessibleRowSelected(int r)
Returns a boolean value indicating whether the specified row is selected.- Parameters:
r
- zero-based row of the table- Returns:
- the boolean value true if the specified row is selected. Otherwise, false.
-
isAccessibleColumnSelected
boolean isAccessibleColumnSelected(int c)
Returns a boolean value indicating whether the specified column is selected.- Parameters:
c
- zero-based column of the table- Returns:
- the boolean value true if the specified column is selected. Otherwise, false.
-
getSelectedAccessibleRows
int[] getSelectedAccessibleRows()
Returns the selected rows in a table.- Returns:
- an array of selected rows where each element is a zero-based row of the table
-
getSelectedAccessibleColumns
int[] getSelectedAccessibleColumns()
Returns the selected columns in a table.- Returns:
- an array of selected columns where each element is a zero-based column of the table
-
-
Nederlandse vertaling
U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.
Bij voorbaat dank.
Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-javax/accessibility/accessibletable.html
De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.
Referenties
Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.