Class InfoDialog
java.lang.Object
io.github.jbastgen.stemma.app.ui.dialog.InfoDialog
About Stemma: version, the system it runs on (for bug reports), and the libraries it is built from.
-
Method Summary
Modifier and TypeMethodDescriptionstatic javafx.scene.NodebrandingBlock(Branding brand, Path configDir) The company data and the logo of the branding (feature 16) as a block for the About page; null when there is none.static DialogOverlaystatic DialogOverlaycreate(String gitBackend, int repositories, Runnable close, Runnable welcome, Runnable support, Runnable openLogFolder) static DialogOverlaycreate(String gitBackend, int repositories, Runnable close, Runnable welcome, Runnable support, Runnable openLogFolder, javafx.scene.Node branding) The About dialog: About, Libraries, Support and System information.static javafx.scene.control.TextAreaselectableText(String text, int rows) Text that can be selected with the mouse and copied in part: a read-only text area that looks like the other boxes.
-
Method Details
-
create
public static DialogOverlay create(String gitBackend, int repositories, Runnable close, Runnable welcome, Runnable support) - Parameters:
support- opens the support page, or null when the support link is switched off in the settings
-
create
public static DialogOverlay create(String gitBackend, int repositories, Runnable close, Runnable welcome, Runnable support, Runnable openLogFolder) - Parameters:
openLogFolder- shows the log folder in the file manager, or null when that is not available
-
brandingBlock
The company data and the logo of the branding (feature 16) as a block for the About page; null when there is none. -
create
public static DialogOverlay create(String gitBackend, int repositories, Runnable close, Runnable welcome, Runnable support, Runnable openLogFolder, javafx.scene.Node branding) The About dialog: About, Libraries, Support and System information.- Parameters:
gitBackend- the name of the Git backend in use, for the system informationrepositories- the number of repositories in the library
-
selectableText
Text that can be selected with the mouse and copied in part: a read-only text area that looks like the other boxes.
-