#include <PageSetupModel.h>
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 Properties * | getProperties () const |
Reimplemented from Observable. More... | |
virtual te::layout::Properties * | getPublicProperties () const |
Reimplemented from Observable. More... | |
virtual EnumType * | getType () |
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... | |
Properties * | m_properties |
properties More... | |
Properties * | m_publicProperties |
public properties More... | |
bool | m_resizable |
true if resizable, false otherwise More... | |
EnumType * | m_type |
type of the MVC widget More... | |
int | m_zValue |
The Z value decides the stacking order of drawing. More... | |
Definition at line 41 of file PageSetupModel.h.
te::layout::PageSetupModel::PageSetupModel | ( | ) |
Definition at line 34 of file PageSetupModel.cpp.
References te::common::Singleton< Enums >::getInstance(), te::layout::OutsideModelObservable::m_box, and te::layout::OutsideModelObservable::m_type.
|
virtual |
Definition at line 40 of file PageSetupModel.cpp.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 75 of file OutsideModelObservable.cpp.
|
protectedvirtualinherited |
Returns a new hashcode.
Implements te::layout::Observable.
Definition at line 208 of file OutsideModelObservable.cpp.
Referenced by te::layout::OutsideModelObservable::OutsideModelObservable().
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 104 of file OutsideModelObservable.cpp.
|
virtualinherited |
Returns the background color of the MVC widget.
Definition at line 114 of file OutsideModelObservable.cpp.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 203 of file OutsideModelObservable.cpp.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 183 of file OutsideModelObservable.cpp.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 178 of file OutsideModelObservable.cpp.
|
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().
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 254 of file OutsideModelObservable.cpp.
References te::layout::Properties::clear().
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 149 of file OutsideModelObservable.cpp.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 159 of file OutsideModelObservable.cpp.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 198 of file OutsideModelObservable.cpp.
|
protectedvirtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 95 of file OutsideModelObservable.cpp.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 85 of file OutsideModelObservable.cpp.
|
virtualinherited |
Change the bounding rectangle.
bounding | rectangle |
Definition at line 109 of file OutsideModelObservable.cpp.
|
virtualinherited |
Change the background color of the MVC widget.
color | background color |
Definition at line 119 of file OutsideModelObservable.cpp.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 188 of file OutsideModelObservable.cpp.
|
virtualinherited |
Change coordinate llx,lly of the MVC widget.
x | llx |
y | lly |
Definition at line 124 of file OutsideModelObservable.cpp.
Referenced by te::layout::OutsideController::setPosition().
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 193 of file OutsideModelObservable.cpp.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 154 of file OutsideModelObservable.cpp.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 164 of file OutsideModelObservable.cpp.
|
virtual |
Reimplemented from Observable.
Reimplemented from te::layout::OutsideModelObservable.
Definition at line 58 of file PageSetupModel.cpp.
|
protectedinherited |
bounding rectangle
Definition at line 190 of file OutsideModelObservable.h.
Referenced by te::layout::GridSettingsModel::GridSettingsModel(), te::layout::MapLayerChoiceModel::MapLayerChoiceModel(), te::layout::ObjectInspectorModel::ObjectInspectorModel(), PageSetupModel(), te::layout::PropertiesModel::PropertiesModel(), te::layout::SystematicScaleModel::SystematicScaleModel(), and te::layout::ToolbarModel::ToolbarModel().
|
protectedinherited |
center coordinate of the bounding rectangle
Definition at line 191 of file OutsideModelObservable.h.
|
protectedinherited |
background color
Definition at line 192 of file OutsideModelObservable.h.
|
protectedinherited |
Definition at line 199 of file OutsideModelObservable.h.
Referenced by te::layout::OutsideModelObservable::OutsideModelObservable().
|
protectedinherited |
hashcode
Definition at line 197 of file OutsideModelObservable.h.
|
protectedinherited |
name of the MVC widget
Definition at line 200 of file OutsideModelObservable.h.
Referenced by te::layout::OutsideModelObservable::OutsideModelObservable().
|
protectedinherited |
set of observers of this object
Definition at line 189 of file OutsideModelObservable.h.
|
protectedinherited |
properties
Definition at line 193 of file OutsideModelObservable.h.
Referenced by te::layout::OutsideModelObservable::OutsideModelObservable().
|
protectedinherited |
public properties
Definition at line 194 of file OutsideModelObservable.h.
Referenced by te::layout::OutsideModelObservable::OutsideModelObservable().
|
protectedinherited |
true if resizable, false otherwise
Definition at line 198 of file OutsideModelObservable.h.
|
protectedinherited |
type of the MVC widget
Definition at line 195 of file OutsideModelObservable.h.
Referenced by te::layout::EditTemplateModel::EditTemplateModel(), te::layout::GridSettingsModel::GridSettingsModel(), te::layout::MapLayerChoiceModel::MapLayerChoiceModel(), te::layout::ObjectInspectorModel::ObjectInspectorModel(), te::layout::OutsideModelObservable::OutsideModelObservable(), PageSetupModel(), te::layout::PropertiesModel::PropertiesModel(), te::layout::SystematicScaleModel::SystematicScaleModel(), te::layout::TextGridSettingsModel::TextGridSettingsModel(), and te::layout::ToolbarModel::ToolbarModel().
|
protectedinherited |
The Z value decides the stacking order of drawing.
Definition at line 196 of file OutsideModelObservable.h.