VCF::DefaultTextModel Class Reference
#include <vcf/ApplicationKit/DefaultTextModel.h>
Inheritance diagram for VCF::DefaultTextModel:

Public Member Functions | |
| DefaultTextModel () | |
| virtual | ~DefaultTextModel () |
| virtual bool | isEmpty () |
| Returns whether or not the model has an data. | |
| virtual void | empty () |
| clears out the model's data | |
| virtual String | getText () |
| returns all of the TextModel's text in a string. | |
| virtual String | getText (const uint32 &index, const uint32 &count) |
| returns a sub string of the TextModel's text in a string. | |
| virtual uint32 | getSize () |
| returns the size of the TextModel. | |
Protected Member Functions | |
| virtual void | doSetText (const String &text) |
| virtual void | doInsertText (const uint32 &index, const String &text) |
| virtual void | doReplaceText (const uint32 &index, const uint32 &len, const String &text) |
| virtual void | doRemoveText (const uint32 &index, const uint32 &count) |
Protected Attributes | |
| String | text_ |
Constructor & Destructor Documentation
|
|
|
|
|
|
Member Function Documentation
|
||||||||||||
|
Implements VCF::TextModel. |
|
||||||||||||
|
Implements VCF::TextModel. |
|
||||||||||||||||
|
Implements VCF::TextModel. |
|
|
Implements VCF::TextModel. |
|
|
clears out the model's data
Reimplemented from VCF::Model. |
|
|
returns the size of the TextModel. That is the number of charecters in text string that this model represents. Implements VCF::TextModel. |
|
||||||||||||
|
returns a sub string of the TextModel's text in a string.
Implements VCF::TextModel. |
|
|
returns all of the TextModel's text in a string.
Implements VCF::TextModel. |
|
|
Returns whether or not the model has an data. The default is true, since in it's abstract form the model doesn't (yet) have any data associated it. It is up to implementers to return something meaningful here. Reimplemented from VCF::Model. |
Member Data Documentation
|
|
|
The documentation for this class was generated from the following file:
- vcf/ApplicationKit/DefaultTextModel.h
