Class that represents a "Model" part of Legend MVC component. Its coordinate system is the same of scene (millimeters). This is also son of ItemModelObservable, so it can become observable, and son of AbstractVisitor, so it can become visitor. It is must visit the map, via te::layout::Visitable*, to get the layers. More...
#include <LegendModel.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 double | getBorderDisplacement () |
virtual te::gm::Envelope | getBox () |
Reimplemented from Observable. More... | |
virtual std::set< ItemObserver * > | getChildren () const |
Reimplemented from Observable. More... | |
virtual std::map< te::gm::Point *, std::string > | getCoordChildren () |
virtual double | getDisplacementBetweenSymbolAndText () |
virtual double | getDisplacementBetweenSymbols () |
virtual double | getDisplacementBetweenTitleAndSymbols () |
virtual Font | getFont () |
virtual te::color::RGBAColor | getFontColor () |
virtual int | getHashCode () |
Reimplemented from Observable. More... | |
virtual int | getId () |
Reimplemented from Observable. More... | |
virtual te::map::AbstractLayerPtr | getLayer () |
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 double | getSymbolSize () |
virtual EnumType * | getType () |
Reimplemented from Observable. More... | |
virtual Visitable * | getVisitable () |
Return the object to be visited. More... | |
virtual int | getZValue () |
Reimplemented from Observable. More... | |
virtual bool | isBorder () |
Returns whether the border should be drawn or not. More... | |
virtual bool | isEnableChildren () |
Returns true if MVC component can have children, false otherwise. More... | |
virtual bool | isResizable () |
Reimplemented from Observable. More... | |
LegendModel () | |
Constructor. More... | |
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 | setBorderDisplacement (double value) |
virtual void | setBox (te::gm::Envelope box) |
Change the bounding rectangle. More... | |
virtual void | setDisplacementBetweenSymbolAndText (double value) |
virtual void | setDisplacementBetweenSymbols (double value) |
virtual void | setDisplacementBetweenTitleAndSymbols (double value) |
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 | 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 | setSymbolSize (const double &value) |
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 void | visit (Visitable *visitable) |
Constructor. More... | |
virtual | ~LegendModel () |
Destructor. More... | |
Protected Member Functions | |
virtual void | addChildrenProperties (Properties *properties) |
virtual int | calculateHashCode () |
Returns a new hashcode. More... | |
virtual void | childrenFreeMemory () |
virtual void | drawBackground (ContextItem context) |
Draws the background of the MVC component. More... | |
virtual void | drawLegend (te::map::Canvas *canvas, Utils *utils) |
virtual ContextItem | getContextItem () |
Returns context maintaining the drawing context of a MVC component. More... | |
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... | |
Protected Attributes | |
double | m_angle |
value of rotation More... | |
te::color::RGBAColor | m_backgroundColor |
background color More... | |
bool | m_border |
true if should be drawn border, false otherwise More... | |
te::color::RGBAColor | m_borderColor |
border color More... | |
double | m_borderDisplacement |
te::gm::Envelope | m_box |
bounding rectangle More... | |
te::gm::Coord2D | m_centerCoordinate |
center coordinate of the bounding rectangle More... | |
std::set< ItemObserver * > | m_children |
children components More... | |
std::map< te::gm::Point *, std::string > | m_coordChildren |
double | m_displacementBetweenSymbols |
double | m_displacementBetweenSymbolsAndText |
double | m_displacementBetweenTitleAndSymbols |
bool | m_enableChildren |
true if MVC component can have children, false otherwise More... | |
Font | m_font |
te::color::RGBAColor | m_fontColor |
int | m_hashCode |
int | m_id |
hashcode More... | |
te::map::AbstractLayerPtr | m_layer |
std::string | m_mapName |
std::string | m_name |
name of the MVC component More... | |
std::set< Observer * > | m_observers |
set of observers of this object More... | |
double | m_oldAngle |
value of old rotation More... | |
te::gm::Coord2D | m_oldPos |
value of old position More... | |
Properties * | m_properties |
properties More... | |
Properties * | m_publicProperties |
public properties More... | |
bool | m_resizable |
true if resizable, false otherwise More... | |
SharedProperties * | m_sharedProps |
Names of common properties among all MVC components. More... | |
double | m_symbolsize |
EnumType * | m_type |
type of the MVC component More... | |
Visitable * | m_visitable |
object to be visited More... | |
int | m_zValue |
The Z value decides the stacking order of drawing. More... | |
Private Member Functions | |
virtual void | drawGroupingLegend (te::map::Grouping *grouping, te::map::Canvas *canvas, Utils *utils) |
virtual void | drawStyleLegend (te::se::Style *style, te::map::Canvas *canvas, Utils *utils) |
virtual void | updateBox (ContextItem context) |
Class that represents a "Model" part of Legend MVC component. Its coordinate system is the same of scene (millimeters). This is also son of ItemModelObservable, so it can become observable, and son of AbstractVisitor, so it can become visitor. It is must visit the map, via te::layout::Visitable*, to get the layers.
Definition at line 62 of file LegendModel.h.
te::layout::LegendModel::LegendModel | ( | ) |
Constructor.
Definition at line 51 of file LegendModel.cpp.
References te::common::Singleton< Enums >::getInstance(), te::layout::ItemModelObservable::m_box, m_font, m_fontColor, te::layout::ItemModelObservable::m_type, te::color::RGBAColor::setColor(), and te::layout::Font::setPointSize().
|
virtual |
Destructor.
Definition at line 68 of file LegendModel.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.
|
protectedvirtualinherited |
Returns a new hashcode.
Implements te::layout::Observable.
Definition at line 476 of file ItemModelObservable.cpp.
Referenced by te::layout::ItemModelObservable::ItemModelObservable().
|
protectedvirtual |
Definition at line 402 of file LegendModel.cpp.
|
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().
|
virtual |
Drawing method of the MVC component.
context | maintaining the drawing context of a MVC component |
Reimplemented from te::layout::ItemModelObservable.
Reimplemented in te::layout::LegendChildModel.
Definition at line 73 of file LegendModel.cpp.
References te::layout::Utils::configCanvas(), te::layout::ContextItem::getCanvas(), te::layout::Utils::getImageW(), te::layout::ContextItem::getUtils(), te::layout::ContextItem::isResizeCanvas(), and te::layout::ContextItem::setPixmap().
|
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().
|
privatevirtual |
Definition at line 150 of file LegendModel.cpp.
References te::layout::Utils::drawRectW(), te::map::Canvas::drawText(), te::map::Grouping::getGroupingItems(), te::gm::Envelope::getLowerLeftX(), te::map::GroupingItem::getLowerLimit(), te::map::Grouping::getPropertyName(), te::map::Grouping::getType(), te::map::GroupingItem::getUpperLimit(), te::map::GroupingItem::getValue(), te::gm::Envelope::m_ury, te::map::Canvas::setTextColor(), te::map::Canvas::setTextPointSize(), te::map::Canvas::setTextStrikeOut(), te::map::Canvas::setTextUnderline(), te::layout::Utils::textBoundingBox(), and te::map::UNIQUE_VALUE.
|
protectedvirtual |
Reimplemented in te::layout::LegendChildModel.
Definition at line 115 of file LegendModel.cpp.
References te::map::Canvas::drawText(), te::map::Grouping::isVisible(), te::map::Canvas::setTextColor(), te::map::Canvas::setTextPointSize(), te::map::Canvas::setTextStrikeOut(), te::map::Canvas::setTextUnderline(), and te::layout::Utils::textBoundingBox().
|
privatevirtual |
Definition at line 204 of file LegendModel.cpp.
References te::map::CanvasConfigurer::config(), te::common::uri::convert(), te::layout::Utils::drawRectW(), te::map::Canvas::drawText(), te::gm::Envelope::getLowerLeftX(), te::se::Rule::getName(), te::se::Symbolizer::getName(), te::se::Style::getRule(), te::se::Rule::getSymbolizers(), te::gm::Envelope::m_ury, te::map::Canvas::setTextColor(), te::map::Canvas::setTextPointSize(), te::map::Canvas::setTextStrikeOut(), te::map::Canvas::setTextUnderline(), and te::layout::Utils::textBoundingBox().
|
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().
|
virtual |
Definition at line 362 of file LegendModel.cpp.
Referenced by te::layout::LegendItem::paint().
|
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().
|
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 397 of file LegendModel.cpp.
Referenced by te::layout::ItemUtils::createLegendChildAsObject().
|
virtual |
Definition at line 392 of file LegendModel.cpp.
Referenced by te::layout::LegendItem::paint().
|
virtual |
Definition at line 372 of file LegendModel.cpp.
Referenced by te::layout::LegendItem::paint().
|
virtual |
Definition at line 382 of file LegendModel.cpp.
Referenced by te::layout::LegendItem::paint().
|
virtual |
Definition at line 422 of file LegendModel.cpp.
Referenced by te::layout::LegendItem::paint().
|
virtual |
Definition at line 545 of file LegendModel.cpp.
Referenced by te::layout::LegendItem::paint().
|
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 417 of file LegendModel.cpp.
Referenced by te::layout::LegendItem::paint().
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 260 of file ItemModelObservable.cpp.
Referenced by te::layout::GridMapModel::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 285 of file LegendModel.cpp.
References te::layout::Property::addOption(), te::layout::EnumDataType::getDataTypeColor(), te::layout::EnumDataType::getDataTypeFont(), te::layout::EnumDataType::getDataTypeString(), te::layout::EnumDataType::getDataTypeStringList(), te::layout::Enums::getEnumDataType(), te::common::Singleton< Enums >::getInstance(), te::layout::ItemModelObservable::getProperties(), te::layout::Property::setMenu(), te::layout::Property::setName(), 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 535 of file LegendModel.cpp.
Referenced by te::layout::LegendItem::paint().
|
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().
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 381 of file ItemModelObservable.cpp.
|
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().
|
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().
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 428 of file ItemModelObservable.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 357 of file LegendModel.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 387 of file LegendModel.cpp.
|
virtual |
Definition at line 367 of file LegendModel.cpp.
|
virtual |
Definition at line 377 of file LegendModel.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().
|
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 540 of file LegendModel.cpp.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 376 of file ItemModelObservable.cpp.
|
virtualinherited |
Reimplemented from Observable.
Implements te::layout::Observable.
Definition at line 386 of file ItemModelObservable.cpp.
|
privatevirtual |
Definition at line 427 of file LegendModel.cpp.
References te::layout::ContextItem::getCanvas(), te::map::Grouping::getGroupingItems(), te::gm::Envelope::getHeight(), te::gm::Envelope::getLowerLeftX(), te::gm::Envelope::getLowerLeftY(), te::map::GroupingItem::getLowerLimit(), te::map::Grouping::getPropertyName(), te::map::Grouping::getType(), te::map::GroupingItem::getUpperLimit(), te::layout::ContextItem::getUtils(), te::map::GroupingItem::getValue(), te::gm::Envelope::getWidth(), te::map::Grouping::isVisible(), te::map::Canvas::setTextColor(), te::map::Canvas::setTextPointSize(), te::map::Canvas::setTextStrikeOut(), te::map::Canvas::setTextUnderline(), te::layout::Utils::textBoundingBox(), and te::map::UNIQUE_VALUE.
|
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 315 of file LegendModel.cpp.
References te::layout::Properties::contains(), te::layout::Property::getOptionByCurrentChoice(), te::layout::Property::getValue(), te::layout::Property::isNull(), te::layout::Variant::toColor(), te::layout::Variant::toFont(), te::layout::Variant::toString(), and te::layout::ItemModelObservable::updateProperties().
Referenced by te::layout::BuildGraphicsItem::createLegend(), and te::layout::BuildGraphicsItem::createLegendChild().
|
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.
Reimplemented in te::layout::LegendChildModel.
Definition at line 343 of file LegendModel.cpp.
References te::layout::MapModel::getLayer().
|
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 128 of file LegendModel.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(), 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().
|
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.
|
protected |
Definition at line 135 of file LegendModel.h.
|
protected |
Definition at line 129 of file LegendModel.h.
|
protected |
Definition at line 131 of file LegendModel.h.
|
protected |
Definition at line 130 of file LegendModel.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 133 of file LegendModel.h.
Referenced by te::layout::LegendChildModel::LegendChildModel(), and LegendModel().
|
protected |
Definition at line 134 of file LegendModel.h.
Referenced by te::layout::LegendChildModel::LegendChildModel(), and LegendModel().
|
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 127 of file LegendModel.h.
|
protected |
Definition at line 126 of file LegendModel.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().
|
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().
|
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 132 of file LegendModel.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(), 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().
|
protectedinherited |
object to be visited
Definition at line 90 of file AbstractVisitor.h.
|
protectedinherited |
The Z value decides the stacking order of drawing.
Definition at line 323 of file ItemModelObservable.h.