Free Touch Pricker
    Preparing search index...

    Class AbstractBlockAbstract

    Abstract class representing blocks of rows

    A block:

    • is initialised from a row
    • provides access to the last row in the block
    • recalculates that row if the initial row is changed
    • provides mechanisms for controlling how the last row is created
    • notifies any parent block whenever those mechanisms are actuated

    Blocks are designed to be aggregated into containers. Containers notify blocks of changes by setting a new initial row. Blocks notify containers of changes via a callback (receiveNotification).

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _initialRow: Row

    Initial row for the block

    _ownership?: BlockOwnership

    Ownership of this block

    Accessors

    • get rows(): number

      Number of rows in the block This doesn't take into account coming round part-way through

      Returns number

    Methods

    • Notifies the parent container

      Derived classes should call this whenever the last row changes.

      Returns void