Package limn.accessibility
Record Class TableFacet
java.lang.Object
java.lang.Record
limn.accessibility.TableFacet
- Record Components:
rowCount- how many data rows the model holds; the header row is not one of themcolumnCount- how many columns are shown
A grid of rows and columns over data: what a table publishes about its own shape.
Both counts are the model's numbers and not the tree's, for the reason
SelectionItemFacet gives: a table publishes only the rows it has realized, and a user
asking how big it is wants the data's answer. A bridge turns this into IGridProvider's
counts, accessibilityRowCount and accessibilityColumnCount, and the AT-SPI
Table interface's NRows and NColumns.
-
Constructor Summary
ConstructorsConstructorDescriptionTableFacet(int rowCount, int columnCount) Creates an instance of aTableFacetrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thecolumnCountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.introwCount()Returns the value of therowCountrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TableFacet
public TableFacet(int rowCount, int columnCount) Creates an instance of aTableFacetrecord class.- Parameters:
rowCount- the value for therowCountrecord componentcolumnCount- the value for thecolumnCountrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
rowCount
public int rowCount()Returns the value of therowCountrecord component.- Returns:
- the value of the
rowCountrecord component
-
columnCount
public int columnCount()Returns the value of thecolumnCountrecord component.- Returns:
- the value of the
columnCountrecord component
-