All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::layout::ItemController Class Referenceabstract

#include <ItemController.h>

Inheritance diagram for te::layout::ItemController:
te::layout::HorizontalRulerController te::layout::ItemGroupController te::layout::LegendController te::layout::MapController te::layout::PaperController te::layout::RectangleController te::layout::ScaleController te::layout::VerticalRulerController

Public Member Functions

virtual bool contains (const te::gm::Coord2D &coord) const
 
const ObservablegetModel ()
 
const ObservergetView ()
 
 ItemController (Observable *o)
 
 ItemController (Observable *o, LayoutAbstractObjectType type)
 
virtual void redraw (const double &zoomFactor)
 
virtual void setBox (te::gm::Envelope box)
 
virtual void setPosition (const double &x, const double &y)=0
 
virtual void updateProperties (te::layout::Properties *properties)
 
virtual ~ItemController ()
 

Protected Attributes

Observablem_model
 
Observerm_view
 

Detailed Description

Definition at line 45 of file ItemController.h.

Constructor & Destructor Documentation

te::layout::ItemController::ItemController ( Observable o)

Definition at line 36 of file ItemController.cpp.

te::layout::ItemController::ItemController ( Observable o,
LayoutAbstractObjectType  type 
)

Definition at line 42 of file ItemController.cpp.

References m_model, and te::layout::Observable::setType().

te::layout::ItemController::~ItemController ( )
virtual

Definition at line 51 of file ItemController.cpp.

Member Function Documentation

bool te::layout::ItemController::contains ( const te::gm::Coord2D coord) const
virtual

Definition at line 108 of file ItemController.cpp.

References te::layout::ItemModelObservable::contains().

const te::layout::Observable * te::layout::ItemController::getModel ( )

Definition at line 78 of file ItemController.cpp.

void te::layout::ItemController::redraw ( const double &  zoomFactor)
virtual
void te::layout::ItemController::setBox ( te::gm::Envelope  box)
virtual

Definition at line 88 of file ItemController.cpp.

References te::layout::ItemModelObservable::setBox().

void te::layout::ItemController::updateProperties ( te::layout::Properties properties)
virtual

Member Data Documentation


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