Inheritance diagram for CP_KeyInputFilter:
Public Member Functions | |
Constructor / Destructor | |
virtual | ~CP_KeyInputFilter () |
Destructor. | |
Validation | |
virtual CP_CharStatus | IsKeyValid (char inChar)=0 |
Protected Member Functions | |
Constructor / Destructor | |
CP_KeyInputFilter () | |
Constructor. |
|
Destructor.
|
|
Constructor.
|
|
Subclasses must override this to determine if the character passed in is valid.
Implemented in CP_KeyInputFilter_AlphaNumeric, 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.
|
|
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. |
|
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.
|