#include <WidgetTextInputSingleLine.h>


Public Member Functions | |
| WidgetTextInputSingleLine (ElementFormControl *parent) | |
| virtual void | SetValue (const Core::String &value) |
Protected Member Functions | |
| virtual bool | IsCharacterValid (Rocket::Core::word character) |
| virtual void | LineBreak () |
| Called when the user pressed enter. | |
| void | SanitiseValue (Core::String &value) |
| Strips all and characters from the string. | |
| void Rocket::Controls::WidgetTextInputSingleLine::SetValue | ( | const Core::String & | value | ) | [virtual] |
Sets the value of the text field. The value will be stripped of end-lines.
| value[in] | The new value to set on the text field. |
Reimplemented from Rocket::Controls::WidgetTextInput.
Reimplemented in Rocket::Controls::WidgetTextInputSingleLinePassword.
| bool Rocket::Controls::WidgetTextInputSingleLine::IsCharacterValid | ( | Rocket::Core::word | character | ) | [protected, virtual] |
Returns true if the given character is permitted in the input field, false if not.
| [in] | character | The character to validate. |
Implements Rocket::Controls::WidgetTextInput.