| public |
Inheritance Graph
graph BT
TreeView
TreeView --> Container
click TreeView "classGUI_1_1TreeView"
click Container "classGUI_1_1Container"
Description
Classes
| class | GUI::TreeView::TreeViewEntry |
Protected Attributes
Public Functions
| TreeView( GUI_Manager & gui, const Geometry::Rect & r, const std::string & actionName, flag_t flags) | |
| ~TreeView() | |
| TreeViewEntry * | getRootEntry() const |
| Util::StringIdentifier | getActionName() const |
| void | scroll(float amount) |
| void | scrollTo(float position) |
| void | scrollToSelection() |
| float | getScrollPos() const |
| void | markEntry( TreeViewEntry * e) |
| void | unmarkEntry( TreeViewEntry * e) |
| void | unmarkAll() |
| void | markComponent( Component * c) |
| void | unmarkComponent( Component * c) |
| std::vector< Component * > | getMarkedComponents() |
| void | markingChanged() |
| void | addContent(const Ref & child) |
| void | clearContents() |
| void | removeContent(const Ref & child) |
| std::vector< Component * > | getContents() |
| void | doLayout() |
Documentation
variable
GUI::TreeView::markedEntries
| protected |
| std::vector< Util::Reference < TreeViewEntry > > markedEntries |
Defined in GUI/Components/TreeView.h:122
variable
GUI::TreeView::actionName
| protected |
| Util::StringIdentifier actionName |
Defined in GUI/Components/TreeView.h:123
variable
GUI::TreeView::root
| protected |
| Util::WeakPointer < TreeViewEntry > root |
Defined in GUI/Components/TreeView.h:124
variable
GUI::TreeView::scrollPos
| protected |
| float scrollPos |
Defined in GUI/Components/TreeView.h:125
variable
GUI::TreeView::multiSelect
| protected |
| bool multiSelect |
Defined in GUI/Components/TreeView.h:126
variable
GUI::TreeView::scrollBar
| protected |
| Util::WeakPointer < Scrollbar > scrollBar |
Defined in GUI/Components/TreeView.h:127
variable
GUI::TreeView::optionalScrollBarListener
| protected |
| std::unique_ptr< DataChangeListenerHandle > optionalScrollBarListener |
Defined in GUI/Components/TreeView.h:128
variable
GUI::TreeView::keyListener
| protected |
| KeyListener keyListener |
Defined in GUI/Components/TreeView.h:130
variable
GUI::TreeView::mouseButtonListener
| protected |
| MouseButtonListener mouseButtonListener |
Defined in GUI/Components/TreeView.h:131
variable
GUI::TreeView::optionalMouseMotionListener
| protected |
| OptionalMouseMotionListener optionalMouseMotionListener |
Defined in GUI/Components/TreeView.h:132
function
GUI::TreeView::TreeView
| public |
| TreeView( | GUI_Manager & | gui, |
| const Geometry::Rect & | r, | |
| const std::string & | actionName, | |
| flag_t | flags | |
| ) |
Defined in GUI/Components/TreeView.h:82
function
GUI::TreeView::~TreeView
| public | virtual |
| ~TreeView( | ) |
Defined in GUI/Components/TreeView.h:83
function
GUI::TreeView::getRootEntry
| public | const | inline |
| TreeViewEntry * getRootEntry( | ) const |
Defined in GUI/Components/TreeView.h:85
function
GUI::TreeView::getActionName
| public | const | inline |
| Util::StringIdentifier getActionName( | ) const |
Defined in GUI/Components/TreeView.h:86
function
GUI::TreeView::scroll
| public |
| void scroll( | float | amount ) |
Defined in GUI/Components/TreeView.h:88
function
GUI::TreeView::scrollTo
| public |
| void scrollTo( | float | position ) |
Defined in GUI/Components/TreeView.h:89
function
GUI::TreeView::scrollToSelection
| public |
| void scrollToSelection( | ) |
Defined in GUI/Components/TreeView.h:90
function
GUI::TreeView::getScrollPos
| public | const | inline |
| float getScrollPos( | ) const |
Defined in GUI/Components/TreeView.h:91
function
GUI::TreeView::markEntry
| public |
| void markEntry( | TreeViewEntry * | e ) |
Defined in GUI/Components/TreeView.h:93
function
GUI::TreeView::unmarkEntry
| public |
| void unmarkEntry( | TreeViewEntry * | e ) |
Defined in GUI/Components/TreeView.h:94
function
GUI::TreeView::unmarkAll
| public |
| void unmarkAll( | ) |
Defined in GUI/Components/TreeView.h:95
function
GUI::TreeView::markComponent
| public |
| void markComponent( | Component * | c ) |
Defined in GUI/Components/TreeView.h:97
function
GUI::TreeView::unmarkComponent
| public |
| void unmarkComponent( | Component * | c ) |
Defined in GUI/Components/TreeView.h:98
function
GUI::TreeView::getMarkedComponents
| public |
| std::vector< Component * > getMarkedComponents( | ) |
Defined in GUI/Components/TreeView.h:99
function
GUI::TreeView::markingChanged
| public |
| void markingChanged( | ) |
Defined in GUI/Components/TreeView.h:100
function
GUI::TreeView::addContent
| public | virtual |
| void addContent( | const Ref & | child ) |
Defined in GUI/Components/TreeView.h:103
function
GUI::TreeView::clearContents
| public | virtual |
| void clearContents( | ) |
Defined in GUI/Components/TreeView.h:104
function
GUI::TreeView::removeContent
| public | virtual |
| void removeContent( | const Ref & | child ) |
Defined in GUI/Components/TreeView.h:105
function
GUI::TreeView::getContents
| public | virtual |
| std::vector< Component * > getContents( | ) |
Defined in GUI/Components/TreeView.h:106
function
GUI::TreeView::doLayout
| public | virtual |
| void doLayout( | ) |
Defined in GUI/Components/TreeView.h:109