Interface SettingsPanelBuilder
public interface SettingsPanelBuilder
Used to build an instance of
SettingsPanelWithData
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Used to build the settings panel.static SettingsPanelBuilder
Used to obtain an instance of the SettingsPanelBuilder.withDescription
(String description) Sets the description to be displayed within Settings panel.withKeywords
(String... keywords) A set of keywords used by the Settings search function to help users find the Settings panel.withKeywords
(Collection<String> keywords) A set of keywords used by the Settings search function to help users find the Settings panel.withPersistence
(SettingsPanelPersistence persistence) Sets the type of data persistence.withSetting
(SettingsPanelSetting entry) Used to add aSettingsPanelSetting
to the Settings panel.withSettings
(SettingsPanelSetting... entries) Used to add multipleSettingsPanelSetting
to the Settings panel.Sets the title to be displayed within Settings panel.
-
Method Details
-
withPersistence
Sets the type of data persistence.- Parameters:
persistence
- type of data persistence.- Returns:
- instance of the builder.
-
withTitle
Sets the title to be displayed within Settings panel. If no title is set then the extension name will be used.- Parameters:
title
- the title.- Returns:
- instance of the builder.
-
withDescription
Sets the description to be displayed within Settings panel.- Parameters:
description
- the description.- Returns:
- instance of the builder.
-
withSetting
Used to add aSettingsPanelSetting
to the Settings panel.- Parameters:
entry
- the entry.- Returns:
- instance of the builder.
-
withSettings
Used to add multipleSettingsPanelSetting
to the Settings panel.- Parameters:
entries
- the entries.- Returns:
- instance of the builder.
-
withKeywords
A set of keywords used by the Settings search function to help users find the Settings panel.- Returns:
- instance of the builder.
-
withKeywords
A set of keywords used by the Settings search function to help users find the Settings panel.- Returns:
- instance of the builder.
-
build
-
settingsPanel
Used to obtain an instance of the SettingsPanelBuilder.- Returns:
- an instance of the SettingsPanelBuilder.
-