Public Member Functions | List of all members
sf::ui::AsciiTextFieldModel Class Reference

A textfield model that allows only ASCII chars

. More...

#include <AsciiTextFieldModel.hpp>

Inheritance diagram for sf::ui::AsciiTextFieldModel:
sf::ui::TextFieldModel

Public Member Functions

 AsciiTextFieldModel ()
 A textfield model which allow all ASCII characters i.e all characters between 32 (include) and 126 (include) as 127 is backspace. More...
 
virtual bool isCharAllowed (sf::Uint32 c) const
 

Detailed Description

A textfield model that allows only ASCII chars

.

Definition at line 28 of file AsciiTextFieldModel.hpp.

Constructor & Destructor Documentation

sf::ui::AsciiTextFieldModel::AsciiTextFieldModel ( )

A textfield model which allow all ASCII characters i.e all characters between 32 (include) and 126 (include) as 127 is backspace.

Member Function Documentation

virtual bool sf::ui::AsciiTextFieldModel::isCharAllowed ( sf::Uint32  c) const
virtual
Returns
if the given character is allowed for the text field
Parameters
cthe character to check

Implements sf::ui::TextFieldModel.


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