NCBI C++ ToolKit
|
Search Toolkit Book for ITextItem
#include <gui/widgets/text_widget/text_item.hpp>
Public Member Functions | |
ITextItem () | |
virtual | ~ITextItem () |
virtual wxPoint | GetPosition () const =0 |
virtual void | SetContainer (IContainer *container, int index)=0 |
virtual void | GetContainer (IContainer *&container, int &index)=0 |
virtual wxSize | GetSize () const =0 |
virtual wxRect | GetRect () const |
virtual void | MouseEvent (wxMouseEvent &, CTextPanelContext &) |
virtual int | GetStartLine () const =0 |
virtual size_t | GetLineCount () const =0 |
virtual ITextItem * | GetItemByLine (int lineNum, bool expanded)=0 |
virtual int | GetTextLeftMargin (CTextPanelContext *context) const =0 |
virtual void | CalcSize (wxDC &dc, CTextPanelContext *context)=0 |
virtual void | Draw (wxDC &dc, const wxRect &updateRect, CTextPanelContext *context)=0 |
virtual string | GetToolTipText (CTextPanelContext *) const |
virtual void | FillContextMenu (wxMenu &WXUNUSED(menu)) const |
virtual void | GetText (wxTextOutputStream &os, const CTextBlock &block, CTextPanelContext *context)=0 |
virtual const CConstRef< CObject > | GetAssosiatedObject () const |
virtual objects::CScope * | GetAssosiatedScope () const |
virtual bool | IsSelectable () const |
virtual bool | Traverse (ICompositeTraverser &)=0 |
CTextBlock | GetItemBlock () const |
virtual ITextItem * | Clone () |
Definition at line 66 of file text_item.hpp.
|
inline |
Definition at line 71 of file text_item.hpp.
References CAtomicCounter::Add(), and gITextItemCount.
|
inlinevirtual |
Definition at line 72 of file text_item.hpp.
References CAtomicCounter::Add(), and gITextItemCount.
|
pure virtual |
Implemented in CTextItem, CExpandItem, CCompositeTextItem, CFlatFileTextItem, CFlatFileLocusItem, CFastaTitleItem, CFastaSeqHdrItem, and CFastaSeqBlockItem.
|
inlinevirtual |
Reimplemented in CAsnHeaderItem, and CAsnElementBlockStart.
Definition at line 120 of file text_item.hpp.
References NULL.
|
pure virtual |
Implemented in CTextItem, CExpandItem, CCompositeTextItem, CFlatFileTextItem, and CFlatFileLocusItem.
Referenced by CCompositeTextItem::Draw().
|
inlinevirtual |
Definition at line 103 of file text_item.hpp.
Reimplemented in CExpandItem, CXmlExpandItem, CFlatFileTextItem, CFastaTitleItem, CFastaSeqBlockItem, CAsnElementItem, and CObjectTextItem.
Definition at line 109 of file text_item.hpp.
Referenced by CSelectionHelper::Draw(), CExpandItem::GetAssosiatedObject(), IsSelectable(), and CTextPanelContext::SelectItem().
|
inlinevirtual |
Reimplemented in CObjectTextItem.
Definition at line 110 of file text_item.hpp.
|
pure virtual |
Implemented in CTextItem, and CExpandItem.
Referenced by CTextItemPanel::MakePosVisible().
|
inline |
Definition at line 117 of file text_item.hpp.
References GetLineCount(), and GetStartLine().
Referenced by CFlatFileDemoDlg::OnSaveText(), CAsnElementBlockCollapsed::RenderValue(), and CXmlClosedBlock::x_RenderXml().
Implemented in CTextItem, CExpandItem, and CCompositeTextItem.
Referenced by CTextLineIterator::CTextLineIterator(), and CTextLineIterator::x_Next().
|
pure virtual |
Implemented in CTextItem, CExpandItem, and CFastaSeqBlockItem.
Referenced by CFlatFileSeqIterator::CFlatFileSeqIterator(), CTextLineIterator::CTextLineIterator(), GetItemBlock(), CCompositeTextItem::UpdatePositions(), and CTextLineIterator::x_Next().
|
pure virtual |
Implemented in CTextItem, and CExpandItem.
Referenced by GetRect(), and CTextItemPanel::MakeItemVisible().
|
inlinevirtual |
Definition at line 83 of file text_item.hpp.
References GetPosition(), and GetSize().
Referenced by CSelectionHelper::x_DrawSelectionArea().
|
pure virtual |
Implemented in CTextItem, and CExpandItem.
Referenced by GetRect(), CTextItemPanel::MakeItemVisible(), CCompositeTextItem::MouseEvent(), CSelectionHelper::OnLeftDClick(), CCompositeTextItem::UpdatePositions(), and CSelectionHelper::x_GetSelectionRect().
|
pure virtual |
Implemented in CTextItem, and CExpandItem.
Referenced by CFlatFileSeqIterator::CFlatFileSeqIterator(), and GetItemBlock().
|
pure virtual |
Implemented in CTextSelectItem, CExpandItem, and CCompositeTextItem.
Referenced by CExpandItem::GetText(), CFlatFileDemoDlg::OnSaveText(), CAsnElementBlockCollapsed::RenderValue(), and CXmlClosedBlock::x_RenderXml().
|
pure virtual |
Implemented in CTextItem, and CExpandItem.
Referenced by CSelectionHelper::x_GetSelectionRect().
|
inlinevirtual |
Reimplemented in CExpandItem, and CFlatFileTextItem.
Definition at line 101 of file text_item.hpp.
Referenced by CExpandItem::GetToolTipText().
|
inlinevirtual |
Reimplemented in CTextItemSeq_loc, CExpandItem, CXmlExpandItem, CFlatFileTextItem, CFlatFileSeqBlockCollapsed, CFlatFileFeatureCollapsed, CFastaTitleItem, CFastaSeqHdrItem, CFastaSeqBlockItem, CAsnElementItem, CAsnElementBlockStart, and CAsnElementBlockCollapsed.
Definition at line 112 of file text_item.hpp.
References GetAssosiatedObject().
Referenced by CTextItem::Draw(), and CTextItem::MouseEvent().
|
inlinevirtual |
Reimplemented in CTextSelectItem, CTextItem, CExpandItem, CCompositeTextItem, CFlatFileTextItem, and CFlatFileLocusItem.
Definition at line 86 of file text_item.hpp.
Referenced by CCompositeTextItem::MouseEvent().
|
pure virtual |
Implemented in CTextItem, and CExpandItem.
Referenced by CCompositeTextItem::UpdatePositions().
|
pure virtual |
Implemented in CFlatFileExpandItem, CTextItem, CExpandItem, and CCompositeTextItem.
Referenced by CTextPanel::DataLoaded(), CFlatFileViewContext::GetVisibleObjects(), CFlatFileViewContext::OnCollapseSequences(), CAsnViewContext::RootInitialized(), CFlatFileViewContext::RootInitialized(), CTextPanel::SaveState(), and CCompositeTextItem::Traverse().