![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <FXTreeListDinamic.h>
Public Member Functions | |
| void | clearItems () |
| clear items More... | |
| FXTreeListDinamic (FXComposite *p, FXObject *tgt, FXSelector sel, FXuint opts) | |
| FOX-declaration. More... | |
| FXWindow * | getFXWindow () |
| get FXWindows associated with this FXTreeListDinamic More... | |
| FXTreeItemDynamic * | getItem (FXint index) const |
| Get item. More... | |
| FXTreeItem * | getItemAt (FXint x, FXint y) const |
| Get item at x,y, if any. More... | |
| FXint | getNumItems () |
| get num items More... | |
| FXint | getSelectedIndex () |
| getSelected item index More... | |
| void | hide () |
| Hide FXTreeListDinamic. More... | |
| FXTreeItem * | insertItem (FXTreeItem *father, const FXString &text, FXIcon *oi) |
| Insert item with given text and icon. More... | |
| void | resetSelectedItem () |
| reset selected item More... | |
| void | show () |
| Show FXTreeListDinamic. More... | |
| void | update () |
| update More... | |
FOX calls | |
| long | onLeftBtnPress (FXObject *, FXSelector, void *) |
Protected Member Functions | |
| FXTreeListDinamic () | |
| default constructor More... | |
Protected Attributes | |
| std::vector< FXTreeItemDynamic * > | myFXTreeItemDynamicItems |
| list with current FXTreeItemDynamic elements More... | |
| FXint | mySelectedItem = -1 |
| selected item More... | |
Private Member Functions | |
| FXTreeListDinamic (const FXTreeListDinamic &)=delete | |
| Invalidated copy constructor. More... | |
| FXTreeListDinamic & | operator= (const FXTreeListDinamic &)=delete |
| Invalidated assignment operator. More... | |
Definition at line 48 of file FXTreeListDinamic.h.
| FXTreeListDinamic::FXTreeListDinamic | ( | FXComposite * | p, |
| FXObject * | tgt, | ||
| FXSelector | sel, | ||
| FXuint | opts | ||
| ) |
|
protected |
default constructor
Definition at line 194 of file FXTreeListDinamic.cpp.
|
privatedelete |
Invalidated copy constructor.
| void FXTreeListDinamic::clearItems | ( | ) |
clear items
Definition at line 121 of file FXTreeListDinamic.cpp.
References myFXTreeItemDynamicItems.
Referenced by GNEElementTree::refreshHierarchicalElementTree(), and GNEUndoListDialog::updateList().
| FXWindow * FXTreeListDinamic::getFXWindow | ( | ) |
get FXWindows associated with this FXTreeListDinamic
Definition at line 152 of file FXTreeListDinamic.cpp.
Referenced by GNEElementTree::createPopUpMenu().
| FXTreeItemDynamic * FXTreeListDinamic::getItem | ( | FXint | index | ) | const |
Get item.
Definition at line 164 of file FXTreeListDinamic.cpp.
References myFXTreeItemDynamicItems.
Referenced by GNEUndoListDialog::onCmdUpdate().
| FXTreeItem * FXTreeListDinamic::getItemAt | ( | FXint | x, |
| FXint | y | ||
| ) | const |
Get item at x,y, if any.
Definition at line 158 of file FXTreeListDinamic.cpp.
Referenced by GNEElementTree::onCmdShowChildMenu().
| FXint FXTreeListDinamic::getNumItems | ( | ) |
get num items
Definition at line 128 of file FXTreeListDinamic.cpp.
| FXint FXTreeListDinamic::getSelectedIndex | ( | ) |
getSelected item index
Definition at line 134 of file FXTreeListDinamic.cpp.
References mySelectedItem.
Referenced by GNEUndoListDialog::onCmdUpdate().
| void FXTreeListDinamic::hide | ( | ) |
Hide FXTreeListDinamic.
Definition at line 107 of file FXTreeListDinamic.cpp.
Referenced by GNEElementTree::hideHierarchicalElementTree().
| FXTreeItem * FXTreeListDinamic::insertItem | ( | FXTreeItem * | father, |
| const FXString & | text, | ||
| FXIcon * | oi | ||
| ) |
Insert item with given text and icon.
Definition at line 140 of file FXTreeListDinamic.cpp.
References myFXTreeItemDynamicItems.
Referenced by GNEElementTree::addListItem(), GNEElementTree::showAttributeCarrierParents(), and GNEUndoListDialog::updateList().
| long FXTreeListDinamic::onLeftBtnPress | ( | FXObject * | obj, |
| FXSelector | sel, | ||
| void * | ptr | ||
| ) |
Definition at line 179 of file FXTreeListDinamic.cpp.
References myFXTreeItemDynamicItems, and mySelectedItem.
|
privatedelete |
Invalidated assignment operator.
| void FXTreeListDinamic::resetSelectedItem | ( | ) |
reset selected item
Definition at line 170 of file FXTreeListDinamic.cpp.
References myFXTreeItemDynamicItems, and mySelectedItem.
Referenced by GNEUndoListDialog::onCmdClose().
| void FXTreeListDinamic::show | ( | ) |
Show FXTreeListDinamic.
Definition at line 98 of file FXTreeListDinamic.cpp.
Referenced by GNEElementTree::showHierarchicalElementTree().
| void FXTreeListDinamic::update | ( | ) |
update
Definition at line 114 of file FXTreeListDinamic.cpp.
Referenced by GNEUndoListDialog::onCmdUpdate().
|
protected |
list with current FXTreeItemDynamic elements
Definition at line 99 of file FXTreeListDinamic.h.
Referenced by clearItems(), getItem(), insertItem(), onLeftBtnPress(), and resetSelectedItem().
|
protected |
selected item
Definition at line 102 of file FXTreeListDinamic.h.
Referenced by getSelectedIndex(), onLeftBtnPress(), and resetSelectedItem().