Design Patterns
structural::adapter::TextView Class Reference

#include <text_view.h>

Inheritance diagram for structural::adapter::TextView:
Collaboration diagram for structural::adapter::TextView:

Public Member Functions

 TextView ()
 
 TextView (const std::string &text)
 
virtual ~TextView () override
 
void Draw () override
 
void Resize () override
 
void GetOrigin (float &x, float &y) const
 
void SetOrigin (const float &x, const float &y)
 
void GetExtent (float &width, float &height) const
 
void SetExtent (const float &width, const float &height)
 
virtual bool IsEmpty () const
 
std::string content () const
 
void content (const std::string &text)
 
- Public Member Functions inherited from structural::adapter::VisualComponentInterface
virtual ~VisualComponentInterface ()
 

Constructor & Destructor Documentation

structural::adapter::TextView::TextView ( )
structural::adapter::TextView::TextView ( const std::string &  text)
explicit
structural::adapter::TextView::~TextView ( )
overridevirtual

Member Function Documentation

std::string structural::adapter::TextView::content ( ) const
void structural::adapter::TextView::content ( const std::string &  text)
void structural::adapter::TextView::Draw ( )
overridevirtual
void structural::adapter::TextView::GetExtent ( float &  width,
float &  height 
) const

Here is the caller graph for this function:

void structural::adapter::TextView::GetOrigin ( float &  x,
float &  y 
) const

Here is the caller graph for this function:

bool structural::adapter::TextView::IsEmpty ( ) const
virtual

Reimplemented in structural::adapter::TextShapeClassAdapter.

Here is the caller graph for this function:

void structural::adapter::TextView::Resize ( )
overridevirtual
void structural::adapter::TextView::SetExtent ( const float &  width,
const float &  height 
)
void structural::adapter::TextView::SetOrigin ( const float &  x,
const float &  y 
)

The documentation for this class was generated from the following files: