#include <TdkTreeLegendItem.h>
Inheritance diagram for TdkTreeLegendItem:

Constructor and Destructor Methods | |
| Methods related to instantiation and destruction. | |
| TdkTreeLegendItem (const int &typeNode) | |
| Constructor. | |
| static TdkTreeLegendItem * | DefaultObject () |
| Method used by Abstract Factory. Returns a default object. | |
Public Types | |
This enum specifies the possible item types. | |
| enum | itemTypes { THEME, LAYER, VIEW, DATABASE } |
Public Member Functions | |
Behavioral Methods | |
Methods related tree legend item behavior. | |
| virtual int | getItemId ()=0 |
| Retrieves the terralib object id of the node. | |
| int | getItemType () |
| Retrieves the node type: THEME, LAYER, VIEW, DATABASE. | |
| virtual void | setOpen (const bool &open)=0 |
| Updates the open state of node. | |
| virtual bool | isOpen ()=0 |
| Retrieves open state of node. | |
| virtual string | getText ()=0 |
| Retrieves node's visible text. | |
Private Attributes | |
| int | _itemType |
| Node type: THEME, LAYER, VIEW, DATABASE. | |
| TdkTreeLegendItem::TdkTreeLegendItem | ( | const int & | typeNode | ) | [inline] |
Constructor.
| typeNode | Node type: THEME, LAYER, VIEW, DATABASE. |
| static TdkTreeLegendItem* TdkTreeLegendItem::DefaultObject | ( | ) | [inline, static] |
Method used by Abstract Factory. Returns a default object.
| virtual int TdkTreeLegendItem::getItemId | ( | ) | [pure virtual] |
Retrieves the terralib object id of the node.
| int TdkTreeLegendItem::getItemType | ( | ) | [inline] |
Retrieves the node type: THEME, LAYER, VIEW, DATABASE.
| virtual void TdkTreeLegendItem::setOpen | ( | const bool & | open | ) | [pure virtual] |
Updates the open state of node.
| open | New open state of the node. True - node openend, False - node closed. |
| virtual bool TdkTreeLegendItem::isOpen | ( | ) | [pure virtual] |
Retrieves open state of node.
| virtual string TdkTreeLegendItem::getText | ( | ) | [pure virtual] |
Retrieves node's visible text.
int TdkTreeLegendItem::_itemType [private] |
Node type: THEME, LAYER, VIEW, DATABASE.
1.5.2