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

A textfield model that allows only ASCII chars, without spaces

. More...

#include <AsciiNoSpaceTextFieldModel.hpp>

Inheritance diagram for sf::ui::AsciiNoSpaceTextFieldModel:
sf::ui::TextFieldModel

Public Member Functions

 AsciiNoSpaceTextFieldModel ()
 A textfield model which allow all ASCII characters i.e all characters between 32 (' ' exclude) 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, without spaces

.

Definition at line 28 of file AsciiNoSpaceTextFieldModel.hpp.

Constructor & Destructor Documentation

sf::ui::AsciiNoSpaceTextFieldModel::AsciiNoSpaceTextFieldModel ( )

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

Member Function Documentation

virtual bool sf::ui::AsciiNoSpaceTextFieldModel::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: