TextInputEvent
-
class
TextInputEvent: public HPS::Event The TextInputEvent class is the event that is generated when an application receives text input
Public Functions
-
inline virtual char const *
ClassName() const override
-
inline virtual Event *
Clone() const override Allocates and returns a copy of this TextInputEvent.
Returns: A copy of this TextInputEvent.
-
inline virtual bool
Equals(TextInputEvent const &in_that) const Check if the source object is equivalent to this object.
Parameters: in_event – The source object to compare to this object. Returns: true if the objects are equivalent, false otherwise.
-
inline virtual bool
operator!=(ErrorEvent const &in_that) const Check if the source object is not equivalent to this object.
Parameters: in_event – The source object to compare to this object. Returns: true if the objects are not equivalent, false otherwise.
-
inline virtual bool
operator==(TextInputEvent const &in_that) const Check if the source object is equivalent to this object.
Parameters: in_event – The source object to compare to this object. Returns: true if the objects are equivalent, false otherwise.
-
inline
TextInputEvent() The default constructor creates a TextInputEvent.
-
inline
TextInputEvent(char const *in_text) This constructor creates a TextInputEvent object for a given text string.
Parameters: in_text – Text associated to this TextInputEvent.
-
inline
TextInputEvent(Event const &in_event) This constructor converts an Event Object to a TextInputEvent object.
Parameters: in_event – The Event Object to be converted.
-
~TextInputEvent()
Public Members
-
HPS::UTF8
text The text for this TextInputEvent.
-
inline virtual char const *