Class InstructionsTabController
- java.lang.Object
-
- com.palmer.billingstatementgenerator.views.controllers.BaseController
-
- com.palmer.billingstatementgenerator.views.controllers.InstructionsTabController
-
public class InstructionsTabController extends BaseController
Controller for the Instructions tab, displayed as the first tab in the application. Presents a welcome message, the Wright Funeral Home logo, and a step-by-step overview of the billing statement workflow. Provides a Get Started button that navigates the user to the Service Information tab.
-
-
Field Summary
-
Fields inherited from class com.palmer.billingstatementgenerator.views.controllers.BaseController
clearButton, DOLLAR_FORMATTER, nextButton
-
-
Constructor Summary
Constructors Constructor Description InstructionsTabController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.scene.control.ScrollPanebuildView(java.util.function.IntConsumer onNavigate)Builds the instructions tab view and returns it wrapped in aScrollPane.-
Methods inherited from class com.palmer.billingstatementgenerator.views.controllers.BaseController
bindIntegerTextField, buildCheckBox, buildPriceField, buildPriceLabel, buildTextField, clearAll, configTextFieldForInts, configureClearButton, hasInvalidSelections, onClearButtonSet, onHide, onNextButtonSet, onShow, refreshTotal, reset, setClearButton, setNextButton, wireTextFieldToCheckBox
-
-
-
-
Method Detail
-
buildView
public javafx.scene.control.ScrollPane buildView(java.util.function.IntConsumer onNavigate)
Builds the instructions tab view and returns it wrapped in aScrollPane.- Parameters:
onNavigate- anIntConsumerinvoked with a tab index when the user clicks a step card or the Get Started button- Returns:
- a
ScrollPanecontaining the full instructions layout
-
-