TextView Support Tasks

Functional Spec Use Cases Unit Tests Technical Spec Implementation
Task Summary Owner
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BTextView
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BTextControl





Functional Spec Use Cases Unit Tests Technical Spec Implementation
Task Details
BTextView Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BTextView(BRect frame, const char* name, BRect textRect, uint32 resizeMask, uint32 flags = B_WILL_DRAW | B_PULSE_NEEDED);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BTextView(BRect frame, const char* name, BRect textRect, const BFont* initialFont, const rgb_color* initialColor, uint32 resizeMask, uint32 flags);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BTextView(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual ~BTextView();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
static BArchivable* Instantiate(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Archive(BMessage* data, bool deep = true) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AttachedToWindow();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void DetachedFromWindow();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Draw(BRect inRect);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseDown(BPoint where);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseUp(BPoint where);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseMoved(BPoint where, uint32 code, const BMessage* message);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void WindowActivated(bool state);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void KeyDown(const char* bytes, int32 numBytes);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Pulse();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void FrameResized(float width, float height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MakeFocus(bool focusState = true);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MessageReceived(BMessage* message);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual BHandler* ResolveSpecifier(BMessage* message, int32 index, BMessage* specifier, int32 form, const char* property);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t GetSupportedSuites(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Perform(perform_code d, void* arg);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetText(const char* inText, const text_run_array* inRuns = NULL);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetText(const char* inText, int32 inLength, const text_run_array* inRuns = NULL);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetText(BFile* inFile, int32 startOffset, int32 inLength, const text_run_array* inRuns = NULL);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void Insert(const char* inText, const text_run_array* inRuns = NULL);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void Insert(const char* inText, int32 inLength, const text_run_array* inRuns = NULL);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void Insert(int32 startOffset, const char* inText, int32 inLength, const text_run_array* inRuns = NULL);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void Delete();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void Delete(int32 startOffset, int32 endOffset);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
const char* Text() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 TextLength() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void GetText(int32 offset, int32 length, char* buffer) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
uchar ByteAt(int32 offset) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 CountLines() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 CurrentLine() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void GoToLine(int32 lineNum);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Cut(BClipboard* clipboard);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Copy(BClipboard* clipboard);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Paste(BClipboard* clipboard);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void Clear();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool AcceptsPaste(BClipboard* clipboard);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool AcceptsDrop(const BMessage* inMessage);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Select(int32 startOffset, int32 endOffset);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SelectAll();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void GetSelection(int32* outStart, int32* outEnd) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetFontAndColor(const BFont* inFont, uint32 inMode = B_FONT_ALL, const rgb_color* inColor = NULL);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetFontAndColor(int32 startOffset, int32 endOffset, const BFont* inFont, uint32 inMode = B_FONT_ALL, const rgb_color* inColor = NULL);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void GetFontAndColor(int32 inOffset, BFont* outFont, rgb_color* outColor = NULL) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void GetFontAndColor(BFont* outFont, uint32* outMode, rgb_color* outColor = NULL, bool* outEqColor = NULL) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetRunArray(int32 startOffset, int32 endOffset, const text_run_array* inRuns);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
text_run_array* RunArray(int32 startOffset, int32 endOffset, int32* outSize = NULL) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 LineAt(int32 offset) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 LineAt(BPoint point) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BPoint PointAt(int32 inOffset, float* outHeight = NULL) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 OffsetAt(BPoint point) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 OffsetAt(int32 line) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void FindWord(int32 inOffset, int32* outFromOffset, int32* outToOffset);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool CanEndLine(int32 offset);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
float LineWidth(int32 lineNum = 0) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
float LineHeight(int32 lineNum = 0) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
float TextHeight(int32 startLine, int32 endLine) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void GetTextRegion(int32 startOffset, int32 endOffset, BRegion* outRegion) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void ScrollToOffset(int32 inOffset);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void ScrollToSelection();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void Highlight(int32 startOffset, int32 endOffset);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetTextRect(BRect rect);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BRect TextRect() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetStylable(bool stylable);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsStylable() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetTabWidth(float width);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
float TabWidth() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void MakeSelectable(bool selectable = true);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsSelectable() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void MakeEditable(bool editable = true);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsEditable() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetWordWrap(bool wrap);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool DoesWordWrap() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetMaxBytes(int32 max);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 MaxBytes() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void DisallowChar(uint32 aChar);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void AllowChar(uint32 aChar);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetAlignment(alignment flag);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
alignment Alignment() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetAutoindent(bool state);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool DoesAutoindent() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetColorSpace(color_space colors);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
color_space ColorSpace() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void MakeResizable(bool resize, BView* resizeView = NULL);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsResizable() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetDoesUndo(bool undo);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool DoesUndo() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void HideTyping(bool enabled);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsTypingHidden(void) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void ResizeToPreferred();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void GetPreferredSize(float* width, float* height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AllAttached();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AllDetached();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
static void* FlattenRunArray(const text_run_array* inArray, int32* outSize = NULL);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
static text_run_array* UnflattenRunArray(const void *data, int32* outSize = NULL);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void InsertText(const char* inText, int32 inLength, int32 inOffset, const text_run_array* inRuns);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void DeleteText(int32 fromOffset, int32 toOffset);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Undo(BClipboard* clipboard);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
undo_state UndoState(bool* isRedo) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void GetDragParameters(BMessage* drag, BBitmap** bitmap, BPoint* point, BHandler** handler);
BTextControl Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BTextControl(BRect frame, const char* name, const char* label, const char* initial_text, BMessage* message, uint32 rmask = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW | B_NAVIGABLE);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BTextControl(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual ~BTextControl();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
static BArchivable* Instantiate(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Archive(BMessage* data, bool deep = true) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetText(const char* text);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
const char* Text() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetValue(int32 value);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Invoke(BMessage* msg = NULL);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BTextView* TextView() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetModificationMessage(BMessage* message);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMessage* ModificationMessage() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetAlignment(alignment label, alignment text);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void GetAlignment(alignment* label, alignment* text) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetDivider(float dividing_line);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
float Divider() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Draw(BRect updateRect);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseDown(BPoint where);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AttachedToWindow();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MakeFocus(bool focusState = true);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetEnabled(bool state);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void FrameMoved(BPoint new_position);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void FrameResized(float new_width, float new_height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void WindowActivated(bool active);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void GetPreferredSize(float* width, float* height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void ResizeToPreferred();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MessageReceived(BMessage* msg);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseUp(BPoint pt);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* msg);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void DetachedFromWindow();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AllAttached();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AllDetached();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t GetSupportedSuites(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetFlags(uint32 flags);





Legend
Functional Spec Functional Spec
Use Cases Use Cases
Unit Tests Unit Tests
Technical Spec Technical Spec
Implementation Implementation
Completed Completed

The OpenBeOS project is hosted by:

SourceForge Logo

Copyright © 2001-2002 OpenBeOS Project