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

#include <PageSetupModel.h>

Inheritance diagram for te::layout::PageSetupModel:
te::layout::OutsideModelObservable te::layout::Observable

Public Member Functions

virtual bool addObserver (Observer *o)
 Reimplemented from Observable. More...
 
virtual te::gm::Envelope getBox ()
 Reimplemented from Observable. More...
 
virtual int getColor ()
 Returns the background color of the MVC widget. More...
 
virtual int getHashCode ()
 Reimplemented from Observable. More...
 
virtual int getId ()
 Reimplemented from Observable. More...
 
virtual std::string getName ()
 Reimplemented from Observable. More...
 
virtual PropertiesgetProperties () const
 Reimplemented from Observable. More...
 
virtual te::layout::PropertiesgetPublicProperties () const
 Reimplemented from Observable. More...
 
virtual EnumTypegetType ()
 Reimplemented from Observable. More...
 
virtual int getZValue ()
 Reimplemented from Observable. More...
 
virtual bool isResizable ()
 Reimplemented from Observable. More...
 
 PageSetupModel ()
 
virtual bool removeObserver (Observer *o)
 Reimplemented from Observable. More...
 
virtual void setBox (te::gm::Envelope box)
 Change the bounding rectangle. More...
 
virtual void setColor (int color)
 Change the background color of the MVC widget. More...
 
virtual void setId (int id)
 Reimplemented from Observable. More...
 
virtual void setPosition (const double &x, const double &y)
 Change coordinate llx,lly of the MVC widget. More...
 
virtual void setResizable (bool resize)
 Reimplemented from Observable. More...
 
virtual void setType (EnumType *type)
 Reimplemented from Observable. More...
 
virtual void setZValue (int zValue)
 Reimplemented from Observable. More...
 
virtual void updateProperties (te::layout::Properties *properties)
 Reimplemented from Observable. More...
 
virtual ~PageSetupModel ()
 

Protected Member Functions

virtual int calculateHashCode ()
 Returns a new hashcode. More...
 
virtual void notifyAll (ContextItem context)
 Reimplemented from Observable. More...
 

Protected Attributes

te::gm::Envelope m_box
 bounding rectangle More...
 
te::gm::Coord2D m_centerCoordinate
 center coordinate of the bounding rectangle More...
 
int m_color
 background color More...
 
int m_hashCode
 
int m_id
 hashcode More...
 
std::string m_name
 name of the MVC widget More...
 
std::set< Observer * > m_observers
 set of observers of this object More...
 
Propertiesm_properties
 properties More...
 
Propertiesm_publicProperties
 public properties More...
 
bool m_resizable
 true if resizable, false otherwise More...
 
EnumTypem_type
 type of the MVC widget More...
 
int m_zValue
 The Z value decides the stacking order of drawing. More...
 

Detailed Description

Definition at line 41 of file PageSetupModel.h.

Constructor & Destructor Documentation

te::layout::PageSetupModel::PageSetupModel ( )
te::layout::PageSetupModel::~PageSetupModel ( )
virtual

Definition at line 40 of file PageSetupModel.cpp.

Member Function Documentation

bool te::layout::OutsideModelObservable::addObserver ( Observer o)
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 75 of file OutsideModelObservable.cpp.

int te::layout::OutsideModelObservable::calculateHashCode ( )
protectedvirtualinherited

Returns a new hashcode.

Returns
hashCode

Implements te::layout::Observable.

Definition at line 208 of file OutsideModelObservable.cpp.

Referenced by te::layout::OutsideModelObservable::OutsideModelObservable().

te::gm::Envelope te::layout::OutsideModelObservable::getBox ( )
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 104 of file OutsideModelObservable.cpp.

int te::layout::OutsideModelObservable::getColor ( )
virtualinherited

Returns the background color of the MVC widget.

Returns
background color

Definition at line 114 of file OutsideModelObservable.cpp.

int te::layout::OutsideModelObservable::getHashCode ( )
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 203 of file OutsideModelObservable.cpp.

int te::layout::OutsideModelObservable::getId ( )
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 183 of file OutsideModelObservable.cpp.

std::string te::layout::OutsideModelObservable::getName ( )
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 178 of file OutsideModelObservable.cpp.

te::layout::Properties * te::layout::PageSetupModel::getProperties ( ) const
virtual

Reimplemented from Observable.

Reimplemented from te::layout::OutsideModelObservable.

Definition at line 45 of file PageSetupModel.cpp.

References te::layout::Properties::clear(), and te::layout::Property::setName().

te::layout::Properties * te::layout::OutsideModelObservable::getPublicProperties ( ) const
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 254 of file OutsideModelObservable.cpp.

References te::layout::Properties::clear().

te::layout::EnumType * te::layout::OutsideModelObservable::getType ( )
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 149 of file OutsideModelObservable.cpp.

int te::layout::OutsideModelObservable::getZValue ( )
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 159 of file OutsideModelObservable.cpp.

bool te::layout::OutsideModelObservable::isResizable ( )
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 198 of file OutsideModelObservable.cpp.

void te::layout::OutsideModelObservable::notifyAll ( ContextItem  context)
protectedvirtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 95 of file OutsideModelObservable.cpp.

bool te::layout::OutsideModelObservable::removeObserver ( Observer o)
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 85 of file OutsideModelObservable.cpp.

void te::layout::OutsideModelObservable::setBox ( te::gm::Envelope  box)
virtualinherited

Change the bounding rectangle.

Parameters
boundingrectangle

Definition at line 109 of file OutsideModelObservable.cpp.

void te::layout::OutsideModelObservable::setColor ( int  color)
virtualinherited

Change the background color of the MVC widget.

Parameters
colorbackground color

Definition at line 119 of file OutsideModelObservable.cpp.

void te::layout::OutsideModelObservable::setId ( int  id)
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 188 of file OutsideModelObservable.cpp.

void te::layout::OutsideModelObservable::setPosition ( const double &  x,
const double &  y 
)
virtualinherited

Change coordinate llx,lly of the MVC widget.

Parameters
xllx
ylly

Definition at line 124 of file OutsideModelObservable.cpp.

Referenced by te::layout::OutsideController::setPosition().

void te::layout::OutsideModelObservable::setResizable ( bool  resize)
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 193 of file OutsideModelObservable.cpp.

void te::layout::OutsideModelObservable::setType ( EnumType type)
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 154 of file OutsideModelObservable.cpp.

void te::layout::OutsideModelObservable::setZValue ( int  zValue)
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 164 of file OutsideModelObservable.cpp.

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

Reimplemented from Observable.

Reimplemented from te::layout::OutsideModelObservable.

Definition at line 58 of file PageSetupModel.cpp.

Member Data Documentation

te::gm::Coord2D te::layout::OutsideModelObservable::m_centerCoordinate
protectedinherited

center coordinate of the bounding rectangle

Definition at line 191 of file OutsideModelObservable.h.

int te::layout::OutsideModelObservable::m_color
protectedinherited

background color

Definition at line 192 of file OutsideModelObservable.h.

int te::layout::OutsideModelObservable::m_hashCode
protectedinherited
int te::layout::OutsideModelObservable::m_id
protectedinherited

hashcode

Definition at line 197 of file OutsideModelObservable.h.

std::string te::layout::OutsideModelObservable::m_name
protectedinherited

name of the MVC widget

Definition at line 200 of file OutsideModelObservable.h.

Referenced by te::layout::OutsideModelObservable::OutsideModelObservable().

std::set<Observer*> te::layout::OutsideModelObservable::m_observers
protectedinherited

set of observers of this object

Definition at line 189 of file OutsideModelObservable.h.

Properties* te::layout::OutsideModelObservable::m_properties
protectedinherited

properties

Definition at line 193 of file OutsideModelObservable.h.

Referenced by te::layout::OutsideModelObservable::OutsideModelObservable().

Properties* te::layout::OutsideModelObservable::m_publicProperties
protectedinherited

public properties

Definition at line 194 of file OutsideModelObservable.h.

Referenced by te::layout::OutsideModelObservable::OutsideModelObservable().

bool te::layout::OutsideModelObservable::m_resizable
protectedinherited

true if resizable, false otherwise

Definition at line 198 of file OutsideModelObservable.h.

int te::layout::OutsideModelObservable::m_zValue
protectedinherited

The Z value decides the stacking order of drawing.

Definition at line 196 of file OutsideModelObservable.h.


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