Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATEditBox Class Reference

CATEditBox Class Reference
[GUI Application library for CAT]

#include <CATEditBox.h>

Inheritance diagram for CATEditBox:

CATControlWnd CATControl CATWidget CATGuiObj CATXMLObject

List of all members.


Detailed Description

Text edit box for GUI.

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

The documentation for this class was generated from the following files:
Generated on Mon Feb 11 04:10:27 2008 for Game Accessibility Suite by doxygen 1.5.4