28 #ifndef __TERRALIB_LAYOUT_INTERNAL_OBSERVABLE_H 
   29 #define __TERRALIB_LAYOUT_INTERNAL_OBSERVABLE_H 
   33 #include "../../../../../geometry/Envelope.h" 
   34 #include "../../../../../geometry/Coord2D.h" 
   35 #include "../../../color/RGBAColor.h" 
   65         virtual std::string 
getName() = 0;
 
   67         virtual int getId() = 0;
 
   68         virtual void setId(
int id) = 0;
 
virtual int getZValue()=0
 
virtual te::gm::Envelope getBox()=0
 
virtual bool removeObserver(Observer *o)=0
 
virtual void updateProperties(te::layout::Properties *properties)=0
 
An Envelope defines a 2D rectangular region. 
 
virtual te::layout::Properties * getProperties() const =0
 
virtual bool addObserver(Observer *o)=0
 
LayoutAbstractObjectType
Enum TdkAbstractComponentType. This is the enumeration of the components types. 
 
virtual LayoutAbstractObjectType getType()=0
 
virtual void setType(LayoutAbstractObjectType type)=0
 
virtual std::string getName()=0
 
virtual void setId(int id)=0
 
virtual void setZValue(int zValue)=0
 
virtual ~Observable(void)
 
virtual void notifyAll(ContextItem context)=0