Inheritance diagram for CP_KeyInputFilter_AlphaNumeric:
Public Member Functions | |
Validation | |
virtual CP_CharStatus | IsKeyValid (const CPUniChar *, UInt32) |
Constructor / Destructor | |
CP_KeyInputFilter_AlphaNumeric (bool inAllowSpace) | |
Constructor. | |
virtual | ~CP_KeyInputFilter_AlphaNumeric () |
Destructor. | |
Validation | |
virtual CP_CharStatus | IsKeyValid (char inChar) |
Validation | |
virtual CP_CharStatus | IsKeyValid (const CPUniChar *, UInt32) |
Protected Attributes | |
bool | fAllowSpace |
|
Constructor.
|
|
Destructor.
|
|
Test the inChar character to see if it is allowed.
Implements CP_KeyInputFilter. |
|
Subclasses override this to determine if the character passed in is valid. This version checks the passed in Unicode character.
Reimplemented in CP_KeyInputFilter_Numeric, and CP_KeyInputFilter_UnicodeAlphaNumeric. |
|
Return true if the passed in inChar is a delete key (backspace).
|
|
Return true if our inChar is one of our cursor keys. i.e. left, right, up and down editing arrows.
|
|
Return true if our inChar is one of our scroling keys. i.e. page up, page down, home or end.
|
|
Add a reference to our object, returning the new reference count.
|
|
Remove a reference to our object, returning the new reference count. If the count is 0, then this object is also deleted, and 0 is returned.
|
|
Add the object to the topmost auto-release pool. This will ensure that the object is eventually released.
|
|
Returns the current ref count.
|
|
|