#include <Arrow.h>

Public Member Functions | |
| virtual ArrowStyle | getArrowStyle () const =0 |
| virtual LocationType | getBaseLocation () const =0 |
| virtual LocationType | getTipLocation () const =0 |
| virtual ColorType | getColor () const =0 |
| virtual bool | hit (LocationType point) const =0 |
| virtual void | setArrowStyle (const ArrowStyle &eStyle)=0 |
| virtual void | setLocation (const LocationType &baseLocation, const LocationType &tipLocation)=0 |
| virtual void | setBaseLocation (const LocationType &baseLocation)=0 |
| virtual void | setTipLocation (const LocationType &tipLocation)=0 |
| virtual void | setColor (const ColorType &newColor)=0 |
Protected Member Functions | |
| virtual | ~Arrow () |
This subclass of Subject will notify upon the following conditions:
Definition at line 30 of file Arrow.h.
| virtual Arrow::~Arrow | ( | ) | [protected, virtual] |
| virtual ArrowStyle Arrow::getArrowStyle | ( | ) | const [pure virtual] |
Returns the arrow style.
| virtual LocationType Arrow::getBaseLocation | ( | ) | const [pure virtual] |
Returns the location of the beginning of the arrow.
| virtual LocationType Arrow::getTipLocation | ( | ) | const [pure virtual] |
Returns the location of the end of the arrow.
| virtual ColorType Arrow::getColor | ( | ) | const [pure virtual] |
Returns the color of the arrow.
| virtual bool Arrow::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 Arrow::setArrowStyle | ( | const ArrowStyle & | eStyle | ) | [pure virtual] |
Sets the objects arrow style.
| eStyle | The arrow style |
| virtual void Arrow::setLocation | ( | const LocationType & | baseLocation, | |
| const LocationType & | tipLocation | |||
| ) | [pure virtual] |
Sets the location of the arrow, both beginning and ending.
| baseLocation | The beginning point | |
| tipLocation | The ending point |
| virtual void Arrow::setBaseLocation | ( | const LocationType & | baseLocation | ) | [pure virtual] |
Sets the beginning location of the arrow.
| baseLocation |
| virtual void Arrow::setTipLocation | ( | const LocationType & | tipLocation | ) | [pure virtual] |
Sets the ending location of the arrow.
| tipLocation |
| virtual void Arrow::setColor | ( | const ColorType & | newColor | ) | [pure virtual] |
Sets the color of the arrow.
| newColor |