Class CashAdvanceController


  • public class CashAdvanceController
    extends GridTabController<CashAdvanceLineItem>
    Controller for the Cash Advance Items tab. Renders a grid of cash advance line items, each with a provider text field and an editable amount field. Either field being populated will select the corresponding checkbox automatically.
    • Constructor Detail

      • CashAdvanceController

        public CashAdvanceController()
    • Method Detail

      • addItemRow

        protected javafx.scene.control.CheckBox addItemRow​(CashAdvanceLineItem item,
                                                           int row)
        Builds a row for the given cash advance line item, consisting of a checkbox, a provider text field, and an editable amount price field. Both the provider and amount fields are wired to auto-select the checkbox when populated.
        Specified by:
        addItemRow in class GridTabController<CashAdvanceLineItem>
        Parameters:
        item - the cash advance line item to render
        row - the grid row index
        Returns:
        the CheckBox created for this row