NCBI C++ ToolKit
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
CTextItemSeq_loc Class Reference

Search Toolkit Book for CTextItemSeq_loc

#include "text_item_seq_loc.hpp"
(Private to src/gui/widgets/object_list.)

+ Inheritance diagram for CTextItemSeq_loc:
+ Collaboration diagram for CTextItemSeq_loc:

Public Member Functions

virtual void x_RenderText (CStyledTextOStream &ostream, CTextPanelContext *context) const
 
virtual int GetIndent () const
 
virtual bool IsSelectable () const
 
- Public Member Functions inherited from CObjectTextItem
virtual const CConstRef< CObjectGetAssosiatedObject () const
 
virtual objects::CScope * GetAssosiatedScope () const
 
- Public Member Functions inherited from CTextSelectItem
virtual void MouseEvent (wxMouseEvent &event, CTextPanelContext &context)
 
virtual void GetText (wxTextOutputStream &os, const CTextBlock &block, CTextPanelContext *context)
 
- Public Member Functions inherited from CTextItem
 CTextItem ()
 
virtual void SetContainer (IContainer *container, int index)
 
virtual void GetContainer (IContainer *&container, int &index)
 
virtual wxPoint GetPosition () const
 
virtual wxSize GetSize () const
 
virtual int GetStartLine () const
 
virtual size_t GetLineCount () const
 
virtual ITextItemGetItemByLine (int lineNum, bool expanded)
 
virtual void SetLineCount (size_t lineCount)
 
virtual int GetTextLeftMargin (CTextPanelContext *context) const
 
virtual void CalcSize (wxDC &dc, CTextPanelContext *context)
 
virtual void Draw (wxDC &dc, const wxRect &updateRect, CTextPanelContext *context)
 
virtual bool Traverse (ICompositeTraverser &traverser)
 
virtual void TextPosToExpanded (CTextPosition &WXUNUSED(pos), CTextPanelContext *WXUNUSED(context)) const
 
virtual void TextPosToCollapsed (CTextPosition &WXUNUSED(pos), CTextPanelContext *WXUNUSED(context)) const
 
void RenderText (CStyledTextOStream &ostream, CTextPanelContext *context) const
 
- Public Member Functions inherited from ITextItem
 ITextItem ()
 
virtual ~ITextItem ()
 
virtual wxRect GetRect () const
 
virtual string GetToolTipText (CTextPanelContext *) const
 
virtual void FillContextMenu (wxMenu &WXUNUSED(menu)) const
 
CTextBlock GetItemBlock () const
 
virtual ITextItemClone ()
 

Static Public Member Functions

static ITextItemCreateObject (SConstScopedObject &object, EMode mode, ICanceled *cancel=0)
 
- Static Public Member Functions inherited from CObjectTextItem
static ITextItemCreateTextItem (SConstScopedObject &object, EMode mode, ICanceled *cancel)
 

Private Member Functions

 CTextItemSeq_loc (SConstScopedObject &object, EMode mode, int indent)
 

Private Attributes

int m_Indent
 

Additional Inherited Members

- Public Types inherited from CObjectTextItem
enum  EMode { kBrief , kFull }
 
- Protected Member Functions inherited from CObjectTextItem
 CObjectTextItem (SConstScopedObject &object, EMode mode)
 
- Protected Member Functions inherited from CTextSelectItem
void MouseMove (wxMouseEvent &event)
 
void MouseLeftDown (wxMouseEvent &event)
 
void MouseLeftUp (wxMouseEvent &event)
 
void MouseLeftDClick (wxMouseEvent &event)
 
virtual void x_CalcTextPos (CTextPanelContext *context, int x, int y, int &textX, int &textY, int &caretX, int &caretY)
 
- Protected Member Functions inherited from CTextItem
virtual void x_Indent (CStyledTextOStream &ostream) const
 
virtual void x_RenderText (CStyledTextOStream &WXUNUSED(ostream), CTextPanelContext *WXUNUSED(context)) const
 
- Protected Attributes inherited from CObjectTextItem
CConstRef< CObjectm_Object
 
CRef< objects::CScope > m_Scope
 
EMode m_Mode
 
- Protected Attributes inherited from CTextItem
size_t m_LineCount
 
wxSize m_Size
 
IContainerm_Container
 
int m_Index
 

Detailed Description

Definition at line 42 of file text_item_seq_loc.hpp.

Constructor & Destructor Documentation

◆ CTextItemSeq_loc()

CTextItemSeq_loc::CTextItemSeq_loc ( SConstScopedObject object,
EMode  mode,
int  indent 
)
inlineprivate

Definition at line 52 of file text_item_seq_loc.hpp.

Referenced by CreateObject().

Member Function Documentation

◆ CreateObject()

ITextItem * CTextItemSeq_loc::CreateObject ( SConstScopedObject object,
EMode  mode,
ICanceled cancel = 0 
)
static

◆ GetIndent()

virtual int CTextItemSeq_loc::GetIndent ( void  ) const
inlinevirtual

Reimplemented from CTextItem.

Definition at line 48 of file text_item_seq_loc.hpp.

References m_Indent.

◆ IsSelectable()

virtual bool CTextItemSeq_loc::IsSelectable ( ) const
inlinevirtual

Reimplemented from ITextItem.

Definition at line 49 of file text_item_seq_loc.hpp.

References m_Indent.

◆ x_RenderText()

void CTextItemSeq_loc::x_RenderText ( CStyledTextOStream ostream,
CTextPanelContext context 
) const
virtual

Member Data Documentation

◆ m_Indent

int CTextItemSeq_loc::m_Indent
private

Definition at line 55 of file text_item_seq_loc.hpp.

Referenced by GetIndent(), and IsSelectable().


The documentation for this class was generated from the following files:
Modified on Sun Apr 14 05:29:19 2024 by modify_doxy.py rev. 669887