openshot-audio  0.1.4
Public Member Functions | List of all members
juce::TextEditor::InputFilter Class Referenceabstract

#include <juce_gui_basics.h>

Inheritance diagram for juce::TextEditor::InputFilter:
juce::TextEditor::LengthAndCharacterRestriction

Public Member Functions

 InputFilter ()
 
virtual ~InputFilter ()
 
virtual String filterNewText (TextEditor &, const String &newInput)=0
 

Detailed Description

Base class for input filters that can be applied to a TextEditor to restrict the text that can be entered.

Constructor & Destructor Documentation

◆ InputFilter()

juce::TextEditor::InputFilter::InputFilter ( )
inline

◆ ~InputFilter()

virtual juce::TextEditor::InputFilter::~InputFilter ( )
inlinevirtual

Member Function Documentation

◆ filterNewText()

virtual String juce::TextEditor::InputFilter::filterNewText ( TextEditor ,
const String newInput 
)
pure virtual

This method is called whenever text is entered into the editor. An implementation of this class should should check the input string, and return an edited version of it that should be used.


The documentation for this class was generated from the following file: