|
Gin
|
Property component for selecting files with a browse button. More...
#include <gin_propertycomponents.h>
Public Member Functions | |
| FilePropertyComponent (const juce::Value &valueToControl, const juce::String &propertyName, const juce::String &title_="Open", const juce::String pattern_="*.*") | |
| void | refresh () override |
Public Member Functions inherited from PropertyComponentBase | |
| PropertyComponentBase (const juce::Value &valueToControl, const juce::String &propertyName) | |
| juce::Value & | getValueObject () |
Additional Inherited Members | |
Protected Member Functions inherited from PropertyComponentBase | |
| void | valueChanged (juce::Value &) override |
Protected Attributes inherited from PropertyComponentBase | |
| juce::Value | value |
Property component for selecting files with a browse button.
FilePropertyComponent provides a file path editor with browse and clear buttons. It displays the selected file path and allows users to browse for files using a native file chooser dialog.
Usage:
| FilePropertyComponent::FilePropertyComponent | ( | const juce::Value & | valueToControl, |
| const juce::String & | propertyName, | ||
| const juce::String & | title_ = "Open", |
||
| const juce::String | pattern_ = "*.*" |
||
| ) |
References addAndMakeVisible(), and PropertyComponentBase::value.
|
override |
References PropertyComponentBase::value.