Class SpecialChargesController


  • public class SpecialChargesController
    extends GridTabController<SpecialChargeLineItem>
    Controller for the Special Charges tab. Renders a grid of special charge line items. Items with no default cost display an editable price field; items with a default cost display a read-only price label. Items requiring a description also render a text field.
    • Constructor Detail

      • SpecialChargesController

        public SpecialChargesController()
    • Method Detail

      • addItemRow

        protected javafx.scene.control.CheckBox addItemRow​(SpecialChargeLineItem item,
                                                           int row)
        Builds a row for the given special charge line item. Items without a default cost render an editable price field; others render a read-only label. Items marked as requiring a description also render a description text field.
        Specified by:
        addItemRow in class GridTabController<SpecialChargeLineItem>
        Parameters:
        item - the special charge line item to render
        row - the grid row index
        Returns:
        the CheckBox created for this row