Package avail.anvil.settings

Types

Link copied to clipboard
class EditShortcutDialog(    settingsView: SettingsView,     parent: ShortcutsPanel,     shortcut: KeyboardShortcut) : JFrame

A dialog that permits the changing of the key mappings of a KeyboardShortcut.

Link copied to clipboard
class GlobalSettingsSelection(settingsView: SettingsView, workbench: AvailWorkbench) : SettingPanelSelection

The SettingPanelSelection used for accessing global settings from the AvailHome directory.

Link copied to clipboard
data class KeyboardShortcutOverride(    val category: KeyboardShortcutCategory,     var key: Key,     val actionMapKey: String) : BaseKeyboardShortcut, JSONFriendly

A user-defined override for a BaseKeyboardShortcut.

Link copied to clipboard
abstract class SettingPanelSelection(labelText: String, settingsView: SettingsView) : JPanel

A JPanel that represents a settings category.

Link copied to clipboard
sealed class Settings : JSONFriendly

The abstract parent type of all user-editable Anvil settings.

Link copied to clipboard
enum SettingsCategory : Enum<SettingsCategory>

The different settings categories that can be changed.

Link copied to clipboard
sealed class SettingsType<Type : Settings>

Describes the type of a Settings.

Link copied to clipboard
class SettingsView(    globalSettings: GlobalEnvironmentSettings,     parent: JFrame,     latestVersion: String = "",     onUpdate: (Set<SettingsCategory>) -> Unit = {}) : JDialog

A JFrame that displays configurable global settings.

Link copied to clipboard
data class ShortcutSettings(val keyboardShortcutOverrides: MutableMap<String, KeyboardShortcutOverride> = mutableMapOf()) : Settings
Link copied to clipboard
class ShortcutsPanel(category: KeyboardShortcutCategory, settingsView: SettingsView) : JPanel

A JPanel that displays all the shortcuts.

Link copied to clipboard
class ShortcutsSelection(settingsView: SettingsView) : SettingPanelSelection

The SettingPanelSelection used for showing the shortcut settings.

Link copied to clipboard
class StandardLibrariesSelection(settingsView: SettingsView) : SettingPanelSelection

The SettingPanelSelection used for showing other settings.

Link copied to clipboard
class TemplateEditPanel(val parentPanel: TemplatesPanel, initialTemplateRow: TemplateRow) : JPanel

A JPanel that displays all the templates for a specific AvailProjectRoot.

Link copied to clipboard
class TemplateExpansionsManager(val workbench: AvailWorkbench) : JFrame

The JFrame that presents the different template expansions.

Link copied to clipboard
class TemplateRow(    var templateKey: String,     val expansion: TemplateExpansion,     val templateGroup: TemplateGroup,     val workbench: AvailWorkbench,     val parentPanel: TemplatesPanel,     val saveAction: () -> Unit) : JPanel

The JPanel that displays a template.

Link copied to clipboard
open class TemplatesPanel(    val workbench: AvailWorkbench,     val templateGroup: TemplateGroup,     val saveAction: () -> Unit) : JPanel

A JPanel that displays all the project-level templates for an AvailProject.