-
Notifications
You must be signed in to change notification settings - Fork 1
AboutSectionController Class
Natalie L edited this page Dec 5, 2024
·
2 revisions
The AboutSectionController class is part of the controllers package
(package org.example.globalgoodsindex.controllers) .
It dynamically adds sections to the "About" page, including the description, acknowledgments, developers, feedback links, and footer. It utilizes various JavaFX components and layouts for organizing and styling the content.
- Used to lay out sections vertically. Each section (description, acknowledgment, developers, etc.) is added to a VBox container.
- Used for displaying and styling text, allowing for mixed text styles within a single block. For example, the description text with a styled part (italicized app name).
- Used for displaying textual content such as section titles and descriptions. It is used for titles, content, and footer labels. It also applies custom CSS classes for styling.
- Used within
TextFlowto display plain text. For example, it displays the content text for acknowledgment and footer sections.
- Used to create clickable links, for example, linking to the GitHub profiles of developers or external URLs like feedback surveys.
- Used for laying out the developer entries horizontally. It aligns the developer names with their corresponding GitHub links and icons.
- Displays images such as the GitHub logo for developer entries. It is used in conjunction with
Hyperlinkto create developer link entries.
- Used to set the alignment of components, e.g., aligning content or developer names centrally in an
HBox.
- Used to set the alignment of text in a
TextFlow, such as centering text in the feedback section.
- A method used to open external links (like GitHub or survey URLs) when a
Hyperlinkis clicked.