#include <GridSettingsModel.h>
Public Member Functions | |
virtual bool | addObserver (Observer *o) |
Reimplemented from Observable. More... | |
virtual te::layout::Properties * | containsGrid (EnumType *enumType) |
virtual te::layout::Property | containsProperty (std::string name, EnumType *enumType) |
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... | |
GridSettingsModel () | |
virtual bool | isResizable () |
Reimplemented from Observable. More... | |
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 | setProperties (std::vector< te::layout::Properties * > properties) |
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 bool | updateProperty (Property prop, EnumType *enumType) |
virtual | ~GridSettingsModel () |
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... | |
std::vector< te::layout::Properties * > | m_properties |
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 47 of file GridSettingsModel.h.
te::layout::GridSettingsModel::GridSettingsModel | ( | ) |
Definition at line 36 of file GridSettingsModel.cpp.
References te::common::Singleton< Enums >::getInstance(), te::layout::OutsideModelObservable::m_box, and te::layout::OutsideModelObservable::m_type.
|
virtual |
Definition at line 43 of file GridSettingsModel.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().
|
virtual |
Definition at line 89 of file GridSettingsModel.cpp.
References te::layout::Properties::getTypeObj().
|
virtual |
Definition at line 53 of file GridSettingsModel.cpp.
References te::layout::Properties::contains().
Referenced by te::layout::GridSettingsController::getProperty(), and te::layout::GridSettingsController::updateProperty().
|
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.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Reimplemented in te::layout::MapLayerChoiceModel, te::layout::PageSetupModel, te::layout::SystematicScaleModel, and te::layout::TextGridSettingsModel.
Definition at line 136 of file OutsideModelObservable.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().
|
virtual |
Definition at line 48 of file GridSettingsModel.cpp.
Referenced by te::layout::DialogPropertiesBrowser::onShowGridSettingsDlg().
|
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.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Reimplemented in te::layout::MapLayerChoiceModel, te::layout::PageSetupModel, te::layout::SystematicScaleModel, and te::layout::TextGridSettingsModel.
Definition at line 169 of file OutsideModelObservable.cpp.
References te::layout::Properties::getProperties().
Definition at line 67 of file GridSettingsModel.cpp.
References te::layout::Properties::addProperty(), te::layout::Properties::contains(), te::layout::Property::getName(), and te::layout::Properties::removeProperty().
Referenced by te::layout::GridSettingsController::updateProperty().
|
protectedinherited |
bounding rectangle
Definition at line 190 of file OutsideModelObservable.h.
Referenced by GridSettingsModel(), te::layout::MapLayerChoiceModel::MapLayerChoiceModel(), te::layout::ObjectInspectorModel::ObjectInspectorModel(), te::layout::PageSetupModel::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.
|
protected |
Definition at line 65 of file GridSettingsModel.h.
|
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(), GridSettingsModel(), te::layout::MapLayerChoiceModel::MapLayerChoiceModel(), te::layout::ObjectInspectorModel::ObjectInspectorModel(), te::layout::OutsideModelObservable::OutsideModelObservable(), te::layout::PageSetupModel::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.