Uses of Enum Class
io.github.jbastgen.stemma.app.theme.Theme
Packages that use Theme
Package
Description
Persistent settings of the application and where they live: the portable configuration folder, the global and the per-user
view settings, the library of repositories, branding and the log level.
The commit graph: lane assignment (
GraphLayout), the colours and rules of the
lanes, and the scrolling list that draws the history.Look of the application: light and dark theme, the accent colour, toolbar colours, the follow-the-system theme and the
icons.
The main window and the views a user works in: the shell with its tabs, the library, the repository view, the welcome screen
and the application menu.
Showing changes and file content: unified and side-by-side diffs, image comparison, source code with line numbers and the
blame column.
The larger panels of a repository view: the file browser, the overview and the statistics, the stash list and the Cowork
view.
Small reusable controls and helpers for the views: factories, forms, pop-overs, grids, selectable text and split-pane
memory.
-
Uses of Theme in io.github.jbastgen.stemma.app.config
Fields in io.github.jbastgen.stemma.app.config declared as ThemeMethods in io.github.jbastgen.stemma.app.config that return ThemeModifier and TypeMethodDescriptionViewSettings.effectiveTheme()The theme that is shown: the one of the operating system while "Automatic" is on and the system tells, elseViewSettings.theme. -
Uses of Theme in io.github.jbastgen.stemma.app.graph
Methods in io.github.jbastgen.stemma.app.graph with parameters of type ThemeModifier and TypeMethodDescriptionThe colours of all rows.static voidGraphPane.paint(javafx.scene.canvas.GraphicsContext g, List<GraphLayout.Row> rows, List<GraphPane.RowInfo> infos, List<GraphColors.RowColors> colors, boolean curved, Theme theme, int from, int to) Paints the rowsfrom(inclusive) toto(exclusive); rowfromstarts at y = 0. -
Uses of Theme in io.github.jbastgen.stemma.app.theme
Methods in io.github.jbastgen.stemma.app.theme that return ThemeModifier and TypeMethodDescriptionstatic ThemeThe theme with this key, or the fallback.Theme.toggled()The other theme.static ThemeReturns the enum constant of this class with the specified name.static Theme[]Theme.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.github.jbastgen.stemma.app.theme that return types with arguments of type ThemeModifier and TypeMethodDescriptionSystemTheme.current()The theme the system is set to as of the last reading; empty when the system does not say.Methods in io.github.jbastgen.stemma.app.theme with parameters of type ThemeModifier and TypeMethodDescriptionstatic StringTheme.accentStyle(Theme theme) The declarations that put the accent into a window of this theme; empty when there is no accent.static Optional<int[]> The colour as it is used in the theme: the chosen one, darker (light theme) or lighter (dark theme) if its contrast is too low.static voidApplies the base style sheet and the one of the theme to the scene, and the accent colour to its root.static doubleAccentColor.contrastOf(String hex, Theme theme) The contrast the colour as chosen has with the background of the theme (before any adjustment).static ThemeThe theme with this key, or the fallback. -
Uses of Theme in io.github.jbastgen.stemma.app.ui
Methods in io.github.jbastgen.stemma.app.ui that return Theme -
Uses of Theme in io.github.jbastgen.stemma.app.ui.diff
Constructors in io.github.jbastgen.stemma.app.ui.diff with parameters of type Theme -
Uses of Theme in io.github.jbastgen.stemma.app.ui.view
Methods in io.github.jbastgen.stemma.app.ui.view that return ThemeModifier and TypeMethodDescriptiondefault ThemeFilesView.Source.theme()The colours of the theme, for the age of the lines.Constructors in io.github.jbastgen.stemma.app.ui.view with parameters of type ThemeModifierConstructorDescriptionStatisticsView(String repoName, List<io.github.jbastgen.stemma.git.api.CommitStat> stats, UserBook users, boolean truncated, Theme theme, javafx.stage.Window owner) StatisticsView(String repoName, List<io.github.jbastgen.stemma.git.api.CommitStat> stats, UserBook users, boolean truncated, Theme theme, javafx.stage.Window owner, Avatars avatars, Avatars.Repo githubRepo) -
Uses of Theme in io.github.jbastgen.stemma.app.ui.widget
Methods in io.github.jbastgen.stemma.app.ui.widget with parameters of type ThemeModifier and TypeMethodDescriptionstatic javafx.stage.PopupPop.show(javafx.scene.Node anchor, javafx.scene.layout.Region content, Theme theme, double dx, double dy, Runnable onHidden) Shows the content in a pop-over below the node, with the theme applied; it closes by itself when the user clicks elsewhere.static javafx.stage.PopupPop.showAt(javafx.scene.Node owner, javafx.scene.layout.Region content, Theme theme, double x, double y, Runnable onHidden) Shows the content with its top left corner at a point of the screen (the place of the mouse pointer), moved so that it stays on the screen: left of the point when there is no room on the right, above it when there is none below.