#include <Text.h>

Public Member Functions | |
| virtual double | getXLocation () const =0 |
| virtual double | getYLocation () const =0 |
| virtual const LocationType & | getLocation () const =0 |
| virtual std::string | getText () const =0 |
| virtual ColorType | getColor () const =0 |
| virtual bool | hit (LocationType point) const =0 |
| virtual void | setLocation (const LocationType &location)=0 |
| virtual void | setLocation (double dX, double dY)=0 |
| virtual void | setText (const std::string &strText)=0 |
| virtual void | setColor (const ColorType &clrText)=0 |
Static Public Member Functions | |
| static const std::string & | signalLocationChanged () |
| static const std::string & | signalColorChanged () |
| static const std::string & | signalTextChanged () |
Protected Member Functions | |
| virtual | ~Text () |
This subclass of Subject will notify upon the following conditions:
Definition at line 28 of file Text.h.
| virtual Text::~Text | ( | ) | [protected, virtual] |
| static const std::string& Text::signalLocationChanged | ( | ) | [static] |
| static const std::string& Text::signalColorChanged | ( | ) | [static] |
| static const std::string& Text::signalTextChanged | ( | ) | [static] |
| virtual double Text::getXLocation | ( | ) | const [pure virtual] |
Returns the texts x location.
| virtual double Text::getYLocation | ( | ) | const [pure virtual] |
Returns the texts y location.
| virtual const LocationType& Text::getLocation | ( | ) | const [pure virtual] |
| virtual std::string Text::getText | ( | ) | const [pure virtual] |
Returns the text.
| virtual ColorType Text::getColor | ( | ) | const [pure virtual] |
Returns the text color.
| virtual bool Text::hit | ( | LocationType | point | ) | const [pure virtual] |
Determines if this plot object resides at this point, most likely a mouse click.
| point | The location of the mouse click |
| virtual void Text::setLocation | ( | const LocationType & | location | ) | [pure virtual] |
Sets the text location.
| location | The new location |
| virtual void Text::setLocation | ( | double | dX, | |
| double | dY | |||
| ) | [pure virtual] |
Sets the text location.
| dX | The x location | |
| dY | The y location |
| virtual void Text::setText | ( | const std::string & | strText | ) | [pure virtual] |
Sets the text.
| strText | The new text |
| virtual void Text::setColor | ( | const ColorType & | clrText | ) | [pure virtual] |
Sets the text color.
| clrText | The new color |