|
| | TopLevelItem (KeyMappingEditorComponent &kec) |
| | ~TopLevelItem () override |
| bool | mightContainSubItems () override |
| String | getUniqueName () const override |
| void | changeListenerCallback (ChangeBroadcaster *) override |
| | TreeViewItem () |
| virtual | ~TreeViewItem () |
| int | getNumSubItems () const noexcept |
| TreeViewItem * | getSubItem (int index) const noexcept |
| void | clearSubItems () |
| void | addSubItem (TreeViewItem *newItem, int insertPosition=-1) |
| template<class ElementComparator> |
| void | addSubItemSorted (ElementComparator &comparator, TreeViewItem *newItem) |
| void | removeSubItem (int index, bool deleteItem=true) |
| template<class ElementComparator> |
| void | sortSubItems (ElementComparator &comparator) |
| TreeView * | getOwnerView () const noexcept |
| TreeViewItem * | getParentItem () const noexcept |
| bool | isOpen () const noexcept |
| void | setOpen (bool shouldBeOpen) |
| Openness | getOpenness () const noexcept |
| void | setOpenness (Openness newOpenness) |
| bool | isSelected () const noexcept |
| void | setSelected (bool shouldBeSelected, bool deselectOtherItemsFirst, NotificationType shouldNotify=sendNotification) |
| Rectangle< int > | getItemPosition (bool relativeToTreeViewTopLeft) const noexcept |
| void | treeHasChanged () const noexcept |
| void | repaintItem () const |
| int | getRowNumberInTree () const noexcept |
| bool | areAllParentsOpen () const noexcept |
| void | setLinesDrawnForSubItems (bool shouldDrawLines) noexcept |
| virtual void | itemOpennessChanged (bool isNowOpen) |
| virtual int | getItemWidth () const |
| virtual int | getItemHeight () const |
| virtual bool | canBeSelected () const |
| virtual std::unique_ptr< Component > | createItemComponent () |
| virtual void | paintItem (Graphics &g, int width, int height) |
| virtual void | paintOpenCloseButton (Graphics &, const Rectangle< float > &area, Colour backgroundColour, bool isMouseOver) |
| virtual void | paintHorizontalConnectingLine (Graphics &, const Line< float > &line) |
| virtual void | paintVerticalConnectingLine (Graphics &, const Line< float > &line) |
| virtual bool | customComponentUsesTreeViewMouseHandler () const |
| virtual void | itemClicked (const MouseEvent &) |
| virtual void | itemDoubleClicked (const MouseEvent &) |
| virtual void | itemSelectionChanged (bool isNowSelected) |
| virtual void | ownerViewChanged (TreeView *newOwner) |
| virtual String | getTooltip () |
| virtual String | getAccessibilityName () |
| virtual var | getDragSourceDescription () |
| virtual bool | isInterestedInFileDrag (const StringArray &files) |
| virtual void | filesDropped (const StringArray &files, int insertIndex) |
| virtual bool | isInterestedInDragSource (const DragAndDropTarget::SourceDetails &dragSourceDetails) |
| virtual void | itemDropped (const DragAndDropTarget::SourceDetails &dragSourceDetails, int insertIndex) |
| void | setDrawsInLeftMargin (bool canDrawInLeftMargin) noexcept |
| void | setDrawsInRightMargin (bool canDrawInRightMargin) noexcept |
| std::unique_ptr< XmlElement > | getOpennessState () const |
| void | restoreOpennessState (const XmlElement &xml) |
| int | getIndexInParent () const noexcept |
| bool | isLastOfSiblings () const noexcept |
| String | getItemIdentifierString () const |
| String juce::KeyMappingEditorComponent::TopLevelItem::getUniqueName |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns a string to uniquely identify this item.
If you're planning on using the TreeView::getOpennessState() method, then these strings will be used to identify which nodes are open. The string should be unique amongst the item's sibling items, but it's ok for there to be duplicates at other levels of the tree.
If you're not going to store the state, then it's ok not to bother implementing this method.
Reimplemented from juce::TreeViewItem.