#include <CATEditBox.h>
Edit boxes currently ignore their fValue - setting it to the value of the string if applicable, but otherwise not really doing anything with it.
Definition at line 30 of file CATEditBox.h.
Public Member Functions | |
CATEditBox (const CATString &element, const CATString &rootDir) | |
virtual | ~CATEditBox () |
virtual bool | OnControlEvent (const CATEvent &event, CATInt32 &result) |
virtual CATResult | ParseAttributes () |
ParseAttributes() parses the known attributes for an object. | |
virtual void | SetFocused (bool focused) |
virtual void | OnEscapeChange () |
virtual void | OnParentCreate () |
virtual void | OnParentDestroy () |
virtual CATFloat32 | GetValue () const |
virtual void | SetString (const CATString &newString) |
These by default try to convert to float. String-type controls override them. | |
virtual CATString | GetString () const |
virtual CATResult | OnEvent (const CATEvent &event, CATInt32 &retVal) |
Event handler. | |
virtual CATString | GetHint () const |
GetHint() retrieves the hint text for the control. | |
virtual void | OSSelectAll () |
virtual bool | IsReadOnly () |
virtual void | SetReadOnly (bool readOnly) |
virtual void | OSSetReadOnly (bool readOnly) |
Protected Attributes | |
bool | fNumbersOnly |
bool | fReadOnly |
CATUInt32 | fMaxLength |