Module qupath.fx

Class FileEditor

java.lang.Object
org.controlsfx.property.editor.AbstractPropertyEditor<File,qupath.fx.prefs.controlsfx.editors.AbstractFileEditor.FileChoiceControl>
qupath.fx.prefs.controlsfx.editors.FileEditor
All Implemented Interfaces:
org.controlsfx.property.editor.PropertyEditor<File>

public class FileEditor extends org.controlsfx.property.editor.AbstractPropertyEditor<File,qupath.fx.prefs.controlsfx.editors.AbstractFileEditor.FileChoiceControl>
Editor for selecting directory paths. Appears as a text field with associated button to launch a directory chooser.
  • Constructor Summary

    Constructors
    Constructor
    Description
    FileEditor(org.controlsfx.control.PropertySheet.Item property)
     
    FileEditor(org.controlsfx.control.PropertySheet.Item property, Collection<? extends javafx.stage.FileChooser.ExtensionFilter> extensionFilters)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected javafx.beans.value.ObservableValue<File>
     
    void
    setValue(File value)
     

    Methods inherited from class org.controlsfx.property.editor.AbstractPropertyEditor

    getEditor, getProperty, getValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FileEditor

      public FileEditor(org.controlsfx.control.PropertySheet.Item property)
    • FileEditor

      public FileEditor(org.controlsfx.control.PropertySheet.Item property, Collection<? extends javafx.stage.FileChooser.ExtensionFilter> extensionFilters)
  • Method Details

    • setValue

      public void setValue(File value)
    • getObservableValue

      protected javafx.beans.value.ObservableValue<File> getObservableValue()
      Specified by:
      getObservableValue in class org.controlsfx.property.editor.AbstractPropertyEditor<File,qupath.fx.prefs.controlsfx.editors.AbstractFileEditor.FileChoiceControl>