Package qupath.lib.gui.panes
Class PreferencePane
java.lang.Object
qupath.lib.gui.panes.PreferencePane
QuPath's preference pane, giving a means to modify many of the properties within PathPrefs.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription<T> voidaddChoicePropertyPreference(Property<T> prop, ObservableList<T> choices, Class<? extends T> cls, String name, String category, String description) Deprecated.<T> voidaddChoicePropertyPreference(Property<T> prop, ObservableList<T> choices, Class<? extends T> cls, String name, String category, String description, boolean makeSearchable) Deprecated.usePropertyItemBuilderinsteadvoidaddColorPropertyPreference(IntegerProperty prop, String name, String category, String description) Deprecated.usePropertyItemBuilderinsteadvoidaddDirectoryPropertyPreference(Property<String> prop, String name, String category, String description) Deprecated.usePropertyItemBuilderinstead<T> voidaddPropertyPreference(Property<T> prop, Class<? extends T> cls, String name, String category, String description) Deprecated.usePropertyItemBuilderinsteadstatic <T> org.controlsfx.control.PropertySheet.ItemcreatePropertySheetItem(Property<T> property, Class<? extends T> cls) Deprecated.usePropertyItemBuilderinsteadgetPane()Get a pane to display.org.controlsfx.control.PropertySheetGet the property sheet for thisPreferencePane.voidRequest that all the property editors are regenerated.
- 
Constructor Details- 
PreferencePanepublic PreferencePane()
 
- 
- 
Method Details- 
getPropertySheetpublic org.controlsfx.control.PropertySheet getPropertySheet()Get the property sheet for thisPreferencePane. This is aNodethat may be added to a scene for display.- Returns:
 
- 
getPaneGet a pane to display. This includes the property sheet, and additional information that should be displayed to the user.- Returns:
- Since:
- v0.5.0
 
- 
refreshAllEditorspublic void refreshAllEditors()Request that all the property editors are regenerated. This is useful if the Locale has changed, and so the text may need to be updated.
- 
addPropertyPreference@Deprecated public <T> void addPropertyPreference(Property<T> prop, Class<? extends T> cls, String name, String category, String description) Deprecated.usePropertyItemBuilderinsteadAdd a new preference based on a specified Property.- Parameters:
- prop-
- cls-
- name-
- category-
- description-
 
- 
addColorPropertyPreference@Deprecated public void addColorPropertyPreference(IntegerProperty prop, String name, String category, String description) Deprecated.usePropertyItemBuilderinsteadAdd a new color preference based on a specified IntegerProperty (storing a packed RGBA value).- Parameters:
- prop-
- name-
- category-
- description-
 
- 
addDirectoryPropertyPreference@Deprecated public void addDirectoryPropertyPreference(Property<String> prop, String name, String category, String description) Deprecated.usePropertyItemBuilderinsteadAdd a new directory preference based on a specified StringProperty.- Parameters:
- prop-
- name-
- category-
- description-
 
- 
addChoicePropertyPreference@Deprecated public <T> void addChoicePropertyPreference(Property<T> prop, ObservableList<T> choices, Class<? extends T> cls, String name, String category, String description) Deprecated.usePropertyItemBuilderinsteadAdd a new choice preference, to select from a list of possibilities.- Parameters:
- prop-
- choices-
- cls-
- name-
- category-
- description-
 
- 
addChoicePropertyPreference@Deprecated public <T> void addChoicePropertyPreference(Property<T> prop, ObservableList<T> choices, Class<? extends T> cls, String name, String category, String description, boolean makeSearchable) Deprecated.usePropertyItemBuilderinsteadAdd a new choice preference, to select from an optionally searchable list of possibilities.- Parameters:
- prop-
- choices-
- cls-
- name-
- category-
- description-
- makeSearchable- make the choice item's editor searchable (useful for long lists)
 
- 
createPropertySheetItem@Deprecated public static <T> org.controlsfx.control.PropertySheet.Item createPropertySheetItem(Property<T> property, Class<? extends T> cls) Deprecated.usePropertyItemBuilderinsteadCreate a defaultPropertySheet.Itemfor a generic property.- Type Parameters:
- T- type of the property
- Parameters:
- property- the property
- cls- the property type
- Returns:
- a new PropertySheet.Item
 
 
- 
PropertyItemBuilderinstead