VCF::TextEvent Class Reference
#include <vcf/ApplicationKit/TextModel.h>
Inheritance diagram for VCF::TextEvent:
List of all members.
|
Public Member Functions |
| | TextEvent (Object *source) |
| | TextEvent (Object *source, const String &changedText) |
| | TextEvent (Object *source, int selectionStart, uint32 selectionLength) |
| | TextEvent (Object *source, uint32 type, const String &changedText, uint32 changeStart, uint32 changeLength) |
| | TextEvent (Object *source, uint32 type, uint32 changeStart, uint32 changeLength) |
| | TextEvent (Object *source, uint32 type, const String &replacedText, const String &changedText, uint32 replaceStart, uint32 replaceLength) |
| | TextEvent (const TextEvent &rhs) |
| virtual | ~TextEvent () |
| TextEvent & | operator= (const TextEvent &rhs) |
| TextModel * | getTextModel () |
| | returns the text model associated with this event.
|
| virtual Object * | clone (bool deep=false) |
Public Attributes |
| String | changeText |
| String | originalText |
| int | selectionStart |
| | The current position of the selection.
|
| uint32 | selectionLength |
| | The number of characters in the selection.
|
| uint32 | changeStart |
| | The length of the change.
|
| uint32 | changeLength |
| | The start of the change.
|
Constructor & Destructor Documentation
| VCF::TextEvent::TextEvent |
( |
Object * |
source |
) |
[inline] |
|
| VCF::TextEvent::TextEvent |
( |
Object * |
source, |
|
|
const String & |
changedText |
|
) |
[inline] |
|
| VCF::TextEvent::TextEvent |
( |
Object * |
source, |
|
|
int |
selectionStart, |
|
|
uint32 |
selectionLength |
|
) |
[inline] |
|
| VCF::TextEvent::TextEvent |
( |
const TextEvent & |
rhs |
) |
[inline] |
|
| virtual VCF::TextEvent::~TextEvent |
( |
|
) |
[inline, virtual] |
|
Member Function Documentation
| virtual Object* VCF::TextEvent::clone |
( |
bool |
deep = false |
) |
[inline, virtual] |
|
| TextModel* VCF::TextEvent::getTextModel |
( |
|
) |
[inline] |
|
|
|
returns the text model associated with this event.
May return null if the source of the event was not a TextModel |
Member Data Documentation
|
|
The length of the change.
|
|
|
The number of characters in the selection.
|
|
|
The current position of the selection.
A return value of -1 indicates no current selection. In this case the getSelectionLength() will also return 0. |
The documentation for this class was generated from the following file: