#include <editors.h>
Inheritance diagram for TMemo::
Public Methods | |
TMemo (const TRect &bounds, TScrollBar *aHScrollBar, TScrollBar *aVScrollBar, TIndicator *aIndicator, uint aBufSize) | |
virtual void | getData (void *rec) |
virtual void | setData (void *rec) |
virtual ushort | dataSize () |
virtual TPalette& | getPalette () const |
virtual void | handleEvent (TEvent &) |
Static Public Methods | |
TStreamable* | build () |
Static Public Attributes | |
const char* const | name |
Protected Methods | |
TMemo (StreamableInit) | |
virtual void | write (opstream &) |
virtual void* | read (ipstream &) |
Definition at line 1087 of file editors.h.
|
Constructor.
|
|
Each streamable class needs a "builder" to allocate the correct memory for its objects together with the initialized virtual table pointers. This is achieved by calling this constructor with an argument of type StreamableInit. |
|
Called to create an object in certain stream-reading situations. Reimplemented from TEditor. |
|
Used with getData() and setData(), which are inherited from TView and redefined. By default it returns (sizeof(ushort) + bufSize). Reimplemented from TView. |
|
getData() must copy dataSize() bytes from the view to the data record given by the `rec' pointer. The data record mechanism is typically used only in views that implement controls for dialog boxes.
Reimplemented from TView. |
|
Returns the default memo palette. Reimplemented from TEditor. |
|
Prevents TMemo from handling kbTab key events; otherwise handles events the same as a TEditor.
Reimplemented from TEditor. |
|
Reads from the input stream `is'. Reimplemented from TEditor. |
|
setData() must copy dataSize() bytes from the data record given by `rec' to the view. The data record mechanism is typically used only in views that implement controls for dialog boxes.
Reimplemented from TView. |
|
Writes to the output stream `os'. Reimplemented from TEditor. |
|
Undocumented. Reimplemented from TEditor. |