A class representing a caret indicator for text input.
![]() | caretSize Size of the caret. |
![]() | PCaret () Create the default caret. |
![]() | PCaret ( PDIMENSION dx, PDIMENSION dy ) Create a block caret of the specified dimensions. |
![]() | Compare ( const PObject & obj ) const Get whether the caret object is of the same size as the current caret. |
![]() | SetDimensions ( PDIMENSION dx, PDIMENSION dy ) Set the dimensions of the caret to the width and height specified. |
![]() | Activate ( PInteractor * activator, BOOL display ) Activate the caret displaying it in the interactor. |
![]() | Deactivate ( PInteractor * activator ) Deactivate the caret removing it from the interactor. |
![]() | Show ( PInteractor * activator ) Show the caret displaying it in the interactor, if it is active. |
![]() | Hide ( PInteractor * activator ) Hide the caret removing it from the interactor, if it is active. |
![]() | SetPosition ( PInteractor * activator ) Set the position of the physical caret, if it is active. |
![]() | Overrides from class PObject |
![]() | New functions for class |
![]() | Member variables; |
Construction
Common functions for containers
Run Time Type functions
Comparison functions
I/O functions
Miscellaneous functions
A class representing a caret indicator for text input. A caret is used to indicate where the current insertion point is in a line of text.
Note that the user does not normally call this function. It is called
by the PInteractor class when it gains the focus.
Note that the user does not normally call this function. It is called
by the PInteractor class when it loses the focus.
Note that the user does not normally call this function. It is called
by the PInteractor class when it shows the caret.
Note that the user does not normally call this function. It is called
by the PInteractor class when it hides the caret.
Note that the user does not normally call this function. It is called
by the PInteractor class for example when the
PInteractor::SetCaretPos() function is called.
PCaret( PDIMENSION dx, PDIMENSION dy )
dy - Height of the caret block. Overrides from class PObject
virtual Comparison Compare( const PObject & obj ) const
New functions for class
void SetDimensions( PDIMENSION dx, PDIMENSION dy )
dy - Height of the caret block.void Activate( PInteractor * activator, BOOL display )
display - Display caret.void Deactivate( PInteractor * activator )
void Show( PInteractor * activator )
void Hide( PInteractor * activator )
void SetPosition( PInteractor * activator )
Alphabetic index HTML hierarchy of classes or Java