Class that represents a "Model" part of GridMap MVC component. Its coordinate system is the same of scene (millimeters). He is also the son of ItemModelObservable, so it can become observable. More...
#include <GridMapModel.h>
Public Member Functions | |
virtual bool | addChildren (ItemObserver *item) |
Reimplemented from Observable. More... | |
virtual bool | addObserver (Observer *o) |
Reimplemented from Observable. More... | |
virtual bool | contains (const te::gm::Coord2D &coord) const |
Checks if the coordinate is contained within the bounding rectangle. More... | |
virtual void | disassociate () |
Separate this object from visitable. More... | |
virtual void | draw (ContextItem context) |
Drawing method of the MVC component. More... | |
virtual double | getAngle () |
Returns the value of rotation. More... | |
virtual te::color::RGBAColor | getBackgroundColor () |
Returns the background color of the MVC component. More... | |
virtual te::color::RGBAColor | getBorderColor () |
Returns the border color of the MVC component. More... | |
virtual te::gm::Envelope | getBox () |
Reimplemented from Observable. More... | |
virtual te::gm::Envelope | getBoxMapMM () |
virtual std::set< ItemObserver * > | getChildren () const |
Reimplemented from Observable. More... | |
virtual std::string | getFontFamily () |
virtual std::map< te::gm::Point *, std::string > | getGridInfo () |
virtual EnumType * | getGridStyle () |
virtual int | getHashCode () |
Reimplemented from Observable. More... | |
virtual int | getId () |
Reimplemented from Observable. More... | |
virtual double | getInitialGridPointX () |
virtual double | getInitialGridPointY () |
virtual te::color::RGBAColor | getLineColor () |
virtual EnumType * | getLineStyle () |
virtual int | getLineWidth () |
virtual double | getLneHrzDisplacement () |
virtual double | getLneHrzGap () |
virtual double | getLneVrtDisplacement () |
virtual double | getLneVrtGap () |
virtual double | getMapDisplacementX () |
virtual double | getMapDisplacementY () |
virtual std::string | getMapName () |
virtual double | getMapScale () |
virtual std::string | getName () |
Reimplemented from Observable. More... | |
virtual double | getOldAngle () |
Returns the value of old rotation. More... | |
virtual te::gm::Coord2D | getOldPos () |
Returns the value of old position. More... | |
virtual Properties * | getProperties () const |
Reimplemented from Observable. More... | |
virtual te::layout::Properties * | getPublicProperties () const |
Reimplemented from Observable. More... | |
virtual int | getSRID () |
virtual te::color::RGBAColor | getTextColor () |
virtual int | getTextPointSize () |
virtual EnumType * | getType () |
Reimplemented from Observable. More... | |
virtual Visitable * | getVisitable () |
Return the object to be visited. More... | |
virtual te::gm::Envelope | getWorldBox () |
virtual int | getZValue () |
Reimplemented from Observable. More... | |
GridMapModel () | |
Constructor. More... | |
GridMapModel (GridSettingsConfigProperties *settingsConfig) | |
Constructor. More... | |
virtual bool | isBorder () |
Returns whether the border should be drawn or not. More... | |
virtual bool | isBottomRotateText () |
virtual bool | isBottomText () |
virtual bool | isEnableChildren () |
Returns true if MVC component can have children, false otherwise. More... | |
virtual bool | isLeftRotateText () |
virtual bool | isLeftText () |
virtual bool | isResizable () |
Reimplemented from Observable. More... | |
virtual bool | isRightRotateText () |
virtual bool | isRightText () |
virtual bool | isSuperscriptText () |
virtual bool | isTopRotateText () |
virtual bool | isTopText () |
virtual bool | isVisible () |
virtual bool | isVisibleAllTexts () |
virtual bool | removeChildren (int hashCode) |
Reimplemented from Observable. More... | |
virtual bool | removeObserver (Observer *o) |
Reimplemented from Observable. More... | |
virtual void | resize (double w, double h) |
Resize the bounding rectangle of the MVC component. More... | |
virtual void | setAngle (double angle) |
Change the value of rotation of the MVC component. More... | |
virtual void | setBackgroundColor (te::color::RGBAColor color) |
Change the background color of the MVC component. More... | |
virtual void | setBorder (bool value) |
Change whether the border should be drawn or not. More... | |
virtual void | setBorderColor (te::color::RGBAColor color) |
Change the background color of the MVC component. More... | |
virtual void | setBoundingBoxItemMM (te::gm::Envelope box) |
virtual void | setBox (te::gm::Envelope box) |
Change the bounding rectangle. More... | |
virtual void | setBoxMapMM (te::gm::Envelope box) |
virtual void | setEnableChildren (bool value) |
Sets true if MVC component can have children, false otherwise. More... | |
virtual void | setId (int id) |
Reimplemented from Observable. More... | |
virtual void | setMapDisplacementX (double displacement) |
virtual void | setMapDisplacementY (double displacement) |
virtual void | setMapName (std::string name) |
virtual void | setMapScale (double scale) |
virtual void | setName (std::string name) |
Change the name of the MVC component. More... | |
virtual void | setPosition (const double &x, const double &y) |
Change coordinate llx,lly of the MVC component. More... | |
virtual void | setResizable (bool resize) |
Reimplemented from Observable. More... | |
virtual void | setSystematic (Systematic *sys) |
virtual void | setType (EnumType *type) |
Reimplemented from Observable. More... | |
virtual void | setVisible (bool visible) |
virtual void | setVisibleAllTexts (bool visible) |
virtual void | setWorldBox (te::gm::Envelope box) |
virtual void | setZValue (int zValue) |
Reimplemented from Observable. More... | |
virtual void | updateProperties (te::layout::Properties *properties) |
Reimplemented from Observable. More... | |
virtual void | visit (Visitable *visitable) |
Constructor. More... | |
virtual | ~GridMapModel () |
Destructor. More... | |
Protected Member Functions | |
virtual void | addChildrenProperties (Properties *properties) |
virtual void | calculateGaps (te::gm::Envelope box) |
virtual int | calculateHashCode () |
Returns a new hashcode. More... | |
virtual void | drawBackground (ContextItem context) |
Draws the background of the MVC component. More... | |
virtual ContextItem | getContextItem () |
Returns context maintaining the drawing context of a MVC component. More... | |
virtual void | gridTextFreeMemory () |
virtual void | init () |
virtual void | notifyAll (ContextItem context) |
Reimplemented from Observable. More... | |
virtual void | updateChildrenProperties (Property prop) |
virtual void | visitDependent (ContextItem context) |
visit and if necessary redraw More... | |
Class that represents a "Model" part of GridMap MVC component. Its coordinate system is the same of scene (millimeters). He is also the son of ItemModelObservable, so it can become observable.
Definition at line 67 of file GridMapModel.h.
te::layout::GridMapModel::GridMapModel | ( | ) |
te::layout::GridMapModel::GridMapModel | ( | GridSettingsConfigProperties * | settingsConfig | ) |
|
virtual |
Destructor.
Definition at line 131 of file GridMapModel.cpp.
|
virtualinherited |
Reimplemented from Observable.
Definition at line 552 of file ItemModelObservable.cpp.
References te::layout::Observable::getHashCode(), and te::layout::ItemObserver::getModel().
Referenced by te::layout::ParentItem< T >::itemChange().
|
protectedvirtualinherited |
Definition at line 625 of file ItemModelObservable.cpp.
References te::layout::Properties::addProperty(), and te::layout::Properties::getProperties().
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 103 of file ItemModelObservable.cpp.
|
protectedvirtual |
Reimplemented in te::layout::GridGeodesicModel, and te::layout::GridPlanarModel.
Definition at line 574 of file GridMapModel.cpp.
|
protectedvirtualinherited |
Returns a new hashcode.
Implements te::layout::Observable.
Definition at line 476 of file ItemModelObservable.cpp.
Referenced by te::layout::ItemModelObservable::ItemModelObservable().
|
virtualinherited |
Checks if the coordinate is contained within the bounding rectangle.
coord | coordinated to be verified |
Definition at line 280 of file ItemModelObservable.cpp.
References te::gm::Envelope::isValid(), te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by te::layout::ItemController::contains().
|
virtualinherited |
Separate this object from visitable.
Definition at line 72 of file AbstractVisitor.cpp.
Referenced by te::layout::Visitable::unacceptVisitor().
|
virtualinherited |
Drawing method of the MVC component.
context | maintaining the drawing context of a MVC component |
Reimplemented in te::layout::LegendModel, te::layout::MapModel, and te::layout::LegendChildModel.
Definition at line 532 of file ItemModelObservable.cpp.
Referenced by te::layout::ItemController::redraw().
|
protectedvirtualinherited |
Draws the background of the MVC component.
context | maintaining the drawing context of a MVC component |
Definition at line 433 of file ItemModelObservable.cpp.
References te::layout::Utils::drawRectW(), te::layout::ContextItem::getCanvas(), te::layout::ContextItem::getUtils(), te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::gm::Envelope::m_urx, te::map::Canvas::setPolygonContourColor(), te::map::Canvas::setPolygonContourWidth(), and te::map::Canvas::setPolygonFillColor().
|
virtualinherited |
Returns the value of rotation.
Definition at line 466 of file ItemModelObservable.cpp.
Referenced by te::layout::ItemGroup::applyRotation(), and te::layout::ParentItem< T >::applyRotation().
|
virtualinherited |
Returns the background color of the MVC component.
Definition at line 229 of file ItemModelObservable.cpp.
Referenced by te::layout::ParentItem< T >::drawBackground(), te::layout::EllipseItem::drawEllipse(), te::layout::NorthItem::drawRectangle(), te::layout::RectangleItem::drawRectangle(), and te::layout::TextItem::updateTextConfig().
|
virtualinherited |
Returns the border color of the MVC component.
Definition at line 244 of file ItemModelObservable.cpp.
Referenced by te::layout::ParentItem< T >::drawBorder(), and te::layout::PaperItem::drawPaper().
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 219 of file ItemModelObservable.cpp.
Referenced by te::layout::MapItem::boundingRect(), te::layout::VisualizationArea::createPaper(), te::layout::ItemGroup::drawBackground(), te::layout::ItemGroup::paint(), and te::layout::MapItem::recalculateBoundingRect().
|
virtual |
Definition at line 609 of file GridMapModel.cpp.
|
virtualinherited |
Reimplemented from Observable.
Definition at line 547 of file ItemModelObservable.cpp.
|
protectedvirtualinherited |
Returns context maintaining the drawing context of a MVC component.
context | maintaining the drawing context of a MVC component |
Definition at line 77 of file AbstractVisitor.cpp.
References te::layout::Context::getCanvas(), te::layout::Context::getDpiX(), te::layout::Context::getDpiY(), te::common::Singleton< Context >::getInstance(), te::layout::Context::getUtils(), te::layout::Context::getZoomFactor(), te::layout::ContextItem::setCanvas(), te::layout::ContextItem::setDpiX(), te::layout::ContextItem::setDpiY(), te::layout::ContextItem::setUtils(), and te::layout::ContextItem::setZoomFactor().
|
virtual |
Definition at line 664 of file GridMapModel.cpp.
Referenced by te::layout::GridPlanarItem::drawGrid(), te::layout::GridGeodesicItem::drawGrid(), and te::layout::GridMapItem::drawGrid().
|
virtual |
Definition at line 196 of file GridMapModel.cpp.
|
virtual |
Definition at line 639 of file GridMapModel.cpp.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 471 of file ItemModelObservable.cpp.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 401 of file ItemModelObservable.cpp.
Referenced by te::layout::ItemUtils::maxTypeId().
|
virtual |
Definition at line 629 of file GridMapModel.cpp.
|
virtual |
Definition at line 634 of file GridMapModel.cpp.
|
virtual |
Definition at line 649 of file GridMapModel.cpp.
Referenced by te::layout::GridPlanarItem::drawGrid(), te::layout::GridGeodesicItem::drawGrid(), and te::layout::GridMapItem::drawGrid().
|
virtual |
Definition at line 644 of file GridMapModel.cpp.
|
virtual |
Definition at line 654 of file GridMapModel.cpp.
|
virtual |
Definition at line 689 of file GridMapModel.cpp.
|
virtual |
Definition at line 619 of file GridMapModel.cpp.
|
virtual |
Definition at line 684 of file GridMapModel.cpp.
|
virtual |
Definition at line 624 of file GridMapModel.cpp.
|
virtual |
Definition at line 584 of file GridMapModel.cpp.
|
virtual |
Definition at line 589 of file GridMapModel.cpp.
|
virtual |
Definition at line 594 of file GridMapModel.cpp.
|
virtual |
Definition at line 599 of file GridMapModel.cpp.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 260 of file ItemModelObservable.cpp.
Referenced by visitDependent().
|
virtualinherited |
Returns the value of old rotation.
Definition at line 522 of file ItemModelObservable.cpp.
Referenced by te::layout::ItemGroup::applyRotation(), and te::layout::ParentItem< T >::applyRotation().
|
virtualinherited |
Returns the value of old position.
Definition at line 527 of file ItemModelObservable.cpp.
|
virtual |
Reimplemented from Observable.
Reimplemented from te::layout::ItemModelObservable.
Definition at line 230 of file GridMapModel.cpp.
References te::layout::Property::addOption(), te::layout::EnumDataType::getDataTypeBool(), te::layout::EnumDataType::getDataTypeColor(), te::layout::EnumDataType::getDataTypeDouble(), te::layout::EnumDataType::getDataTypeGridSettings(), te::layout::EnumDataType::getDataTypeInt(), te::layout::EnumDataType::getDataTypeString(), te::layout::EnumDataType::getDataTypeStringList(), te::layout::Enums::getEnumDataType(), te::common::Singleton< Enums >::getInstance(), te::layout::ItemModelObservable::getProperties(), te::layout::Property::setComposeWidget(), te::layout::Property::setMenu(), te::layout::Property::setName(), te::layout::Property::setPublic(), te::layout::Property::setValue(), and te::layout::Variant::setValue().
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 601 of file ItemModelObservable.cpp.
References te::layout::Properties::clear().
|
virtual |
Definition at line 604 of file GridMapModel.cpp.
|
virtual |
Definition at line 669 of file GridMapModel.cpp.
|
virtual |
Definition at line 659 of file GridMapModel.cpp.
Referenced by te::layout::GridPlanarItem::drawGrid(), te::layout::GridGeodesicItem::drawGrid(), and te::layout::GridMapItem::drawGrid().
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 371 of file ItemModelObservable.cpp.
|
virtualinherited |
Return the object to be visited.
Definition at line 95 of file AbstractVisitor.cpp.
Referenced by te::layout::ItemUtils::createLegendChildAsObject().
|
virtual |
Definition at line 614 of file GridMapModel.cpp.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 381 of file ItemModelObservable.cpp.
|
protectedvirtual |
Definition at line 181 of file GridMapModel.cpp.
|
protectedvirtual |
Definition at line 111 of file GridMapModel.cpp.
References te::layout::Enums::getEnumGridStyleType(), te::layout::Enums::getEnumLineStyleType(), te::layout::Enums::getEnumObjectType(), te::layout::EnumObjectType::getGridMapItem(), te::common::Singleton< Enums >::getInstance(), te::layout::EnumGridStyleType::getStyleNone(), and te::layout::EnumLineStyleType::getStyleNone().
Referenced by GridMapModel().
|
virtualinherited |
Returns whether the border should be drawn or not.
Definition at line 391 of file ItemModelObservable.cpp.
Referenced by te::layout::ParentItem< T >::drawBorder().
|
virtual |
Definition at line 714 of file GridMapModel.cpp.
|
virtual |
Definition at line 694 of file GridMapModel.cpp.
|
virtualinherited |
Returns true if MVC component can have children, false otherwise.
Definition at line 537 of file ItemModelObservable.cpp.
Referenced by te::layout::BuildGraphicsItem::addChild().
|
virtual |
Definition at line 719 of file GridMapModel.cpp.
|
virtual |
Definition at line 699 of file GridMapModel.cpp.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 428 of file ItemModelObservable.cpp.
|
virtual |
Definition at line 724 of file GridMapModel.cpp.
|
virtual |
Definition at line 704 of file GridMapModel.cpp.
|
virtual |
Definition at line 679 of file GridMapModel.cpp.
|
virtual |
Definition at line 729 of file GridMapModel.cpp.
|
virtual |
Definition at line 709 of file GridMapModel.cpp.
|
virtual |
Definition at line 136 of file GridMapModel.cpp.
|
virtual |
Definition at line 674 of file GridMapModel.cpp.
|
protectedvirtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 123 of file ItemModelObservable.cpp.
|
virtualinherited |
Reimplemented from Observable.
Definition at line 580 of file ItemModelObservable.cpp.
Referenced by te::layout::ParentItem< T >::itemChange().
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 113 of file ItemModelObservable.cpp.
|
virtualinherited |
Resize the bounding rectangle of the MVC component.
true | if should be drawn, false otherwise |
Definition at line 411 of file ItemModelObservable.cpp.
|
virtualinherited |
Change the value of rotation of the MVC component.
value | of rotation |
Definition at line 460 of file ItemModelObservable.cpp.
|
virtualinherited |
Change the background color of the MVC component.
color | background color |
Definition at line 234 of file ItemModelObservable.cpp.
|
virtualinherited |
Change whether the border should be drawn or not.
true | if should be drawn, false otherwise |
Definition at line 396 of file ItemModelObservable.cpp.
|
virtualinherited |
Change the background color of the MVC component.
color | border color |
Definition at line 239 of file ItemModelObservable.cpp.
|
virtual |
Definition at line 161 of file GridMapModel.cpp.
|
virtualinherited |
Change the bounding rectangle.
bounding | rectangle |
Reimplemented in te::layout::MapModel, and te::layout::PaperModel.
Definition at line 224 of file ItemModelObservable.cpp.
Referenced by te::layout::ItemGroup::addToGroup(), te::layout::TextGridItem::refreshDocument(), te::layout::TitleItem::refreshDocument(), te::layout::TextItem::refreshDocument(), te::layout::MapModel::setBox(), and te::layout::ItemController::setBox().
|
virtual |
Definition at line 156 of file GridMapModel.cpp.
|
virtualinherited |
Sets true if MVC component can have children, false otherwise.
true | if MVC component can have children, false otherwise |
Definition at line 542 of file ItemModelObservable.cpp.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 406 of file ItemModelObservable.cpp.
Referenced by te::layout::BuildGraphicsItem::createArrow(), te::layout::BuildGraphicsItem::createBalloon(), te::layout::BuildGraphicsItem::createBarCode(), te::layout::BuildGraphicsItem::createEllipse(), te::layout::BuildGraphicsItem::createGridGeodesic(), te::layout::BuildGraphicsItem::createGridMap(), te::layout::BuildGraphicsItem::createGridPlanar(), te::layout::BuildGraphicsItem::createImage(), te::layout::BuildGraphicsItem::createItemGroup(), te::layout::BuildGraphicsItem::createLegend(), te::layout::BuildGraphicsItem::createLegendChild(), te::layout::BuildGraphicsItem::createLine(), te::layout::BuildGraphicsItem::createMap(), te::layout::BuildGraphicsItem::createMapLocation(), te::layout::BuildGraphicsItem::createMovingItemGroup(), te::layout::BuildGraphicsItem::createNorth(), te::layout::BuildGraphicsItem::createPaper(), te::layout::BuildGraphicsItem::createPoint(), te::layout::BuildGraphicsItem::createPolygon(), te::layout::BuildGraphicsItem::createRectangle(), te::layout::BuildGraphicsItem::createScale(), te::layout::BuildGraphicsItem::createText(), te::layout::BuildGraphicsItem::createTextGrid(), and te::layout::BuildGraphicsItem::createTitle().
|
virtual |
Definition at line 201 of file GridMapModel.cpp.
|
virtual |
Definition at line 206 of file GridMapModel.cpp.
|
virtual |
Definition at line 579 of file GridMapModel.cpp.
Referenced by te::layout::GridMapItem::itemChange().
|
virtual |
Definition at line 146 of file GridMapModel.cpp.
|
virtualinherited |
Change the name of the MVC component.
name | name of the MVC component. |
Definition at line 249 of file ItemModelObservable.cpp.
Referenced by te::layout::BuildGraphicsItem::createArrow(), te::layout::BuildGraphicsItem::createBalloon(), te::layout::BuildGraphicsItem::createBarCode(), te::layout::BuildGraphicsItem::createEllipse(), te::layout::BuildGraphicsItem::createGridGeodesic(), te::layout::BuildGraphicsItem::createGridMap(), te::layout::BuildGraphicsItem::createGridPlanar(), te::layout::BuildGraphicsItem::createImage(), te::layout::BuildGraphicsItem::createItemGroup(), te::layout::BuildGraphicsItem::createLegend(), te::layout::BuildGraphicsItem::createLegendChild(), te::layout::BuildGraphicsItem::createLine(), te::layout::BuildGraphicsItem::createMap(), te::layout::BuildGraphicsItem::createMapLocation(), te::layout::BuildGraphicsItem::createMovingItemGroup(), te::layout::BuildGraphicsItem::createNorth(), te::layout::BuildGraphicsItem::createPaper(), te::layout::BuildGraphicsItem::createPoint(), te::layout::BuildGraphicsItem::createPolygon(), te::layout::BuildGraphicsItem::createRectangle(), te::layout::BuildGraphicsItem::createScale(), te::layout::BuildGraphicsItem::createText(), te::layout::BuildGraphicsItem::createTextGrid(), and te::layout::BuildGraphicsItem::createTitle().
|
virtualinherited |
Change coordinate llx,lly of the MVC component.
x | llx |
y | lly |
Reimplemented in te::layout::MapModel.
Definition at line 265 of file ItemModelObservable.cpp.
Referenced by te::layout::ItemController::setPosition(), and te::layout::MapModel::setPosition().
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 423 of file ItemModelObservable.cpp.
|
virtual |
Definition at line 166 of file GridMapModel.cpp.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 376 of file ItemModelObservable.cpp.
|
virtual |
Definition at line 141 of file GridMapModel.cpp.
|
virtual |
Reimplemented in te::layout::GridGeodesicModel.
Definition at line 171 of file GridMapModel.cpp.
|
virtual |
Definition at line 151 of file GridMapModel.cpp.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 386 of file ItemModelObservable.cpp.
|
protectedvirtualinherited |
Definition at line 641 of file ItemModelObservable.cpp.
References te::layout::Property::getParentItemHashCode().
|
virtual |
Reimplemented from Observable.
Reimplemented from te::layout::ItemModelObservable.
Definition at line 406 of file GridMapModel.cpp.
References te::layout::Properties::contains(), te::layout::AbstractEnum::getEnum(), te::layout::Enums::getEnumGridStyleType(), te::layout::Enums::getEnumLineStyleType(), te::common::Singleton< Enums >::getInstance(), te::layout::Property::getOptionByCurrentChoice(), te::layout::Property::getValue(), te::layout::Property::isNull(), te::layout::Variant::toBool(), te::layout::Variant::toColor(), te::layout::Variant::toDouble(), te::layout::Variant::toInt(), te::layout::Variant::toString(), and te::layout::ItemModelObservable::updateProperties().
Referenced by te::layout::BuildGraphicsItem::createGridGeodesic(), te::layout::BuildGraphicsItem::createGridMap(), and te::layout::BuildGraphicsItem::createGridPlanar().
|
virtualinherited |
Constructor.
Definition at line 46 of file AbstractVisitor.cpp.
Referenced by te::layout::Visitable::acceptVisitor().
|
protectedvirtual |
visit and if necessary redraw
Implements te::layout::AbstractVisitor.
Definition at line 211 of file GridMapModel.cpp.
References te::layout::MapModel::getDisplacementX(), te::layout::MapModel::getDisplacementY(), te::layout::MapModel::getLayer(), te::layout::MapModel::getMapBox(), te::layout::ItemModelObservable::getName(), and te::layout::MapModel::getScale().
|
protectedinherited |
value of rotation
Definition at line 328 of file ItemModelObservable.h.
|
protectedinherited |
background color
Definition at line 317 of file ItemModelObservable.h.
Referenced by te::layout::ImageModel::ImageModel(), te::layout::ItemModelObservable::ItemModelObservable(), and te::layout::MapModel::MapModel().
|
protectedinherited |
true if should be drawn border, false otherwise
Definition at line 325 of file ItemModelObservable.h.
Referenced by te::layout::ArrowModel::ArrowModel(), te::layout::BalloonModel::BalloonModel(), te::layout::BarCodeModel::BarCodeModel(), te::layout::EllipseModel::EllipseModel(), te::layout::ImageModel::ImageModel(), te::layout::ItemGroupModel::ItemGroupModel(), te::layout::LineModel::LineModel(), te::layout::NorthModel::NorthModel(), te::layout::PaperModel::PaperModel(), te::layout::RectangleModel::RectangleModel(), and te::layout::ScaleModel::ScaleModel().
|
protectedinherited |
border color
Definition at line 318 of file ItemModelObservable.h.
Referenced by te::layout::BalloonModel::BalloonModel(), te::layout::BarCodeModel::BarCodeModel(), te::layout::ImageModel::ImageModel(), te::layout::ItemModelObservable::ItemModelObservable(), te::layout::LineModel::LineModel(), te::layout::NorthModel::NorthModel(), te::layout::PaperModel::PaperModel(), and te::layout::RectangleModel::RectangleModel().
|
protected |
Definition at line 227 of file GridMapModel.h.
|
protected |
Definition at line 223 of file GridMapModel.h.
|
protected |
Definition at line 193 of file GridMapModel.h.
|
protectedinherited |
bounding rectangle
Definition at line 315 of file ItemModelObservable.h.
Referenced by te::layout::ArrowModel::ArrowModel(), te::layout::BalloonModel::BalloonModel(), te::layout::BarCodeModel::BarCodeModel(), te::layout::EllipseModel::EllipseModel(), te::layout::ImageModel::ImageModel(), te::layout::ItemGroupModel::ItemGroupModel(), te::layout::ItemModelObservable::ItemModelObservable(), te::layout::LegendChildModel::LegendChildModel(), te::layout::LegendModel::LegendModel(), te::layout::LineModel::LineModel(), te::layout::MapModel::MapModel(), te::layout::MovingItemGroupModel::MovingItemGroupModel(), te::layout::NorthModel::NorthModel(), te::layout::PointModel::PointModel(), te::layout::RectangleModel::RectangleModel(), te::layout::ScaleModel::ScaleModel(), te::layout::TextGridModel::TextGridModel(), te::layout::TextModel::TextModel(), and te::layout::TitleModel::TitleModel().
|
protected |
Definition at line 192 of file GridMapModel.h.
|
protectedinherited |
center coordinate of the bounding rectangle
Definition at line 316 of file ItemModelObservable.h.
|
protectedinherited |
children components
Definition at line 320 of file ItemModelObservable.h.
|
protectedinherited |
true if MVC component can have children, false otherwise
Definition at line 332 of file ItemModelObservable.h.
Referenced by te::layout::MapLocationModel::MapLocationModel(), and te::layout::MapModel::MapModel().
|
protected |
Definition at line 215 of file GridMapModel.h.
|
protected |
Definition at line 206 of file GridMapModel.h.
|
protected |
Definition at line 190 of file GridMapModel.h.
|
protectedinherited |
Definition at line 329 of file ItemModelObservable.h.
Referenced by te::layout::ItemModelObservable::ItemModelObservable().
|
protectedinherited |
hashcode
Definition at line 314 of file ItemModelObservable.h.
|
protected |
Definition at line 202 of file GridMapModel.h.
|
protected |
Definition at line 203 of file GridMapModel.h.
|
protected |
Definition at line 228 of file GridMapModel.h.
|
protected |
Definition at line 224 of file GridMapModel.h.
|
protected |
Definition at line 210 of file GridMapModel.h.
|
protected |
Definition at line 209 of file GridMapModel.h.
|
protected |
Definition at line 211 of file GridMapModel.h.
|
protected |
Definition at line 222 of file GridMapModel.h.
Referenced by te::layout::GridGeodesicModel::GridGeodesicModel(), and te::layout::GridPlanarModel::GridPlanarModel().
|
protected |
Definition at line 200 of file GridMapModel.h.
|
protected |
Definition at line 221 of file GridMapModel.h.
Referenced by te::layout::GridGeodesicModel::GridGeodesicModel(), and te::layout::GridPlanarModel::GridPlanarModel().
|
protected |
Definition at line 201 of file GridMapModel.h.
|
protected |
Definition at line 195 of file GridMapModel.h.
|
protected |
Definition at line 196 of file GridMapModel.h.
|
protected |
Definition at line 184 of file GridMapModel.h.
|
protected |
Definition at line 187 of file GridMapModel.h.
|
protectedinherited |
name of the MVC component
Definition at line 326 of file ItemModelObservable.h.
Referenced by te::layout::ItemModelObservable::ItemModelObservable().
|
protectedinherited |
set of observers of this object
Definition at line 313 of file ItemModelObservable.h.
|
protectedinherited |
value of old rotation
Definition at line 330 of file ItemModelObservable.h.
|
protectedinherited |
value of old position
Definition at line 331 of file ItemModelObservable.h.
Referenced by te::layout::ItemModelObservable::ItemModelObservable().
|
protected |
Definition at line 214 of file GridMapModel.h.
|
protectedinherited |
properties
Definition at line 319 of file ItemModelObservable.h.
Referenced by te::layout::ImageModel::ImageModel(), and te::layout::ItemModelObservable::ItemModelObservable().
|
protectedinherited |
public properties
Definition at line 321 of file ItemModelObservable.h.
Referenced by te::layout::ItemModelObservable::ItemModelObservable().
|
protectedinherited |
true if resizable, false otherwise
Definition at line 327 of file ItemModelObservable.h.
Referenced by te::layout::TextModel::TextModel().
|
protected |
Definition at line 229 of file GridMapModel.h.
|
protected |
Definition at line 225 of file GridMapModel.h.
|
protected |
Definition at line 185 of file GridMapModel.h.
|
protectedinherited |
Names of common properties among all MVC components.
Definition at line 324 of file ItemModelObservable.h.
Referenced by te::layout::ItemModelObservable::ItemModelObservable().
|
protected |
Definition at line 188 of file GridMapModel.h.
|
protected |
Definition at line 220 of file GridMapModel.h.
|
protected |
Definition at line 189 of file GridMapModel.h.
|
protected |
Definition at line 216 of file GridMapModel.h.
|
protected |
Definition at line 230 of file GridMapModel.h.
|
protected |
Definition at line 226 of file GridMapModel.h.
|
protectedinherited |
type of the MVC component
Definition at line 322 of file ItemModelObservable.h.
Referenced by te::layout::ArrowModel::ArrowModel(), te::layout::BalloonModel::BalloonModel(), te::layout::BarCodeModel::BarCodeModel(), te::layout::EllipseModel::EllipseModel(), te::layout::GridGeodesicModel::GridGeodesicModel(), te::layout::GridPlanarModel::GridPlanarModel(), te::layout::ImageModel::ImageModel(), te::layout::ItemGroupModel::ItemGroupModel(), te::layout::ItemModelObservable::ItemModelObservable(), te::layout::LegendChildModel::LegendChildModel(), te::layout::LegendModel::LegendModel(), te::layout::LineModel::LineModel(), te::layout::MapLocationModel::MapLocationModel(), te::layout::MapModel::MapModel(), te::layout::MovingItemGroupModel::MovingItemGroupModel(), te::layout::NorthModel::NorthModel(), te::layout::PaperModel::PaperModel(), te::layout::PointModel::PointModel(), te::layout::PolygonModel::PolygonModel(), te::layout::RectangleModel::RectangleModel(), te::layout::ScaleModel::ScaleModel(), te::layout::TextGridModel::TextGridModel(), te::layout::TextModel::TextModel(), and te::layout::TitleModel::TitleModel().
|
protected |
Definition at line 199 of file GridMapModel.h.
|
protected |
Definition at line 219 of file GridMapModel.h.
|
protectedinherited |
object to be visited
Definition at line 90 of file AbstractVisitor.h.
|
protected |
Definition at line 194 of file GridMapModel.h.
|
protectedinherited |
The Z value decides the stacking order of drawing.
Definition at line 323 of file ItemModelObservable.h.