Support class that allows to iterate over hits on table elements or subregions of table elements.
Inheritance Hierarchy
Members
No filters for this type
Constructors
Create a new instance for a specific table instance that uses the order specified by tableRenderingOrder to determine the order of the hit test results.
Create a new instance for a specific table instance that uses the order specified by
tableRenderingOrder to determine the order of the hit test results.Parameters
- table: ITable
- The table to use
- tableRenderingOrder: TableRenderingOrder
- The hit test order. This determines the order in which stripes are returned by enumerateHits
Properties
Gets the hit test order that is currently used by this instance
Gets the hit test order that is currently used by this instance
readonlyfinal
Methods
Return a collection of hits at location.
Return a collection of hits at
location.This implementation returns the hits in the following order:
- First all IRows or IColumns at the given location, in the order specified by the tableRenderingOrder property.
- For each stripe type, the stripes are returned in bottom-up order, i.e. children are returned before their parents.
- For each stripe, the subregions are returned in the order NEAR_BORDER, FAR_BORDER, LEADING_HEADER, TRAILING_HEADER, STRIPE, e.g. a header hit is always returned before a hit on the whole stripe.
final
Parameters
- context: IInputModeContext
- The input mode context to use.
- location: Point
- The location in absolute coordinates.
- node: INode
- The node where the table instance is currently bound to.
Return Value
- IEnumerable<StripeSubregion>
- A collection of StripeSubregions at
location