Uses of Class
privbot.ui.ModernTheme.ModernButton
Packages that use ModernTheme.ModernButton
Package
Description
The Swing half of the PrivBot UI kit: the plugin sidebar, the shared theme and a few widgets.
-
Uses of ModernTheme.ModernButton in privbot.ui
Methods in privbot.ui that return ModernTheme.ModernButtonModifier and TypeMethodDescriptionPrivBotPanel.addActionButton(String text, Color color, ActionListener listener) Adds an action button to the button row.static ModernTheme.ModernButtonModernTheme.createDangerButton(String text) Red button for Stop and destructive actions.static ModernTheme.ModernButtonModernTheme.createGhostButton(String text) Transparent button that shows the card colour on hover.static ModernTheme.ModernButtonModernTheme.createPrimaryButton(String text) Primary action button (indigo).static ModernTheme.ModernButtonModernTheme.createSecondaryButton(String text) Secondary button on the card colour.static ModernTheme.ModernButtonModernTheme.createSuccessButton(String text) Green button with dark text, for Start/confirm actions.PrivBotPanel.installSettingsButton(Runnable openStudio) The standard settings button (PrivBotPanel.SETTINGS_LABEL), always the same label and colour.